# Motor mount and enclosure layout

Status: a draft, not built or tested. `motor_mount.scad` and `layout.scad` compile in OpenSCAD 2021.01 and the
renders below come from them, but no part has been cut. Sizes for the box come from a photo of the prototype
(10 in platter as the scale), so allow about +-0.5 in.

Files: `motor_mount.scad` (plate and standoffs, parametric), `motor_plate.dxf` (plate outline for laser, waterjet or
CNC), `backplate.dxf` (the aluminium backplate, seen from outside), `ring_plate.dxf` (the LED ring's heat plate, made from the ring board by
`tools/gen_ring_plate.py`), `layout.scad` (whole-box layout), `layout_plan.png`, `layout_3d.png`, `motor_mount.png` (renders),
`layout_io.png` (backplate close-up), `tinkercad/` (STL and SVG files for Tinkercad, see below) and `export_stl.py` (regenerates and checks them).

## Suggested layout (outer 349 x 284.4 x 80.9 mm, about 13.7 x 11.2 x 3.2 in, 6 mm Baltic birch and an inset 2 mm aluminium back)

![Plan](layout_plan.png)

![Exploded view](layout_3d.png)

- **Footprint:** the box is sized from the platter's rim clearances, set at the top of `layout.scad`: **15 mm** on the left, front and rear and **80 mm** on the control side (right). With a plywood rear wall that would be
  349 x 284 mm outside. With the inset aluminium backplate the floor, side walls and lid run 6.4 mm past the interior (a 2.4 mm groove and a 4 mm
  lip behind it), so the outside is **349 x 284.4 mm** (the rear clearance is 15.4 mm) and the interior stays 337 x 272 mm. The parts keep their positions relative to the motor; they were laid out in a 334.6 x 256.6 mm interior and the model shifts them 1.7 mm right and 1.3 mm toward
  the rear to centre on the platter. There is about 20 mm of free space behind the fan and PSU (it was 6 mm).
