Enclosure Base V1
implemented unverified
Open-top electronics enclosure base (wave R2, pure recipe): rounded box shell, four corner screw bosses with blind pilot bores for heatset or self-tapping screws, a device-jack port through one wall — and the floor is a lightening region, so vent fields apply as ordinary modifiers with the bosses and port automatically derived as keepouts.
Built from a real example — orbit to inspect.
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_base
archetype: enclosure_base_v1@1
params:
box_l: 82mm
box_w: 52mm
box_h: 26mm
port_z: 12mm
modifiers:
- id: add_grid_slot_field
target: floor Parameters
| parameter | type | default | range | role | |
|---|---|---|---|---|---|
box_louter length | length | 82mm | 40mm … 200mm | functional | exposed |
box_wouter width | length | 52mm | 30mm … 160mm | functional | exposed |
box_houter height | length | 26mm | 12mm … 80mm | functional | exposed |
wall | length | 2.4mm | 1.6mm … 5mm | manufacturing | |
floor_t | length | 3mm | 2mm … 6mm | manufacturing | |
corner_r | length | 6mm | 2mm … 14mm | aesthetic | |
boss_sxboss pattern span along X | length | expr(box_l - 2 * wall - 16) | 20mm … expr(box_l - 2 * wall - 12) | assembly | |
boss_sy | length | expr(box_w - 2 * wall - 16) | 12mm … expr(box_w - 2 * wall - 12) | assembly | |
boss_h | length | 6mm | 3mm … expr(box_h - floor_t - 4) | assembly | |
pilot_dheatset/self-tap pilot bore diameter | length | 4mm | 2mm … 6mm | assembly | |
port_zport opening center height | length | 12mm | 6mm … expr(box_h - 5) | functional | exposed |
port | choice | usb_c | usb_c | micro_usb | usb_a | hdmi | audio_35 | sd | barrel_55 | functional |
Regions
-
shellmounting surface -
flooraesthetic lightening
Contract
Guarantees
must-have features and invariants — verified on every build
box_shellscrew_bossespass_through_cutoutfloor_t + 2 < box_h
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_box_shellboss_patternport_cutout
Allowed modifiers
add_grid_slot_fieldadd_hex_perforationfillet_soften
Subscribed validators (6)
form.shell_walls_okform.cuts_respect_keepoutstopology.single_connected_solidtopology.cutout_presenttopology.ribs_presenttopology.pockets_present