Four trays in one day: designing a part by building it
Part 3 of the synced LED lights build: how one small 3D-printed tray went through four versions, and why each change came from actually assembling one.
Some links in this post are Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
The least glamorous part of each light is a flat plastic plate. It sits on four posts inside the printed base and holds the LED ring exactly 26 mm under the diffuser (part 2 covers why that gap matters). It looks like the simplest part in the build. It went through four versions in a single day.

All of the parts come from one Python script that uses a CAD library called manifold3d. Claude wrote the first version from my description, and every change after that was a few lines of code and a regenerated STL. That made it cheap to change my mind. Most of these changes happened within minutes of picking up a part and trying to use it.
v1: a plate with a hole
The first tray was what you’d draw before holding any real parts:
- a 74 mm square plate with pin holes for the four posts,
- a raised lip to locate a 60 mm ring,
- a 40 mm hole in the middle for the wires,
- an 8 mm notch in the lip so the wires could get from the ring to the hole.
It was fine as a drawing. The problem only shows up when you think about the order you build things in.
Adding a pad slot
The ring has its solder pads on the back, and three of them get wires: 5V, ground and data in. Wires come off those pads, and then you want a blob of hot glue over the joints so a tug on a wire can’t rip a pad off the board.
On v1, the ring sat flat on the plate, right on top of those joints. There was no room underneath for the solder bumps or the glue, and the wires had to make a tight bend through the narrow notch.
The fix was a 20 mm wide slot cut from the center hole out under the pads. Now the joints and glue hang into open space, and the wires drop straight down toward the board.
v2: the real ring arrives
Then the rings arrived, and I measured one with calipers: 71 mm across, not 60. That broke three things:
- the ring no longer fit inside the lip,
- the plate (74 mm) was barely wider than the ring,
- the center hole was so big there was almost nothing left for the ring to rest on.
Because everything in the script is driven by a few numbers at the top, v2 was mostly a matter of entering the real measurements. The plate grew to 84 mm to make room for the bigger lip. The center hole shrank, leaving a 2.5 mm ledge under the ring’s inner edge. The pad slot came along automatically.
The lesson is the same one from part 2: measure the real part before printing 22 of anything.
v3: the “C”
Building the first full unit exposed the next problem. To get the ring onto the tray, the wires had to go through the tray first, and then get soldered to the board. That’s backwards from how you actually want to work. The natural order is:
- solder the ring, board, switch and battery lead together,
- test it,
- then put it in the enclosure.
So v3 extended the pad slot through the outer edge of the plate, turning the tray into a “C.” A fully soldered ring-and-board assembly now slides in from the side, wires and all. The four posts hold the plate at its corners, so the opening doesn’t make it flimsy.
v4: fill the whole box
The last change was mine, not the AI’s. With the wiring done, there was a nest of loose wires under the tray, and I wanted them out of sight and out of the way. Claude suggested printed hooks on the base floor or zip-tie slots in the tray. Both would work, but both meant extra fiddly steps on every unit.
My idea was simpler: make the tray fill the entire inside of the box, and give it one keyhole-shaped slot:
- 20 mm wide under the ring’s pads,
- narrowing to 10 mm out to one edge,
- starting about halfway out, so the ring sits on a solid plate everywhere else.
My first pass made it 104 mm, nearly touching the walls, and it couldn’t actually get in: the ledge that holds the diffuser lid narrows the opening to about 100 mm, and the tray has to drop past it to reach the posts. So the plate is now 99.4 mm square, just small enough to slip past the ledge, and everything below it, including the board, battery, switch wires and any slack, ends up hidden and held in place. No clips or ties needed. A half-round finger notch on the opposite edge is there for lifting it out to charge. It’s next in the print queue.
What I’d take from this
- Design for the order you assemble in. v3 and v4 weren’t about the shape of the part. They were about when the wires get soldered.
- Build one before you print many. Every version came from putting together a real unit, not from staring at CAD.
- Generate parts from code. When a change takes two minutes instead of twenty, you actually try the change.
- The AI is a fast drafter, not the designer. It produced every version quickly and accurately. But the ideas that mattered most, a slot under the pads and a tray that fills the box, came from holding the parts in my hands.
Next
Part 4 covers wiring: the handful of connections in each unit, the quick bench test I now run on every LED ring before soldering, and the bad ring that taught me why.