Fusion 360 for a web developer: sketches, constraints and parameters
My first rover was a small 3D-printed car with Ackermann steering, two N20 motors, an MG90S servo for the steering and an Arduino Nano listening to a 2. 4 GHz radio.
Watch: Redesigning the rover in Fusion 360 · The upgraded rover · The first rover
My first rover was a small 3D-printed car with Ackermann steering, two N20 motors, an MG90S servo for the steering and an Arduino Nano listening to a 2.4 GHz radio. For the next version I wanted a Raspberry Pi 4, a camera and a lidar on board. None of that fit, so I opened Fusion 360 and started the body again.
I’m a web developer, and CAD looked completely foreign at first. It turns out that most of it maps onto ideas web developers already use every day.
Sketches are layouts, constraints are layout rules
Everything in Fusion starts as a 2D sketch: lines, circles and rectangles drawn on a plane, which you then extrude into 3D. A sketch drawn freehand is like absolutely positioned HTML. It looks right until you change one number.
Constraints fix that. Instead of saying “this line is 40 mm long and starts here”, you say “this line is horizontal”, “these two edges are equal”, “this hole is centred between those two lines”. It’s the same shift as moving from fixed pixel positions to flexbox. You describe relationships and let the tool work out the positions.
Fusion shows you how finished a sketch is. Lines that can still move are blue, and fully constrained lines turn black. It’s worth getting a sketch fully black before extruding it. An under-constrained sketch is like a layout that only works at one screen size: change a dimension later and parts of it slide somewhere you didn’t expect.
Parameters are design tokens
Under Modify → Change Parameters you can create named values and use them in any dimension. For a pocket that holds an MG90S servo, whose body is about 22.5 by 12 mm, that could look like this:
servo_length = 22.5 mm
servo_width = 12 mm
clearance = 0.3 mm
pocket_length = servo_length + 2 * clearance
pocket_width = servo_width + 2 * clearance
If the first print is too tight, you change clearance once and every pocket that uses it updates. That’s exactly what a CSS custom property gives you. It also makes the design readable: pocket_width tells you what a number is for, while 12.6 tells you nothing.
Components are components
Fusion has bodies, which are pieces of solid geometry, and components, which are containers with their own origin. Components can hold bodies, be reused, and be connected to each other with joints.
The habit worth building early: make every physical part its own component. The chassis, the camera mount, the steering knuckle, the Raspberry Pi. It’s the same instinct as not writing your whole app in one file. Later, when you want to move the camera mount without dragging the chassis along, or add a joint so the steering linkage can actually turn, components are what make that possible.
The timeline is your git history
Along the bottom of the window, the timeline records every operation in order. You can drag the marker back, change an early sketch, and everything after it replays on top.
It behaves a lot like git, conflicts included. If a later feature depended on a face that your change removed, that feature turns yellow or red in the timeline and you have to repair it, much like resolving a rebase. Two habits keep this rare: build features from sketches and planes rather than from faces of other features, and keep each sketch small.
Designing around the parts first
The rover redesign was built around the new parts: the Pi 4, the camera and the lidar, plus the steering servo and motors from the first version. The redesign video shows that process, and the physical rover followed about ten days later with the Pi, the camera and the lidar on board instead of the radio.
Before printing, Inspect → Interference checks whether any two components overlap. It’s the closest thing CAD has to a type checker, and it catches the cable that can’t bend that tightly or the screw head that hits the battery.
What I’d tell another web developer
- Constrain every sketch until it turns black. Blue lines are bugs waiting to happen.
- Name parameters the way you’d name variables.
- Give each physical part its own component from the start.
- Print a small test piece for any fit that matters before printing the whole body. An Ender 3 V2 takes hours for a full chassis and minutes for a test strip.
None of this needs a mechanical engineering degree. It needs the same discipline we already use for layouts and code, applied to millimetres.