Skip to main content

Parameters

Every part is a script with named constants, and the panel gives you the knobs.

The script is the part

A model is Python: named parameters at the top, one function that returns a solid. Change a number and everything downstream — the geometry, the drawing, the exports — follows. That is why an edit a year later is a one-line change instead of a rebuild from a screenshot.

  • Parameters are named, not positional: W, D, T, HOLE_D, PITCH.
  • The comment beside a constant becomes its tooltip in the panel.
  • The panel writes the number back into the script and rebuilds.

Changing things by talking

The panel is the fast path for a dimension. For anything structural — "add a rib", "move the holes off centre", "make it fit a 6205 bearing" — say it in the conversation and the assistant edits the script.

Assumptions are visible

When a dimension was chosen rather than given, it is marked as assumed in the parameters. That is the difference between a part that is roughly right and a part you can send to a shop.