Development version.
Forge is under active development and testing. APIs, behaviour, coverage and
verification results may be incomplete or change without notice; published
PASS results are not a support guarantee or production-readiness claim.
Python API/compiler for SolidCraft
SolidCraft Forge
Write editable CAD intent in Python with SCPF. Forge lowers that intent into SolidCraft commands and native SolidCraft geometry, so SolidCraft remains the CAD engine and editable model owner.
From Python intent to native SolidCraft
Forge is the authoring/compiler layer; it is not a separate CAD engine.
1
SCPF model
Python expresses parameters, shapes, features, assemblies and native references.
2
Forge compiler
Forge validates the model intent and lowers it to explicit SolidCraft commands.
3
SolidCraft
SolidCraft creates the native editable geometry, history and saved design.
Choose where to start
Learn the authoring surface, inspect working models, or review the evidence behind supported behavior.
Learn
Guide
Concepts and workflows for writing SCPF models.
Look up
API Reference
The public SCPF surface, statically checked against the package source.
See it work
Examples
Selected physical model owners with source and published geometry.
Inspect evidence
Verification
Native, geometry and reference evidence for declared Forge behavior.
Featured examples
Practical SCPF patterns backed by published model and verification evidence.
scpf
Configuration Table
One editable native design with three parameter and suppression rows
Small, Medium and Large
Verified
scpf
Face-relative hole with native pattern
One attached source cut repeated by native rectangular history
100 × 60 × 10 mm plate; two Ø8 through holes at 40 mm spacing
Verified
scpf
Parameterized Box
Three editable dimensions driving one native box
40 × 30 × 10 mm; editable length, width and height
Verified
scpf
Reuse one component definition in two placements
Two touching occurrences share one reusable Block definition
Block 40 × 30 × 10 mm; second occurrence translated 40 mm in X
Verified
scpf
Configuration Position
One saved native table moves a front-plate occurrence through Front, Below and Service states
Front y=8 z=0; Below y=0 z=-55; Service y=25 z=0
Verified
scpf
Topology-backed corner anchor
A standard corner reference follows parent width and height
Base 40 × 30 × 20 mm; Marker 10 mm cube
Verified
scpf
Size rows + Installed rule
Small/Medium/Large remains one row axis while Installed is an independent native checkbox
Small/Medium/Large span 60/80/100 mm; Free fit 20.4 mm; Installed fit 20.0 mm
Verified
scpf
Parent Configuration → Child Feature
A root table suppresses one explicitly exported feature inside a reusable child definition
Small width=30 suppressed; Medium width=40 suppressed; Large width=40 present
Verified
scpf
Configuration Symbolic Math
Native configuration rows drive min, sqrt, round, floor, max and abs expressions
Small size=60; Medium size=70; Large size=100
Verified
scpf
Shifted-axis Revolve
One stepped offset revolve cut remains one native suppressible feature
axis x=8 mm; axis z=3 mm; relief Ø4.5 mm; core Ø3.7 mm
Verified
scpf
Sample Plate Drawing
Consumer-grade native A4 engineering drawing with line views, shaded iso, dimensions and title data
80 × 50 × 8 mm plate; R6 corners; Ø8 repeated holes; Ø24 × 14 boss; Ø12 bore
Verified