Skip to content

Enclosure Base Snap V1

implemented unverified

Enclosure base for a SNAP-ON lid (pure recipe): the R2 shell plus receiver windows through both X walls — no screws, the lid's cantilever hooks click in. Window position chains from the shared hook dimensions and the snap_joint verifies undercut and flexure strain before any CAD.

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_snap
archetype: enclosure_base_snap_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_llength82mm40mm … 200mmfunctionalexposed
box_wlength52mm30mm … 160mmfunctionalexposed
box_hlength26mm12mm … 80mmfunctionalexposed
walllength2.4mm1.6mm … 5mmmanufacturing
floor_tlength3mm2mm … 6mmmanufacturing
corner_rlength6mm2mm … 14mmaesthetic
port_zlength12mm6mm … expr(box_h - 5)functionalexposed
portchoiceusb_cusb_c | micro_usb | usb_a | hdmi | audio_35 | sd | barrel_55functional
hook_wlength8mm5mm … 16mmassembly
lip_hlength3mm2mm … 5mmassembly
plug_depthlength3.5mm2mm … 8mmassembly
hook_lenlength9mm6mm … 18mmassembly

Regions

  • shell mounting surface
  • floor aesthetic lightening

Contract

Guarantees

must-have features and invariants — verified on every build

  • box_shell
  • pass_through_cutout
  • hook_len + 4 < 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_shellport_cutoutsnap_window_pair

Allowed modifiers

add_grid_slot_fieldadd_hex_perforationfillet_soften

Subscribed validators (4)

form.shell_walls_okform.cuts_respect_keepoutstopology.single_connected_solidtopology.cutout_present