# Design This file fixes the geometry. How the model's code is organised is up to you, as long as the numbers here hold. ## Formulas (millimetres) Plate overall X = `bins_x * pitch + 2 * wall`. Overall Y is the same with `bins_y`. Thickness of the plate is `wall + 2.4` if magnets are on, else `wall + 1.0`. Magnet pocket: diameter 6.1, depth 2.1, centres inset `pitch/2` from a cell centre along both axes, one per cell, opening on the underside. Lip height 1.6, radial clearance 0.2. The exact numbers, plus volumes for the default inputs, are `fixtures/grid-measures.json`. ## Mesh checks Watertight, no self-intersection, minimum wall `wall` except the magnet shell (allowed down to 0.8). Print position: plate pockets down, bin open up. Overhangs ≤ 45°. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `pitch` | Grid pitch, mm | 42 | Centre to centre, from 30 to 60. | | `wall` | Wall thickness, mm | 2.0 | From 1.2 to 4. | | `bins_x` | Bins in X | 3 | From 1 to 8. | | `bins_y` | Bins in Y | 3 | From 1 to 8. | | `magnets` | Magnet pockets | on | Cylindrical pockets on the plate, sized in design.md. | | `lips` | Stacking lips | on | A lip so a plate or a bin stacks with the documented clearance. | | `tool` | Modelling tool | cadquery | CadQuery writes STEP and STL. OpenSCAD writes STL. | ## Acceptance at the defaults All sizes are in millimetres. `pitch` is 42, `wall` is 2.0, `bins_x` and `bins_y` are 3, and both options are on. | Quantity | Value | Tolerance | Source | | --- | --- | --- | --- | | Plate overall X and Y | 130.00 | 0.05 | `bins * pitch + 2 * wall` | | Plate thickness, magnets on | 4.40 | 0.05 | `wall + 2.4` | | Plate thickness, magnets off | 3.00 | 0.05 | `wall + 1.0` | | Bin 1×1 outer footprint | 41.60 | 0.05 | `pitch - 2 * 0.20` | | Mating clearance, a side | 0.20 | 0.02 | Bin to cell | | Magnet pocket diameter, depth | 6.10, 2.10 | 0.05 | Opens on the underside | | Lip height, radial clearance | 1.60, 0.20 | 0.05 | When `lips` is on | Volumes of the default plate and a 1×1 bin are recorded by the check and must stay within 0.5% on a rebuild. A pitch or wall outside 30–60 or 1.2–4 is refused before modelling. ## Screenshots These pictures are headless OpenSCAD renders of the reference model in `reference/model.scad`, at the default inputs. They are not drawings of a product that has not been modelled. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel. | File | What it shows | | --- | --- | | `shots/plate.png` | Plate 130 × 130 × 4.4 mm | | `shots/assembly.png` | Assembly 3×3 bins on a 130 mm plate | ## How to verify 1. Build the model at the default inputs and at two other legal input sets. 2. Measure every row of the acceptance table in this file; each must fall inside its tolerance. Use the solid itself or a mesh library on the exported STL, as `design.md` says for the chosen tool. 3. Refuse at least one out-of-range input by name before modelling. 4. Confirm each exported part is a manifold, watertight mesh, and that walls and print orientation hold where this file asks. 5. Generated plates and bins are measured for pitch, magnet-pocket dimensions, and stacking or mating clearances against a formula file. Meshes are manifold and checked for wall thickness and overhangs. Assembly and exploded renders are written. No physical print, and no magnets, are required.