BASIC / SIMPLE-BOX
Simple Box
One parameterized native Forge box
Model preview
Minimal model proving that one independent model root can be authored with Forge and built without repository-specific Python orchestration.
Key dimensions: 40 × 30 × 10 mm
SolidCraft model
Open in SolidCraft Web
The editable .sc model is loaded directly from the accepted build branch.
Source
SCPF source
The exact SCPF Python source declared by this build variant.
scpf/model.py
"""Smallest template Forge model: one parameterized native Box."""
class SimpleBox:
length = 40.0
width = 30.0
height = 10.0
def build(self):
return Box(self.length, self.width, self.height, anchor=Anchor.BOTTOM)
SimpleBox()
Generated output SolidCraft command sequence 4 generated operations · expand to inspect
parameters.add{ "expression": "40", "name": "length", "unit": "mm" }parameters.add{ "expression": "30", "name": "width", "unit": "mm" }parameters.add{ "expression": "10", "name": "height", "unit": "mm" }solid.box{ "body_name": "SimpleBox", "corner": [ "-length / 2", "-width / 2", 0 ], "height": "height", "length": "length", "width": "width" }
Durable build evidence
Build information
- Build scope
main- Build variant
simple-box- Physical owner
simple-box- Built source
1f2fdb32d67d9af42779500c949f2900ee59c7ae- Forge
v0.23.0 ·- SolidCraft
0.49.0- Runtime
ghcr.io/brainboxemb/cad-solidcraft:v0.3.6
