# Honeycomb wall ## What this builds A wall of hexagonal cells, and a couple of accessories that seat in them: a hook and a small bin. The model is code. Pitch, wall thickness, and insertion clearances are measured on the mesh. A render shows a wall with accessories mated in place. No physical print is required. Read `spekkr.inputs.json` first. `pitch`, `wall`, `rows` and `cols` size the wall, in millimetres except the counts. `hooks` and `bin` add accessories. `tool` is the modeller. ## Out of scope - A branded wall system's exact parts, or its name in the id. - A particular wall-mount or a masonry fixing. - A physical print or a hung wall. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. Pitch and thickness - Cell centres are `pitch` apart on a hex grid, with the neighbour deltas in `design.md`. The wall's bounding box matches the formula file within 0.05 mm. - Cell walls are `wall` thick, within 0.05 mm, on a mid-edge sample. - A value outside the stated ranges is refused before modelling. Accept when: default and two other sets match the formulas, and a short-of-range input is refused. ### R2. Accessories and meshes - A hook and a bin, when included, seat in a cell with the insertion clearance in `design.md` (0.2 mm), and do not overlap the wall in the mated pose. - Each part is watertight, with overhangs in the print position not past 45 degrees. - Renders: the wall, a hook, a mated bin, and an assembly of a few accessories. Accept when: clearances and non-overlap hold, mesh checks pass, and the four renders are written. ### R3. Files - Export, a report, a twice-run hash, both tools. No physical print. Accept when: the command passes, and a deliberately thin wall fails the report. ### R4. Inputs - Numeric inputs are read from `spekkr.inputs.json` and must stay inside the ranges in the Inputs table in `design.md`. - A value outside a range is refused before modelling, with a message that names the key. - Options add or remove the features in that table. The `tool` swap selects CadQuery or OpenSCAD; both must meet the same numbers. Accept when: default and one out-of-range value are handled as above, and a second legal input set still matches the formulas in `design.md`. ## Verification Hex pitch, hook and bin insertion clearances, and wall thickness are measured on generated meshes. A rendered wall with a few accessories mated in place is written. Meshes are manifold. No physical print is required. ## Definition of done - Every acceptance check above runs from one command, and all pass at the person's inputs. - A README says how to make the wall and the accessories, and that a print is optional.