SolidCraft Parameters by Hand vs Claude: Named Sizes for Beginners
▶ Watch on YouTube & subscribe to The Stack Underflow
A part drawn with plain numbers is hard to change: move one length and the others don’t follow. Parameters fix that. A parameter is a named size, like hook_depth = 25, and the sketch uses the name instead of the number. Change the name’s value once and every length written from it updates.
The one-line version: name the sizes, write every length from the names, work out the new number first, then change one value and check it in Properties.
Last verified in our lab: 29 October 2026 (SolidCraft 0.26.1; Claude Code 2.1.311 with Claude Sonnet 5.5; Linux in Docker). Lesson 2 used 0.25.0; update first: designs saved in 0.26 don’t open in 0.25.1 or older.
The words first
- Parameter: a named amount, like a line on a recipe card. Change the card and the recipe follows.
- Formula: a length written from names, like
hook_depth - 2 * thickness. The star means “times”. - The catch: some lengths depend on each other. In the J, the four lengths across the hook must add up: 5 + 15 + 5 = 25. If you change the 25 alone, the others can’t all stay true.
By hand
-
New design (millimetres). Model tab, Parameters. Add parameter: type the name, press Tab twice, type the value, press Enter. Five names (the underscore is Shift and minus, no space):
hook_depth25,thickness5,lip_height10,plate_height60,width20. OK. -
New Sketch, XZ in the Browser, Line, click the origin. Point the way each line goes and type a name or a formula instead of a number:
right: hook_depth up: lip_height left: thickness down: lip_height - thickness left: hook_depth - 2 * thickness up: plate_height - thickness left: thicknessThen click the first point, Esc. The dimensions show fx: they come from the names.
-
Finish Sketch, Extrude, Distance:
width, OK. -
Check: right-click Body1, Properties: 8500.00 mm³, 25 x 20 x 60 mm.
Work out the change first
Make the hook 40 deep. The flat area becomes 5 x 60 + 35 x 5 + 5 x 5 = 500 mm². Times 20: 10,000 mm³, and the box 40 x 20 x 60.
Now Parameters, hook_depth: 40, Enter. The hook rebuilds. Properties: 10000.00 mm³, 40 x 20 x 60 mm. If your number differs from the one you worked out, something in the sketch isn’t written from the names.
The same change on plain numbers
On lesson 2’s hook (plain numbers), setting the 25 (named d1) to 40 is refused: “its constraints would conflict … the values were not changed”. The box still shows 40, but the hook stays 25 x 20 x 60. The fix is a formula: write the 15 (d5) as d1 - 10, then set d1 to 40. That works: 10,000 mm³.
Then with Claude
We tried two requests, two runs each. The “asked” runs started with this sentence:
Use named sizes (parameters) plate_height 60, width 20, thickness 5, hook_depth 25, lip_height 10, and write every length and the extrude distance from them.
- Not asked (2 runs): no named sizes. One drew the hook again in a new design (40 x 20 x 60, 10,000). One read “40 deep” as the extrude (25 x 40 x 60, 17,000) and said so.
- Asked (2 runs): five names and a one-number change both times. One run placed the back plate’s inner edge at
hook_depth - 2 * thicknessinstead ofthickness: 19,500 mm³ instead of 8,500, and 37,500 after the change. The other: 10,000, 40 x 20 x 60. - Every run first built the hook hanging below Z 0 (lesson 2’s finding), checked, and built it again standing.
Our proof with no AI: two runs’ logged tool calls, replayed in a fresh SolidCraft, gave 10,000 and 37,500 again; our STL checker agrees. In an earlier test of ours, Claude named 0 of 6 sizes when not asked.
So: work out your number first, and check the first build in Properties. A wrong formula in the first build gets carried into every change.
The course
- Previous: Lesson 2: sketch a 3D part by hand vs Claude
- Next: Lesson 4: holes and fillets
- The lab for this lesson: solidcraft-course-lab/out/l3
Sources
- The lab: scripts, logs, replays and the STL checker behind every number here
Change notes
- 16 Nov 2026: first published, from the lesson’s lab results of 29 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.