Level 2 · Sketch-driven parts · about 10 minutes · free
Make it parametric
Drive the open box from a parameter table so one model becomes a family of sizes, with proportions tied together by expressions.
Start the interactive lesson: narrated demo, steps and quiz →
What you’ll learn
- User parameters and model parameters (d1, d2…)
- Unit-aware expressions
- Linking dimensions to each other
Step by step
- Open the table. MANAGE › PARAMETERS › Parameters.
- Add three.
width = 60 mm, depth = width * 0.75, height = width / 2. - Use them. Edit the rectangle’s dimensions to
width and depth, and the Extrude distance to height. - Link two dimensions. While editing one, single-click another to insert its name, then add
/ 2. - Drive it. Set
width to 80 mm and watch every proportion follow.
Tips
- Rename in place. Typing
height = 12 into a value that has its own parameter renames it, and every reference follows. - Bare numbers use design units. 0.25 is 0.25 in in an inch design. Write the unit to be explicit.
- Ctrl+Space. Opens parameter suggestions in any expression field.
Check yourself
Can you delete a parameter that a dimension uses?
No. A parameter in use can’t be deleted; the error lists its users.
SolidCraft is an open-source project by its own authors. Craftpath is an independent, free learning resource.