Pcb Tray V1
implemented unverified
Open mounting tray for a bare PCB: a low-walled shell, four screw bosses on the board's hole span (pilot bores sized for heatset inserts by default), a rim cable notch and two countersunk base screws through the floor. The open cousin of enclosure_base_v1 — reach for the enclosure when the board needs a closed box and lid.
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_pcb_tray
archetype: pcb_tray_v1@1
params:
tray_l: 90mm
tray_w: 70mm
wall_h: 15mm
pcb_sx: 66mm
pcb_sy: 48mm
modifiers:
- id: add_hex_perforation
target: floor Parameters
| parameter | type | default | range | role | |
|---|---|---|---|---|---|
tray_l | length | 90mm | 50mm … 200mm | functional | exposed |
tray_w | length | 70mm | 40mm … 160mm | functional | exposed |
wall_h | length | 15mm | 8mm … 40mm | functional | exposed |
wall | length | 2.4mm | 1.6mm … 4mm | structural | |
floor_t | length | 3mm | 2.4mm … 6mm | structural | |
corner_r | length | 4mm | 2mm … 10mm | aesthetic | |
pcb_sx | length | 66mm | 15mm … expr(tray_l - 18) | assembly | exposed |
pcb_sy | length | 48mm | 15mm … expr(tray_w - 18) | assembly | exposed |
boss | length | 7mm | 5mm … 10mm | structural | |
boss_h | length | 6mm | 4mm … 12mm | assembly | |
pilot_d | length | 4mm | 2.4mm … 5.6mm | assembly | |
cable_d | length | 6mm | 3mm … 14mm | functional | |
mount_screw | choice | M4 | M3 | M4 | assembly | |
min_web | length | 3mm | 3mm … 8mm | manufacturing |
Regions
-
shellmounting surface -
flooraesthetic lightening
Contract
Guarantees
must-have features and invariants — verified on every build
box_shellscrew_bossespass_through_cutoutboss_h < wall_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_patternwire_exitcountersunk_hole_pattern
Allowed modifiers
add_hex_perforationadd_voronoi_fieldfillet_soften
Subscribed validators (12)
interface.frame_existsinterface.frame_orthonormalform.shell_walls_okform.cuts_respect_keepoutsform.min_web_between_holesform.holes_within_outlinetopology.cutout_presenttopology.ribs_presenttopology.pockets_presenttopology.screw_holes_opentopology.countersinks_presenttopology.single_connected_solid