BASIC / WALL-HOOK
Wall Hook
Compact wall hook with a reinforced diagonal web
Model preview
Parametric reconstruction of the supplied tutorial wall hook with a native A4 landscape technical drawing. The confirmed source dimensions define the 57 mm high XZ hook profile, 15 mm symmetric Y extrusion, 6 mm walls, 20 mm hook opening, triangular gusset window and two Ø4.2 mm mounting holes through the rear 6 mm mounting wall. A separate Ø8 mm coaxial tool-access bore clears only the diagonal reinforcement in front of the lower screw so the mounting wall remains intact. Forge v0.19 applies the native 1.5 mm FRONT/BACK boundary chamfer while each screw hole keeps a 1.0 mm tool-side entry chamfer and only a 0.3 mm wall-side elephant-foot relief. The finished body receives a display-only #FFD21A yellow appearance matching the tutorial result; physical material/BOM semantics remain unchanged. The outer silhouette and triangular relief are authored as sharp polygons first, then rounded with native R2 fillet operations. Only those visible fillet radii remain explicitly inferred from the rendered reference.
Key dimensions: 57 mm high; 15 mm wide; 6 mm ribs; 20 mm hook opening; 2 × Ø4.2 mm holes; Ø8 mm lower-screw tool access; 1 mm front hole chamfers; 0.3 mm rear hole reliefs; 1.5 mm FRONT/BACK edge chamfer
Technical drawing
Drawing sheet
Native SolidCraft drawing evidence from the accepted build scope. The page loads only the static sheet preview; the vector PDF opens only when you ask for it.
Wall Hook Drawing

