Enclosure Lid V1
implemented unverified
Lid for enclosure_base_v1 (pure recipe, zero Python): a rounded top plate, an inset plug that drops into the shell interior (the lid_seat joint verifies the clearance chain), countersunk screws into two of the base's bosses, and a press-fit alignment pin pair into the other two. Match the mating dimensions via assembly.shared.
Declaration example
A minimal product declaration for this archetype — exposed parameters at
their defaults. Validate and build it with
forge validate / forge build.
schema: product/v1
id: my_enclosure_lid
archetype: enclosure_lid_v1@1
params:
lid_l: 82mm
lid_w: 52mm
modifiers:
- id: add_hex_perforation
target: lid Parameters
| parameter | type | default | range | role | |
|---|---|---|---|---|---|
lid_lmatches the box outer length | length | 82mm | 40mm … 200mm | functional | exposed |
lid_w | length | 52mm | 30mm … 160mm | functional | exposed |
lid_t | length | 3mm | 2.4mm … 6mm | manufacturing | |
corner_r | length | 6mm | 2mm … 14mm | aesthetic | |
wallthe BOX's wall — the plug is sized from it | length | 2.4mm | 1.6mm … 5mm | assembly | |
seat_clearance | length | 0.3mm | 0.15mm … 0.6mm | manufacturing | |
plug_depth | length | 4mm | 2mm … 10mm | assembly | |
boss_sxmust equal the base's boss span (share it) | length | expr(lid_l - 2 * wall - 16) | 20mm … expr(lid_l - 2 * wall - 12) | assembly | |
boss_sy | length | expr(lid_w - 2 * wall - 16) | 12mm … expr(lid_w - 2 * wall - 12) | assembly | |
screw | choice | M3 | M3 | M4 | assembly | |
pin_dpilot_d + interference: presses into two boss pilots | length | 4.1mm | 2.5mm … 6mm | assembly | |
pin_len | length | 4mm | 3mm … 8mm | assembly | |
min_web | length | 4mm | 3mm … 10mm | manufacturing |
Regions
-
lidmounting surface
Contract
Guarantees
must-have features and invariants — verified on every build
mounting_plate_bodylid_plugalignment_pinslid_t >= 2.4
Will refuse
explicit prohibitions — the engine refuses to build these
- none declared
Not claimed
what passing validation does not mean
- Provided “as is” under Apache-2.0 — no warranty of fitness for a particular purpose.
Built from operations
rounded_plateinset_plugcountersunk_hole_patternpin_pair
Allowed modifiers
add_hex_perforationadd_voronoi_fieldadd_phyllotaxis_fieldfillet_soften
Subscribed validators (6)
form.min_web_between_holesform.holes_within_outlinetopology.single_connected_solidtopology.screw_holes_opentopology.countersinks_presenttopology.pins_present