BASIC / BRACKET
Bracket
An L-shaped extrusion with two mounting holes
Model preview
An XZ polygon extruded along Y with an edge fillet and two native SolidCraft Hole features.
Key dimensions: 60 mm wide; 6 mm wall; two Ø8 mm holes
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
class Bracket:
width = 60
thickness = 6
def build(self):
with Sketch(name="Profile", plane="XZ") as sketch:
Polygon2D(
[(0, 0), (40, 0), (40, self.thickness),
(self.thickness, self.thickness),
(self.thickness, 30), (0, 30)],
plane="XZ",
)
body = sketch.extrude(-self.width)
body = body.fillet(2, edges=[(40, -half(self.width), -self.thickness)])
for y in (-15, -45):
body = body + Hole(d=8, depth=self.thickness).at(25, y, 0)
return body
Generated output SolidCraft command sequence 9 generated operations · expand to inspect
parameters.add{ "expression": "60", "name": "width", "unit": "mm" }parameters.add{ "expression": "6", "name": "thickness", "unit": "mm" }sketch.create{ "name": "Profile", "plane": "XZ" }sketch.line{ "closed": true, "ids": [ "a", "b", "c", "d", "e", "f" ], "points": [ [ 0, 0 ], [ 40, 0 ], [ 40, "thickness" ], [ "thickness", "thickness" ], [ "thickness", 30 ], [ 0, 30 ] ] }sketch.finishsolid.extrude{ "body_name": "Bracket", "direction": "negative", "distance": "width" }solid.fillet{ "body": "Bracket", "edges": [ [ 40, -30, -6 ] ], "radius": 2 }solid.hole{ "depth": "thickness", "diameter": 8, "position": [ 25, -15, 0 ], "targets": [ "Bracket" ] }solid.hole{ "depth": "thickness", "diameter": 8, "position": [ 25, -45, 0 ], "targets": [ "Bracket" ] }
Durable build evidence
Build information
- Build scope
main- Build variant
bracket- Physical owner
bracket- Built source
1f2fdb32d67d9af42779500c949f2900ee59c7ae- Forge
v0.23.0 ·- SolidCraft
0.49.0- Runtime
ghcr.io/brainboxemb/cad-solidcraft:v0.3.6