- **Corner blocks:** four 10 mm square blocks, full interior height (68.9 mm), glued in the corners. The lid screws into their top ends through four 3.5 mm holes
  (a #6 wood screw about 25 mm long, pilot hole 2.5 mm; or an M3 insert in the block). The inset backplate screws into the rear faces of the two rear blocks
  (two #6 x 1/2 in pan-head screws each, pilot 2.5 mm).
  They also stiffen the box corners. They clear the PSU, the fan, the PCB and the exhaust slots.
- **Motor** under the platter centre. **120 mm fan** to its right, in the floor, intake from below (feet of 10 to 15 mm).
- **Main PCB** below the fan, rotated so its panel-header edge faces the control strip. **PSU** (RD-85A, 159 x 97 x 38 mm) turned on its
  side in the left strip, 57 mm from the rear wall, terminals toward the rear wall.
- **Backplate:** the rear of the box is an inset 2 mm aluminium panel, held in grooves in the floor, side walls and lid, rather than plywood, carrying the fused and switched IEC inlet, the etherCON jack and the USB
  feed-through (D-size) behind the PSU's end, and the exhaust vents. See below.
- **Exhaust** through slots high in the right wall and the vent grid in the backplate (on the right as seen from inside, the left from outside). Air rises at the fan, sweeps under the LED tray over the motor and PCB, and
  leaves at the top.
- **Platter** rests on three flanged ball units pressed into the lid and is driven through a sliding D-flat joint; see "Platter support and drive" below.
- **LED tray** hangs from the lid on four standoffs on the ring's mounting holes (a 183.84 mm square), inside its 203.2 mm footprint, so nothing on the floor has to avoid them. The tray is
  the ring's aluminium heat plate (see "Ring heat plate" below); the ring's `J1` corner faces front-right, toward the main PCB. Clamp the ring's 6-wire cable to the tray or lid a few centimetres from the board's `J1` connector, with slack between the clamp and the plug, so the cable's weight and stiffness never load the board edge.
- Gaps between parts on the floor: PSU to left wall 5 mm, motor plate to PSU 4.8 mm, motor plate to fan 16 mm, fan to PCB 8 mm, PCB to
  right wall 8.6 mm. The PSU is the tight one.

## Backplate (rear)

![Backplate](layout_io.png)

The rear of the box is one aluminium panel, **343 x 74.9 mm, 2 mm 5052-H32** (or 6061-T6), cut from `backplate.dxf`, set **inside** the box's rear edges
rather than screwed over them, for leak protection:

- **Grooves.** The floor (in its top face), both side walls (in their inner faces) and the lid (in its underside) each have a groove **2.4 mm wide and 3 mm deep**
  (a 3/32 in straight bit set 1/8 in deep, or a single saw kerf of that width) running across just inside the rear edge, with a **4 mm lip** of plywood behind it.
  The panel's inner face is where the old wall's inner face was, so nothing inside moves; the floor, walls and lid run 6.4 mm past the interior.
- **Fitting.** With the lid off, the panel slides down the two side grooves into the floor groove; the lid's groove takes its top edge when the lid goes on. The grooves
  alone leave some slop, so it is also screwed into the rear faces of the two rear corner blocks: two #6 x 1/2 in pan-head wood screws in each (3.6 mm holes, pilot 2.5 mm),
  with a nylon or bonded sealing washer under each head to keep water out of the holes. The corner blocks back its ends and the floor groove holds its bottom edge
  all along, so a plug pushed in is held, and 2 mm is stiff enough. 2 mm is also the most the snap-in IEC module takes (1 to 2 mm panels; 0.080 in stock is 2.03 mm, still a
  free fit in the 2.4 mm groove).
- **Sealing.** Run a bead of neutral-cure silicone (or lay 1 mm closed-cell foam tape) in the floor and side grooves before dropping the panel in, and a bead in the lid's
  groove if the lid is not lifted often. This seals the joints and stops the panel rattling.
- **Drip edge.** The lid overhangs the panel face by 4.4 mm, so a spill that runs to the lid's rear edge drips clear of the panel and its connectors instead of
  running down the joint. The vents, the right wall's slots and the platter opening are still openings: keep liquids away from the rear and sides, or cover the vents
  in a wet setting.
- **Removing it:** take the lid off and lift the panel out with its connectors and their wiring (leave enough slack inside, or unplug the inlet's spade terminals first).

`backplate.dxf` is drawn **as seen from outside the box**, origin at the bottom-left corner, in millimetres (`layout.scad`, `part="backplate2d"`; `export_stl.py`
writes it). Seen from outside, left to right: the vent grid, the USB and etherCON holes, then the IEC inlet with the earth stud above it.

| Cutout | Size | Notes |
|---|---|---|
| IEC inlet (C14, fuse and rocker switch: the power switch) | 47.3 x 27.5 mm rectangle | the 27.5 mm short side is a **placeholder**: measure the module before cutting |
| etherCON and USB (D-size) | 24 mm hole, and four 3.2 mm screw holes on a 19 x 24 mm pattern | the drawings I could read give 24, 19 and 3.2 mm but not which diagonal the two screws use, so all four corners are cut and the 26 x 31 mm flange covers the two not used. Check against the parts |
| Earth stud | 4.3 mm hole (M4), 57 mm above the floor (60 mm above the panel's bottom edge) over the IEC inlet | see "Earthing" below |
| Corner-block screws | four 3.6 mm holes, 5 mm in from the side walls' inner faces (8 mm from the panel's side edges), 12 mm above the floor and 12 mm below the lid | sealing washers under the heads |
| Edges | 3 mm all round sits in the grooves | nothing is cut within 3 mm of an edge |
| Vents | 5 mm holes on a 7.5 mm hex grid, 114 of them, in an area 140 x 34 mm high on the plate (interior x 178 to 318, 28 to 62 mm above the floor) | about 2,200 mm2 open, against 840 mm2 for the five slots the plywood wall had |

All three connectors are centred 28 mm above the floor, so their bodies (about 29 mm into the box) pass under the LED-tray underside (45.9 mm) with about 4 mm to spare.

| Connector | Role | In the model |
|---|---|---|
| Fused, switched IEC C14 inlet | mains in, power switch, fuse | horizontal, centre x = 52 mm, cutout 47.3 x 27.5 (short side is a placeholder), flange 60 mm long |
| etherCON jack, D-size | RJ45 from outside to a short patch cable to the ESP32-S3-ETH | centre x = 104 mm, round hole 24 mm (placeholder) |
| USB feed-through, D-size | USB to the ESP32-S3-ETH's USB-C, for flashing and the log | centre x = 144 mm, round hole 24 mm (placeholder) |

**What is a placeholder.** From the listing's drawing of the IEC module (3-pack, "Module Plug, 10A Fuse Switch Male Power Socket, IEC 320 C14, Red Button,
AC 250 V 10 A"): flange 60 mm long, body 47.3 mm long and 26.8 mm deep, with spade terminals reaching about 13 mm further (my estimate from the picture), and the red rocker
standing about 5 mm proud of a flange about 4.7 mm thick. The drawing is a side view, so the **short side** of the body and flange is not given: the model uses 27.5 mm
(cutout) and 31 mm (flange) as placeholders. Measure the module when it arrives and change `iec_cut`, `iec_flange` and `iec_depth` at the top of `layout.scad`.
The D-size holes in `backplate.dxf` are a 24 mm circle with four 3.2 mm screw holes on a 19 x 24 mm pattern: the D-size standard's figures (24 mm, 19 mm and 3.2 mm appear
on Neutrik's and REAN's drawings), with both diagonals cut because I could not read which one the screws use. Before cutting, hold the etherCON and USB parts (or
Neutrik's own drawings: `https://www.neutrik.com/media/12530/download/ne8fdx-p6-1.dxf` for the NE8FDX-P6 and `https://www.neutrik.com/media/12188/download/nausb-w-3.dxf`
for the NAUSB-W) against a 1:1 print of the DXF, and measure the IEC module's short side.

**Mains points to settle before building**
1. **Certification.** The listing's picture says "Meets EC, UL, ULC, CE, CCC, and VDE Standards", but it is an unbranded module and I could not check a certificate.
   Look for the actual marks on the part. For anything that will leave your bench, use a fused inlet with a listed certificate (for example Schurter, Qualtek or Bulgin).
2. **Switch poles.** Many cheap rocker modules switch only the live conductor. A double-pole switch (live and neutral) is better; check the module's terminals.
3. **Fuse.** The README sizes the supply's inlet fuse at about T3.15 A slow-blow at 120 V (T2 A at 230 V); the module's 10 A is the module's rating, not the fuse.
4. **Earth.** Bond the IEC inlet's earth terminal, the RD-85A's FG terminal and the backplate together at the backplate's M4 earth stud (ring terminals, a star washer
   against bare metal: scrape or mask the anodising there). The etherCON and USB shells touch the plate. See "Earthing" below for the ring heat plate.
   Keep the rest of the mains wiring behind the plate, away from the low-voltage board, with strain relief.
5. **Patch cables.** Inside the box, a short (about 0.3 m) Cat6 patch cable runs from the etherCON jack to the ESP32-S3-ETH's RJ45, and a USB-B (or A) to USB-C cable from the USB
   feed-through to its USB-C port. Check which sockets the NAUSB variant has on its rear before buying cables.

## Vertical stack (interior height H = 68.9 mm)

The platter underside is fixed at 78.2 mm above the floor top by the motor stack and the 1 in LED-to-platter rule; the lid and the ball units hang from that.

| Item | Value |
|---|---|
| Platter underside above the lid top | 3.3 mm: flange 1.0 + ball 2.3 above the flange (drawings on the two product pages) |
| Lid thickness | 6 mm; lid top at 74.9 mm, lid underside at 68.9 mm (H) |
| LED face below the lid underside | 25.4 (1 in rule) - 6 (lid) - 3.3 = 16.1 mm |
| LED tray underside below the lid underside | 16.1 + 1.6 (LED) + 1.6 (board) + 0.5 (thermal pad) + 3.175 (1/8 in heat plate) = 23.0 mm |
| Space under the tray | H - 23.0 = 45.9 mm |
| PSU (38 mm) clearance under the tray | 7.9 mm |
| Motor plate top | 43 mm (standoffs 40 mm + plate 3 mm) |
| Plate to tray | 2.9 mm with 40 mm standoffs (wanted: at least 2, aim for about 4; 38 mm standoffs give 4.9, if the shaft and coupler allow) |
| Air under the motor body | 40 - 21.5 = 18.5 mm |
| Shaft tip (measured from the flange face) | 40 + 23 = 63 mm |
| Coupler top (22 mm coupler, 3 mm above the shaft tip) | 66 mm |
| Platter hub bottom (8 mm boss) | 70.2 mm, so 4.2 mm above the coupler top |

The standoff length follows the interior height: `H - 23.0 - 4 - 3`, so 38.9 mm at 68.9 mm (the model keeps 40 mm, which leaves 2.9 mm to the tray). Use the nearest stock hex standoff at or below it.
The shaft height relative to the platter does not change with H as long as the standoff length tracks it.

## The motor plate

- 55 x 55 x 3 mm 6061 aluminium, corner radius 4 mm. Centre hole 22.5 mm (NEMA17 pilot boss is 22 mm). Four M3 clearance holes (3.4 mm) on a
  31 mm square for the motor. Four 3.4 mm holes at +-24 mm for the standoffs, which clear the motor body's corners by about 0.8 mm.
  Set `slot` in `plate2d()` to slot the standoff holes for adjustment.
- The motor hangs under the plate with its flange against the plate underside: M3 screws go from the top of the plate into the motor.
- Standoffs: four M3 female-female hex standoffs, 5.5 mm across flats, 40 mm long (aluminium or brass). Fix them to the floor with
  M3 x 12 bolts from underneath (6 mm panel plus about 5 mm of thread). Plate to standoffs: M3 x 8 screws.
- The plate also spreads motor heat. Optional: thermal pad between flange and plate.

## Ring heat plate

![Ring heat plate](tinkercad/ring_plate.svg)

An aluminium plate under the LED ring board spreads the ring's heat and gives the fan's air twice the area to take it from, and it stops the board flexing when the
cable is plugged in. It is the "LED tray" in the model.

- **1/8 in (3.175 mm) 6061-T6** (5052-H32 is fine too). All aluminium alloys are about equally stiff (modulus about 69 GPa), so the thickness sets the stiffness: 1/8 in is about
  27 times as stiff as the 1.6 mm board and sags about 0.02 mm under its own weight and the board's between the screws. The grade sets how easily it bends for good;
  avoid soft 1100 or 3003.
- **Black anodised** (Type II), at least the underside: bare aluminium radiates poorly (emissivity about 0.05 to 0.1), black anodising about 0.85.
- **Shape** (`ring_plate.dxf`, made from the ring board by `tools/gen_ring_plate.py`; drawn from the board's LED side, origin at the centre): the board's 203.2 mm square with
  3 mm corner radii, the same 25.4 mm centre hole, four 3.4 mm holes on the board's mounting holes (a 183.84 mm square), and one closed window where the only through-hole pins left, those of `J1` and `J2`, come out of the back of the board (since 2026-11-13 `CP1` is
  surface-mount and `J1` sits 4 mm in from the edge). Every pad has 2 mm of clearance; 1.87 mm of metal stays round the nearest corner-screw hole (an M3 head,
  5.5 mm, sits on metal) and 3.1 mm between the window and the board edge. The nearest LED is 11.3 mm from the window.
- **Between board and plate:** a 0.5 mm soft silicone thermal pad, electrically insulating, about 1 to 3 W/m.K, cut to the same outline (window and holes included).
  It fills round the solder mask, the vias and the bottom-layer data track; across this area it costs well under 1 C at 30 W.
- **Fixing:** the four M3 screws only (through plate, pad and board into the lid standoffs; about M3 x 10, check against the standoffs), tightened just snug. No adhesive:
  aluminium grows about 0.06 mm more than the board over 200 mm at +40 C, and glued, that strain would land on the LED and 0603 joints; the pad takes it up and the board stays removable.
  The ring's mounting holes are not plated, so the screws touch no copper.

## Earthing

Both aluminium plates are earthed (protective earth, PE), and the low-voltage ground is not connected to either.

- **Backplate:** it carries the mains inlet, so it is earthed at its M4 stud with the IEC inlet's earth and the RD-85A's FG (see "Mains points" above). The etherCON and USB shells touch it.
- **Ring heat plate: earth it too, rather than leave it floating.** It is a large piece of metal a few millimetres above the PSU (about 8 mm from its top, and near its mains
  terminals) and close to the inlet wiring. If a mains wire came loose and touched a floating plate, the plate would sit at mains voltage with nothing to blow a fuse, and it
  is exposed whenever the lid is lifted. Earthed, the same fault blows the fuse. A floating plate also picks up and passes on noise; earthed, it screens the ring from the PSU
  below. Against that, earthing it costs one wire, and the 0.5 mm pad between it and the board adds only a few nanofarads between the ring's ground and earth, about what
  the PSU's own filter capacitors already put there.
- **How:** a green/yellow 18 AWG lead from one of the plate's four screws (ring terminal under the screw head, star washer on bare metal: mask that spot from anodising) to
  the backplate's earth stud. The ring and its plate come away with the lid, so give the lead enough slack, or a 6.3 mm insulated quick-disconnect, to lift the lid.
- **Not** to the board's ground: keep the pad between them. The low-voltage side stays floating from earth, as it is now, apart from what the Ethernet shield brings.

## Overall size and the transport case

| | mm | in |
|---|---|---|
| Box outside | 349 x 284.4 x 80.9 | 13.74 x 11.20 x 3.19 |
| Height with the knobs (15 mm above the lid) | 95.9 | 3.78 |
| Platter top (3.3 mm above the lid, 6.35 mm thick) | 90.55 | 3.57 |
| Rear connectors beyond the rear face (the panel is 4.4 mm in; IEC flange 4.7 + rocker 5) | 5.3 | 0.21 |
| **Envelope with 12 mm feet (the feet are an assumption: the notes say 10 to 15 mm)** | **349 x 289.7 x 107.9** | **13.74 x 11.41 x 4.25** |

![ATA-style roadcase around the enclosure](case_fit.svg)

The box travels in a custom **ATA-style roadcase**, not a stock case. Interior (clear of the foam) **455 x 400 x 200 mm** (17.9 x 15.7 x 7.9 in), split 50 mm lid and 150 mm body. The foam is nearly even on all four plan sides (53.0 mm at each end and 55.2 mm along each side, measured from the
349 x 289.7 mm envelope) and 46.1 mm above and below; with the inset aluminium back the connectors stand 4 mm less proud than when this case was sized, so 455 x 395 would even it up again (the drawing below still shows the 293.7 mm envelope). A 215 mm depth would make the top and bottom 53.6 mm too.
The estimated exterior is about 475 x 420 x 226 mm, with the latches and corner hardware standing proud by a further 8 to 10 mm, and
the empty weight about 7 to 8 kg. These are my estimates from typical construction (9 mm birch plywood with about 1 mm of ABS laminate, aluminium extrusion, 4 butterfly latches, 2 recessed handles, ball corners, a
tongue-and-groove lid), not a quote; the builder sets the exterior from their own stock. The case is not sealed against water or dust. A pocket in the body foam holds the box with its feet; a pocket in the lid foam holds the
platter on its ball units, with a relief over the knobs; the rear connectors need a relief at the rear of the pocket; disconnect the mains cord and the etherCON and USB cables for transport.

A Pelican 1550 (interior about 468 x 356 x 194 mm by retailer tables, 30.9 mm of foam each side) was considered and not chosen.

## Platter support and drive

![Sliding drive and ball unit](sliding_drive_sketch.svg)

**Support.** The platter's weight goes on three inexpensive flanged ball units pressed into 6 mm lid holes, flange on the lid top, on a 118 mm radius at 0, 120 and 240 degrees
(counter-clockwise from the control strip). Their housings stand only about 1 mm below the lid, so they clear the ring board at any angle. Three points always touch, so nothing needs adjusting; a thin shim
under a flange trims a low one. The dimensions below come from the two product pages' drawings:

| | Nylon-ball unit (NL-8H) | Stainless-ball unit (white nylon housing) |
|---|---|---|
| Flange diameter | 14.5 mm | 14.7 mm |
| Housing depth | about 6.6 mm below a 1 mm flange | 8 mm in all |
| Ball above the flange | about 2.3 mm | 2 mm |
| Load rating | 2.0 kg suggested, 3.0 kg breaking, each | not given |
| Body diameter | not given (garbled in the drawing) | not given; about 13.5 mm from the picture |

The lid hole (`bu_hole` in `layout.scad`) is a 12.7 mm placeholder: measure the body and set it. Three units at the suggested rating carry about 6 kg on the platter. Check before relying on them that the balls roll freely
at about 0.13 kg each, and that a steel ball does not mark the acrylic.

**Drive.** The motor only turns the platter. A 5 mm D-flat stub is clamped in the flexible coupler's top end; the platter's 8 mm hub boss has a 5 mm D-bore at about 0.1 mm clearance and slides on it, with at least
10 mm engaged. The shaft can sit about 4 mm too high (hub to coupler clearance) or about 8 mm too low and the platter still rests on the balls, so there is no axial adjustment and no preload for the coupler to carry.
A 3 mm cross pin riding in a slot in the hub works in place of the D-flat. The sketch is schematic: the hub and stub are not dimensioned parts yet.

## Assumptions to check

1. Interior height 68.9 mm measured from the floor top to the lid underside; lid, floor and walls 6 mm (measure the stock: nominal 1/4 in Baltic birch is 5.5 to 6 mm). The lid screws into the four corner blocks, because a 6 mm wall edge is too thin for inserts.
2. LED tray: the 1/8 in heat plate and a 0.5 mm pad (3.7 mm together), LED package 1.6 mm. If the board bolts straight to the standoffs with no plate, add 3.7 mm of space.
3. Motor: 17HS08-1004S body 42.3 x 42.3 x 21.5 mm, shaft 23 mm from the flange face (the datasheet says about 22 to 24: measure yours),
   31 mm hole pitch, 22 mm pilot. **Check the depth of the tapped motor holes** before choosing the screw length: M3 x 6 gives 3 mm of
   engagement through the plate; a longer screw can bottom out.
4. Ring board and tray need a centre hole of at least 25.4 mm for the shaft and the coupler (19 mm in the drawing).
5. Ring board's tall parts: `CP1` is 13 mm tall standing and the board top now has 17.7 mm below the lid (it was 12.3), so it fits standing. Check `J1`'s height too.
6. Main PCB module heights (about 25 mm at the ETH module) are guesses; the PSU is the only part that depends on the tray height.
7. The control strip knob positions are read off the photo.

## Tinkercad files (`tinkercad/`)

Tinkercad imports STL, OBJ and SVG. Every part is its own STL, in millimetres, and each mesh is closed (checked by `export_stl.py`:
every edge is shared by exactly two triangles). I could not open them in Tinkercad itself, so test an import before relying on them.
Colours are not carried in STL, so every part imports as one colour you can change in Tinkercad.

Frame for the layout parts: origin at the outer front-left corner of the box, on the underside of the floor; x to the right, y toward the
rear, z up. Tinkercad does not let you type absolute positions, so place each part by eye with the Ruler and Align tools, or import
`enclosure_cutaway.stl`, which is already assembled, and use the separate parts to edit or replace pieces.

| File | What it is | Size x, y, z (mm) | Min corner in the box frame (x, y, z) |
|---|---|---|---|
| `enclosure_case.stl` | floor and three walls (the backplate is the fourth), with the backplate grooves and the right wall's exhaust slots | 349 x 284.4 x 74.9 | 0, 0, 0 |
| `enclosure_lid.stl` | lid with the 8 in platter opening and the backplate groove | 349 x 284.4 x 6 | 0, 0, 74.9 |
| `enclosure_tray.stl` | ring heat plate (from `ring_plate.dxf`), thermal pad, ring board, LED field and four lid standoffs | 203.2 x 203.2 x 23.0 | 40.4, 40.4, 51.9 |
| `enclosure_motor.stl` | motor, plate, four standoffs and coupler, assembled | 55 x 55 x 96.2 | 114.5, 114.5, 6 |
| `enclosure_blocks.stl` | the four 10 mm corner blocks, full interior height | 337 x 272 x 68.9 | 6, 6, 6 |
| `enclosure_balls.stl` | the three flanged ball units (flange, housing and ball; hole diameter is a placeholder) | 191.7 x 219.1 x 10.3 | 75.7, 32.5, 73.9 |
| `enclosure_platter.stl` | 10 in platter | 254 x 254 x 14.3 | 15, 15, 76.2 |
| `enclosure_knobs.stl` | four knobs and the big button | 34 x 172 x 15 | 294.7, 40.9, 80.9 |
| `enclosure_fan.stl` | 120 mm fan | 120 x 120 x 25 | 185.7, 137.9, 6 |
| `enclosure_psu.stl` | RD-85A, turned | 97 x 159 x 39.5 | 12.7, 47.9, 6 |
| `enclosure_backplate.stl` | 2 mm aluminium backplate (inset): connector cutouts, earth stud, corner-block screw holes and vents | 343 x 2 x 74.9 | 3, 278.0, 3 |
| `enclosure_io_connectors.stl` | IEC inlet and two D-size connectors, envelopes only | 135 x 51.7 x 31 | 29.7, 238.0, 18.5 |
| `enclosure_pcb.stl` | main PCB with module envelopes | 116 x 100 x 26.1 | 217.7, 29.9, 12.0 |
| `enclosure_cutaway.stl` | everything except lid, platter, knobs, front and right walls, in one piece | 349 x 289.7 x 102.2 | 0, 0, 0 |

Mount parts, each exported at its own origin (shaft axis at x = y = 0). The shaft axis sits at x = 142.0, y = 142.0 in the box frame.

| File | Size x, y, z (mm) | Place its min corner at |
|---|---|---|
| `motor_plate.stl` (3 mm plate, 10 holes) | 55 x 55 x 3 | 114.5, 114.5, 46 |
| `motor_standoff.stl` (one hex standoff, make 4) | 6.4 x 5.5 x 40 | 114.8, 115.3 / 162.8, 115.3 / 114.8, 163.3 / 162.8, 163.3, all at z 6 |
| `motor_nema17.stl` (body, pilot and shaft) | 42.3 x 42.3 x 44.5 | 120.9, 120.9, 24.5 |
| `motor_plate.svg` | flat outline with holes | Import as a 2D shape and extrude 3 mm |
| `backplate.svg` | the backplate flat, seen from outside | Import as a 2D shape and extrude 2 mm |
| `ring_plate.svg` | the ring heat plate flat, seen from the board's LED side | Import as a 2D shape and extrude 3.175 mm |

`motor_plate.dxf`, `backplate.dxf` and `ring_plate.dxf` (in `enclosure/`) are the same outlines for laser, waterjet or CNC cutting, in millimetres.

To regenerate: `python enclosure/export_stl.py` (needs OpenSCAD; takes about 30 seconds). After changing `H`, `post_len` or a layout
position in the `.scad` files, rerun it and update this table from its output.

## Rendering

```bash
openscad -o layout_plan.png -D 'view="plan"' --camera=168.5,136,0,0,0,0,860 --projection=ortho --imgsize=1600,1240 layout.scad
openscad -o layout_3d.png -D 'explode=70' -D 'cutaway=true' --camera=168.5,136,40,62,0,28,990 --projection=perspective --imgsize=1700,1200 layout.scad
openscad -o layout_io.png -D 'cutaway=true' --camera=97.7,265.4,30,75,0,200,430 --projection=perspective --imgsize=1500,900 layout.scad
openscad -o motor_mount.png -D 'mode="assembly"' --camera=0,0,35,68,0,30,330 --projection=perspective --imgsize=1400,1100 motor_mount.scad
openscad -o motor_plate.dxf -D 'mode="plate2d"' motor_mount.scad
openscad -o backplate.dxf -D 'part="backplate2d"' layout.scad
python ../tools/gen_ring_plate.py
```

`motor_mount.scad -D mode="check"` prints the derived heights. Change `H` there and in `layout.scad` together.