SolidCraft model
Open in SolidCraft Web
The editable .sc model is loaded directly from the accepted build branch.
Model context
Background
Lower mounting screw access
The lower Ø4.2 mm mounting hole passes only through the 6 mm rear mounting spine. A separate Ø8 mm opening through the diagonal reinforcement gives a straight screwdriver/bit path to the lower screw while keeping the mounting wall intact.
Technical drawing
The Wall Hook publishes a native SolidCraft A4 landscape engineering sheet. The orthographic manufacturing views use a true 1:1 scale; a larger 2:1 shaded isometric view provides the pictorial overview. The compact drawing note sits outside the native title block and records the mounting-hole locations, hole/tool-access sizes and chamfer/relief values.
The durable build publishes a static PNG sheet preview, the vector PDF and the native drawing inspection JSON. The standard SolidCraft title-block geometry is kept native; a more compact reusable native title-block style is tracked upstream rather than emulated with model-specific page graphics.
Design reference
Source and functional detail
The original tutorial is shown together with the lower-screw access detail.
Source
SCPF source
The exact SCPF Python source declared by this build variant.
"""Wall hook reconstructed from the supplied tutorial sketch.
Confirmed source dimensions are public model parameters. The side profile is
authored as sharp polygons in world XZ, extruded symmetrically in Y, then
rounded with native SolidCraft fillet operations.
"""
from math import sqrt
@component
class WallHook:
overall_height = 57.0
thickness = 15.0
rib = 6.0
opening_width = 20.0
opening_depth = 25.0
short_tip_rise = 10.0
short_outer_height = 16.0
hole_diameter = 4.2
upper_hole_from_top = 10.0
lower_hole_from_bottom = 17.0
front_hole_chamfer = 1.0
rear_hole_relief = 0.3
tool_access_diameter = 8.0
face_chamfer = 1.5
# Inferred from the rendered tutorial result; keep easy to revise.
profile_fillet = 2.0
window_fillet = 2.0
def build(self):
crossbar_z = self.overall_height - self.opening_depth
right_inner_x = self.rib + self.opening_width
right_outer_x = right_inner_x + self.rib
right_top_z = crossbar_z + self.short_tip_rise
right_outer_bottom_z = right_top_z - self.short_outer_height
# The outside reinforcement edge is exactly 45 degrees:
# (6, 0) -> (32, 26). Offset its inner edge by a true 6 mm normal web.
diagonal_offset = self.rib * sqrt(2.0)
window_top_z = crossbar_z - self.rib
window_left_bottom_z = diagonal_offset
window_right_top_x = window_top_z - (diagonal_offset - self.rib)
# Start with the simple sharp-cornered side silhouette. The vertex ids
# become native sweep-edge selectors after the symmetric Y extrusion.
with Sketch(name="Sharp hook side profile", plane="XZ") as outline:
Polygon2D(
[
("back_lower", (0.0, 0.0)),
("diagonal_lower", (self.rib, 0.0)),
("diagonal_upper", (right_outer_x, right_outer_bottom_z)),
("outer_tip_upper", (right_outer_x, right_top_z)),
("inner_tip_upper", (right_inner_x, right_top_z)),
("inner_tip_lower", (right_inner_x, crossbar_z)),
("inner_back_corner", (self.rib, crossbar_z)),
("back_upper_inner", (self.rib, self.overall_height)),
("back_upper_outer", (0.0, self.overall_height)),
],
plane="XZ",
world=True,
)
body = outline.extrude(self.thickness, sym=True)
body = body.fillet(
self.profile_fillet,
edges=Edges.from_vertices(
"back_lower",
"diagonal_lower",
"diagonal_upper",
"outer_tip_upper",
"inner_tip_upper",
"inner_tip_lower",
"inner_back_corner",
"back_upper_inner",
"back_upper_outer",
),
)
# Build the reinforcement opening as a plain triangle first. Subtract
# the sharp cutter, then fillet the three resulting inner sweep edges
# on the hook body itself.
with Sketch(name="Sharp triangular gusset window", plane="XZ") as window:
Polygon2D(
[
("window_lower", (self.rib, window_left_bottom_z)),
("window_front", (window_right_top_x, window_top_z)),
("window_upper", (self.rib, window_top_z)),
],
plane="XZ",
world=True,
)
body = body - window.extrude(self.thickness, sym=True)
body = body.fillet(
self.window_fillet,
edges=[
(self.rib, 0.0, window_left_bottom_z),
(window_right_top_x, 0.0, window_top_z),
(self.rib, 0.0, window_top_z),
],
)
# Keep the lower Ø4.2 mounting hole confined to the 6 mm rear spine,
# but clear the diagonal reinforcement in front of it so a screwdriver
# or bit can reach the screw head along the same world-X axis.
body = body - Cylinder(
d=self.tool_access_diameter,
h=right_outer_x - self.rib,
axis=Axis.X,
anchor=Anchor.LEFT,
).at(
self.rib,
0.0,
self.lower_hole_from_bottom,
anchor=Anchor.LEFT,
)
# Chamfer the complete native boundary of both broad XZ end faces before
# the mounting holes so their own countersink/chamfer remains independent.
body = body.chamfer(
self.face_chamfer,
edges=Edges.from_faces(Faces.FRONT, Faces.BACK),
)
front_countersink_d = (
self.hole_diameter + 2.0 * self.front_hole_chamfer
)
rear_relief_d = self.hole_diameter + 2.0 * self.rear_hole_relief
hole_zs = (
self.overall_height - self.upper_hole_from_top,
self.lower_hole_from_bottom,
)
# Rear mounting spine is 6 mm thick along X. The 15 mm extrusion is
# centred on Y=0, so both screw-hole axes sit at Y=0 and run along X.
# The tool/front face at X=6 keeps the normal screw-entry countersink.
# The wall-contact face at X=0 only gets a tiny elephant-foot relief.
for z in hole_zs:
body = body + CountersinkHole(
d=self.hole_diameter,
countersink_d=front_countersink_d,
countersink_angle=90,
depth=self.rib,
direction=(-1, 0, 0),
).at(self.rib, 0.0, z)
body = body + CountersinkHole(
d=self.hole_diameter,
countersink_d=rear_relief_d,
countersink_angle=90,
depth=self.rib,
direction=(1, 0, 0),
).at(0.0, 0.0, z)
return body.with_appearance("#FFD21A")
def wall_hook_drawing():
"""A4 landscape manufacturing/mounting sheet for the finished Wall Hook."""
hook = WallHook()
return hook.with_drawing(
name="Wall Hook Drawing",
scale="1:1",
gap_mm=16,
views={
"front": DrawingView(at=(52, 138)),
"top": DrawingView(at=(52, 76)),
"right": DrawingView(at=(108, 138)),
"iso": DrawingView(
at=(220, 142),
scale="1:1",
visual_style="shaded",
),
},
properties={
"part_number": "wall-hook",
"description": "Wall Hook technical drawing",
},
title_block={
"title": "Wall Hook",
"identification_number": "wall-hook",
},
revision=DrawingRevision(
revision="A",
description="Initial technical drawing",
designer="brainboxemb",
checker="CI",
date="2026-11-26",
hidden=True,
),
notes=(
DrawingNote(
"NOTES\n"
"1. ALL DIMENSIONS IN MM.\n"
"2. HOLE CENTRES: 10 FROM TOP; 17 FROM BOTTOM.\n"
"3. 2× Ø4.2 THRU; LOWER TOOL ACCESS Ø8.\n"
"4. CHAMFERS: BODY 1.5; ENTRY 1.0; WALL RELIEF 0.3.",
at=(14, 50),
cap_mm=1.6,
),
),
dimensions=(
DrawingDimension.faces(
"front",
(3, 0, 0),
(3, 0, 57),
direction="vertical",
offset_mm=12,
decimals=0,
),
DrawingDimension.faces(
"top",
(3, -7.5, 47),
(3, 7.5, 47),
direction="vertical",
offset_mm=10,
decimals=0,
),
DrawingDimension.faces(
"front",
(0, 0, 40),
(6, 0, 40),
direction="horizontal",
offset_mm=8,
decimals=0,
),
DrawingDimension.faces(
"front",
(6, 0, 37),
(26, 0, 37),
direction="horizontal",
offset_mm=8,
decimals=0,
),
DrawingDimension.faces(
"front",
(16, 0, 32),
(3, 0, 57),
direction="vertical",
offset_mm=8,
decimals=0,
),
),
)
wall_hook_drawing()
Generated output SolidCraft command sequence 44 generated operations · expand to inspect
component.create{ "grounded": true, "name": "WallHook" }sketch.create{ "name": "d1_WallHook__Sharp hook side profile", "plane": "XZ" }sketch.line{ "closed": true, "ids": [ "back_lower", "diagonal_lower", "diagonal_upper", "outer_tip_upper", "inner_tip_upper", "inner_tip_lower", "inner_back_corner", "back_upper_inner", "back_upper_outer" ], "points": [ [ 0, -0 ], [ 6, -0 ], [ 32, -26 ], [ 32, -42 ], [ 26, -42 ], [ 26, -32 ], [ 6, -32 ], [ 6, -57 ], [ 0, -57 ] ] }sketch.finishsolid.extrude{ "body_name": "WallHook", "direction": "symmetric", "distance": 15 }solid.fillet{ "body": "WallHook", "edges": [ [ 0, 0, 0 ], [ 6, 0, 0 ], [ 32, 0, 26 ], [ 32, 0, 42 ], [ 26, 0, 42 ], [ 26, 0, 32 ], [ 6, 0, 32 ], [ 6, 0, 57 ], [ 0, 0, 57 ] ], "radius": 2 }sketch.create{ "name": "d1_WallHook__Sharp triangular gusset window", "plane": "XZ" }sketch.line{ "closed": true, "ids": [ "window_lower", "window_front", "window_upper" ], "points": [ [ 6, -8.485281374238571 ], [ 23.51471862576143, -26 ], [ 6, -26 ] ] }sketch.finishsolid.extrude{ "direction": "symmetric", "distance": 15, "operation": "cut", "targets": [ "WallHook" ] }solid.fillet{ "body": "WallHook", "edges": [ [ 6, 0, 8.485281374238571 ], [ 23.51471862576143, 0, 26 ], [ 6, 0, 26 ] ], "radius": 2 }solid.cylinder{ "axis": "X", "base": [ 6, 0, 17 ], "diameter": 8, "height": 26, "operation": "cut", "targets": [ "WallHook" ] }model.faces{ "body": "WallHook" }model.edges{ "body": "WallHook" }model.faces{ "body": "WallHook" }model.edges{ "body": "WallHook" }solid.chamfer{ "body": "WallHook", "distance": 1.5, "edges": "$d1_WallHook_topology_edges_2" }solid.hole{ "cs_angle": 90, "cs_diameter": 6.2, "depth": 6, "diameter": 4.2, "direction": [ -1, 0, 0 ], "position": [ 6, 0, 47 ], "targets": [ "WallHook" ], "type": "countersink" }solid.hole{ "cs_angle": 90, "cs_diameter": 4.8, "depth": 6, "diameter": 4.2, "direction": [ 1, 0, 0 ], "position": [ 0, 0, 47 ], "targets": [ "WallHook" ], "type": "countersink" }solid.hole{ "cs_angle": 90, "cs_diameter": 6.2, "depth": 6, "diameter": 4.2, "direction": [ -1, 0, 0 ], "position": [ 6, 0, 17 ], "targets": [ "WallHook" ], "type": "countersink" }solid.hole{ "cs_angle": 90, "cs_diameter": 4.8, "depth": 6, "diameter": 4.2, "direction": [ 1, 0, 0 ], "position": [ 0, 0, 17 ], "targets": [ "WallHook" ], "type": "countersink" }appearance.assign{ "bodies": [ "WallHook" ], "color": "#FFD21A" }component.activate{ "component": "root" }drawing.create{ "first_sheet_name": "Sheet 1", "name": "Wall Hook Drawing", "template": "iso-a4-part" }drawing.sheet.set{ "documents": { "component": "$component_1", "source": "$drawing_1_source" }, "orientation": "landscape", "sheet": "$drawing_1_sheet", "title_block_overrides": { "identification_number": "wall-hook", "title": "Wall Hook" } }drawing.inspectdrawing.properties.set{ "values": { "description": "Wall Hook technical drawing", "part_number": "wall-hook" } }drawing.revision.add{ "set": { "checker": "CI", "date": "2026-11-26", "description": "Initial technical drawing", "designer": "brainboxemb", "hidden": true, "revision": "A" } }drawing.view.standard{ "gap_mm": 16, "iso": true, "scale": "1:1", "sheet": "$drawing_1_sheet" }drawing.view.edit{ "set": { "source": { "occurrences": [ [ "$wallhook" ] ] } }, "view": "$drawing_1_front" }drawing.view.edit{ "set": { "source": { "occurrences": [ [ "$wallhook" ] ] } }, "view": "$drawing_1_iso" }drawing.view.edit{ "set": { "place": { "at": [ 52, 138 ] } }, "view": "$drawing_1_front" }drawing.view.edit{ "set": { "place": { "at": [ 52, 76 ] } }, "view": "$drawing_1_top" }drawing.view.edit{ "set": { "place": { "at": [ 108, 138 ] } }, "view": "$drawing_1_right" }drawing.view.edit{ "set": { "place": { "at": [ 220, 142 ] }, "scale": "1:1", "visual_style": "shaded" }, "view": "$drawing_1_iso" }drawing.dimension.add{ "decimals": 0, "kind": { "faces": { "a": { "path": [ "$wallhook" ], "point": [ 3, 0, 0 ] }, "b": { "path": [ "$wallhook" ], "point": [ 3, 0, 57 ] }, "direction": "vertical" } }, "offset_mm": 12, "view": "$drawing_1_front" }drawing.dimension.add{ "decimals": 0, "kind": { "faces": { "a": { "path": [ "$wallhook" ], "point": [ 3, -7.5, 47 ] }, "b": { "path": [ "$wallhook" ], "point": [ 3, 7.5, 47 ] }, "direction": "vertical" } }, "offset_mm": 10, "view": "$drawing_1_top" }drawing.dimension.add{ "decimals": 0, "kind": { "faces": { "a": { "path": [ "$wallhook" ], "point": [ 0, 0, 40 ] }, "b": { "path": [ "$wallhook" ], "point": [ 6, 0, 40 ] }, "direction": "horizontal" } }, "offset_mm": 8, "view": "$drawing_1_front" }drawing.dimension.add{ "decimals": 0, "kind": { "faces": { "a": { "path": [ "$wallhook" ], "point": [ 6, 0, 37 ] }, "b": { "path": [ "$wallhook" ], "point": [ 26, 0, 37 ] }, "direction": "horizontal" } }, "offset_mm": 8, "view": "$drawing_1_front" }drawing.dimension.add{ "decimals": 0, "kind": { "faces": { "a": { "path": [ "$wallhook" ], "point": [ 16, 0, 32 ] }, "b": { "path": [ "$wallhook" ], "point": [ 3, 0, 57 ] }, "direction": "vertical" } }, "offset_mm": 8, "view": "$drawing_1_front" }drawing.note.add{ "align": "left", "anchor": { "sheet": "$drawing_1_sheet" }, "at": [ 14, 50 ], "cap_mm": 1.6, "content": "NOTES\n1. ALL DIMENSIONS IN MM.\n2. HOLE CENTRES: 10 FROM TOP; 17 FROM BOTTOM.\n3. 2× Ø4.2 THRU; LOWER TOOL ACCESS Ø8.\n4. CHAMFERS: BODY 1.5; ENTRY 1.0; WALL RELIEF 0.3." }drawing.view.inspect{ "view": "$drawing_1_iso" }drawing.inspectdrawing.close
Durable build evidence
Build information
- Build scope
main- Build variant
wall-hook- Physical owner
wall-hook- Built source
1f2fdb32d67d9af42779500c949f2900ee59c7ae- Forge
v0.23.0 ·- SolidCraft
0.49.0- Runtime
ghcr.io/brainboxemb/cad-solidcraft:v0.3.6



