Skip to content

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

parametertypedefaultrangerole
lid_lmatches the box outer lengthlength82mm40mm … 200mmfunctionalexposed
lid_wlength52mm30mm … 160mmfunctionalexposed
lid_tlength3mm2.4mm … 6mmmanufacturing
corner_rlength6mm2mm … 14mmaesthetic
wallthe BOX's wall — the plug is sized from itlength2.4mm1.6mm … 5mmassembly
seat_clearancelength0.3mm0.15mm … 0.6mmmanufacturing
plug_depthlength4mm2mm … 10mmassembly
boss_sxmust equal the base's boss span (share it)lengthexpr(lid_l - 2 * wall - 16)20mm … expr(lid_l - 2 * wall - 12)assembly
boss_sylengthexpr(lid_w - 2 * wall - 16)12mm … expr(lid_w - 2 * wall - 12)assembly
screwchoiceM3M3 | M4assembly
pin_dpilot_d + interference: presses into two boss pilotslength4.1mm2.5mm … 6mmassembly
pin_lenlength4mm3mm … 8mmassembly
min_weblength4mm3mm … 10mmmanufacturing

Regions

  • lid mounting surface

Contract

Guarantees

must-have features and invariants — verified on every build

  • mounting_plate_body
  • lid_plug
  • alignment_pins
  • lid_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