Skip to content

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

parametertypedefaultrangerole
box_louter lengthlength82mm40mm … 200mmfunctionalexposed
box_wouter widthlength52mm30mm … 160mmfunctionalexposed
box_houter heightlength26mm12mm … 80mmfunctionalexposed
walllength2.4mm1.6mm … 5mmmanufacturing
floor_tlength3mm2mm … 6mmmanufacturing
corner_rlength6mm2mm … 14mmaesthetic
boss_sxboss pattern span along Xlengthexpr(box_l - 2 * wall - 16)20mm … expr(box_l - 2 * wall - 12)assembly
boss_sylengthexpr(box_w - 2 * wall - 16)12mm … expr(box_w - 2 * wall - 12)assembly
boss_hlength6mm3mm … expr(box_h - floor_t - 4)assembly
pilot_dheatset/self-tap pilot bore diameterlength4mm2mm … 6mmassembly
port_zport opening center heightlength12mm6mm … expr(box_h - 5)functionalexposed
portchoiceusb_cusb_c | micro_usb | usb_a | hdmi | audio_35 | sd | barrel_55functional

Regions

  • shell mounting surface
  • floor aesthetic lightening

Contract

Guarantees

must-have features and invariants — verified on every build

  • box_shell
  • screw_bosses
  • pass_through_cutout
  • floor_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