SolidCraft Holes and Fillets by Hand vs Claude: Centered Screw Holes

October 31, 2026 · SolidCraft + Claude Course (part 4)

▶ Watch on YouTube & subscribe to The Stack Underflow

A hole is placed like a tape measure: so many millimetres from one edge, so many from another. If you type “10 from the left edge” on a 20 mm wide part, the hole sits in the middle. Make the part 30 wide and the hole is still 10 from the left, now off-centre. Anything that should stay in the middle has to be written as half the width.

The one-line version: place centred holes at width / 2, round edges with a fillet, and check the holes again after every size change.

Last verified in our lab: 30 October 2026 (SolidCraft 0.27.1; Claude Code 2.1.311 with Claude Sonnet 5.5; Linux in Docker). Lesson 3 used 0.26.1; update first: designs saved in 0.27 don’t open in 0.26 or older.

The words first

  • Through hole: a hole that goes right through the part (Extents: All).
  • Clearance hole: a hole a little wider than the screw, so the screw slides through and grips only the wall.
  • Fillet: a rounded edge, set by its radius.

Why 4.5 mm: a hole a little wider than an M4 (4 mm) screw. SolidCraft’s clearance setting for M4 (its docs cite ISO 273) gives 4.3 close, 4.5 normal, 4.8 loose.

By hand

Start from lesson 3’s hook with its five names.

  1. Model tab, Parameters, Add parameter: hole_d, Tab, Tab, 4.5. OK.
  2. Model tab, Hole. Click the plate’s inside face (the one facing the hook’s arm), near the top. Extents: All. Reference 1: click the top edge, select the number in Distance 1, type 15. Reference 2: click the left edge, Distance 2: 10. Diameter: hole_d. OK.
  3. The second hole the same way: 45 from the top edge, 10 from the left edge, hole_d.
  4. Fillet: click the plate’s two long top edges (front and back), Radius 2, OK.

Check it yourself

Work it out first: 8,500 minus two holes of 79.5 minus two corner slivers of 17.2. Right-click Body1, Properties: 8306.62 mm³. To look straight on, click the solid red ball marked X on the axes at the top right.

Change the width, watch the holes

Parameters, width 30, Enter. The holes stay 10 from the left edge, 20 from the right, with no warning. The fillet stays (12539.44 mm³).

The fix: Parameters, type Hole1 in Filter; replace its 10 with width / 2 and press Enter. The same for Hole2. Now the holes sit 15 from each side, and back at 20 wide, 10 from each side. The fillet followed every change.

Version note (0.27.1): typing width / 2 (or 20 / 2) straight into the Hole window’s Distance 2 box gave “reference edge 1 is square to the face” in 6 of 6 tries; only Cancel cleared it. Type the number in the Hole window, and put the formula in Parameters.

Then with Claude

One run per request. The “asked” run started with:

Use named sizes (parameters): add hole_d 4.5, and write the hole diameter and the hole positions from the named sizes.
  • Not asked: cut both holes from sketch circles with the centre typed as -10 (10 from the right edge), same volume. Asked for 30 wide, it changed the width, noticed “the holes stayed at the old 10 mm mark, which is off-centre”, and rewrote each centre as width / 2 itself (eight more steps).
  • Asked: made hole_d and the other sizes, and in its first answer dimensioned the distance across as width / 2. 30 wide: one change, about 7 seconds, holes 15 and 15.
  • The fillets: Claude picked the two top edges by a point on each edge. We checked whether that loses the edge when the width changes: both fillets were still there at 26, 30 and 40 wide, in both runs, and in ours.

Our test with no AI: our script replayed each run’s exact tool calls in a fresh SolidCraft and tried widths 26 and 40. The asked design kept the holes in the middle both times; the not-asked design only after its fix.

The course

Sources

  • SolidCraft’s M4 clearance setting and its ISO 273 citation: SolidCraft’s own docs, as read for the lesson
  • The lab: scripts, logs and replays behind every number here

Change notes

  • 16 Nov 2026: first published, from the lesson’s lab results of 30 Oct 2026.

Not affiliated with or endorsed by SolidCraft (Tangency Labs) or Anthropic. Found a mistake? Tell us in the video’s comments and we’ll correct this page.

Found this useful? The deep version lives on YouTube — new breakdowns of how AI dev tools actually work, weekly.

Subscribe on YouTube →

Prefer email? Get the free newsletter: one failure, traced step by step, about once a week.