# Design This file fixes the geometry. How the model's code is organised is up to you, as long as the numbers here hold. ## Cavity Depth `diameter * 0.35`, opening at the south pole, with a 1.2 mm minimum neck. Relief amplitude, if on, is 1.2 mm, from an original height field in the repo, not a third-party map. ## Light A simulated light at the cavity centre, intensity and camera in `fixtures/moon-render.json`. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `diameter` | Sphere diameter, mm | 180 | From 80 to 280, the outside of the moon. | | `wall` | Wall thickness, mm | 2.2 | From 1.4 to 4. | | `socket` | Socket diameter, mm | 28 | The bulb cavity, from 20 to 40. | | `relief` | A shallow relief | on | A documented crater-like relief, not a copyrighted texture. | | `stand` | A ring stand | on | A separate ring the sphere sits in. | | `tool` | Modelling tool | cadquery | CadQuery writes STEP and STL. OpenSCAD writes STL. | ## Acceptance at the defaults Millimetres. Default sphere diameter 180, shell wall 2.0, relief on, ring stand on. | Quantity | Value | Tolerance | Source | | --- | --- | --- | --- | | Outer diameter | 180.00 | 0.20 | Of the sphere | | Shell wall | 2.00 | 0.10 | Almost everywhere | | Relief depth | 1.20 | 0.10 | When `relief` is on, original craters | | Light well diameter | 40.00 | 0.20 | Opening opposite the stand | | Ring stand inner diameter | 80.00 | 0.20 | The sphere sits in it | The relief is an original crater pattern, not a copyrighted lunar texture. The two parts (shell and stand) are separate STLs. Print position: shell open-face down, stand on its ring. ## 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/shell.png` | Shell 180 mm, original crater relief | | `shots/assembly.png` | Shell in a 80 mm ring stand | ## 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. Sphere diameter, wall thickness, and fixture or bulb cavity clearance are measured on the mesh. The mesh is manifold. Lit and unlit renders use simulated light. No physical print and no real bulb are required. Relief, if any, is original.