MakerWeek 24 of 52 · 8 Jun – 14 Jun 2026

Designing with code

Is parametric CAD faster than pushing pixels?

The question

Is designing in code faster than pushing pixels?

What I built

An enclosure for the hallway dashboard. Twice:

  1. In a normal CAD tool, by hand.
  2. In code, with every size as a variable.

Then I asked myself to make five changes: different screen, thicker walls, a new port, rounded corners, a wall mount.

  • First version: CAD 40 minutes, code 75 minutes.
  • Five changes: CAD 55 minutes, code 12 minutes.

The design process

Problem. Every enclosure I design changes three times. The real question: which tool makes change cheap?

Iterations.

  • v1: hand-modelled in CAD.
  • v2: rebuilt in code with variables.
  • v3: code with named sizes, like screen width and wall thickness, and comments.

Testing. Five realistic change requests, timed in both tools, plus printing each result to check nothing broke.

Design decision. Anything I’ll make in more than one size now starts in code. A one-off bracket still starts by hand.

What broke

My brain, the first hour in code. Thinking in coordinates instead of shapes is hard at first.

What I learned

If you’ll make it once, use the normal tool. If you’ll change it, or make variations, write it as code. Same lesson as design systems, just in plastic.

Privacy notice