3D Printed Enclosure


The final independent check has finished. I’m reconciling its measured results now and will close only if the compact base and lid pass without interference.
The compact geometry passes, but the review found the lid node exploded upward again and several document values are stale. I’m resetting the lid to the seated datum, correcting the documentation, and validating J1 access against the actual populated board rather than assumed corridors.
Thought for 7 mins 30 sec
Created a thread
Audio Amp Enclosure
Completed
View Thread
Thought for 18 sec
Awaiting 1 background task
"Audio Amp Enclosure" completed.
The final correction is complete. I’m checking the seated node state, actual J1 tool/wire access, and corrected build notes now.
Reduced the highlighted right-side space:
  • Right clearance: 12.0 → 1.0 mm
  • Enclosure width: 118.1 → 107.1 mm
  • J1 wire and screwdriver access verified
  • Lid seating, screw bosses, RCA openings, vents, and rounded corners preserved
  • Base and lid are seated correctly at the shared datum
Updated details: Enclosure Build.

Enclosure Build
Overview
Two-piece, desktop/bench enclosure for the High-Fidelity Class-D Audio Amplifier PCB, designed for FDM PETG with a removable, screw-fastened ventilated lid.
  • PCB outline: 100.0 × 90.0 mm, centered at layout/root (0,0)
  • PCB thickness: 1.30 mm
  • Assembled external enclosure envelope: 107.1 × 119.6 × 39.4 mm (x=-53.3…53.8, y=-59.8…59.8, z=-8.1…31.3)
  • Nominal wall/floor thickness: 2.8 mm; reinforced flat lid plate: 3.8 mm
  • Local datum: z=0 at PCB top; floor is below the board at z=-8.1…-5.3 mm
  • Internal wall limits: x=-50.5…51.0 mm, y=-57.0…57.0 mm
  • Board edge clearance: 0.5 mm at the RCA side, 1.0 mm at the compacted right side, and 12.0 mm field-wiring chambers on the speaker-terminal sides
Exterior Corner Geometry
  • Coordinated rounded-rectangle plan profile on both parts: 5.5 mm actual outer corner radius.
  • The requested 8.0 mm target remains reduced to R5.5. With the compact right wall and right screw stations moved from x=54 to x=43 mm, pocket-to-corner-transition clearances remain 0.70 mm left and 0.20 mm right.
  • Matched base inner corner radius: 2.7 mm (5.5 - 2.8), preserving the nominal 2.8 mm wall through a true offset rather than independently rounded profiles.
  • Rounded lid tongue radii: 2.4 mm outer and 0.6 mm inner, preserving the 1.8 mm tongue thickness, 0.30 mm fit clearance, and 3.0 mm engagement.
  • Handling fillets: 1.0 mm on all eight safe exposed lower perimeter edges of the base and all eight safe exposed upper perimeter edges of the lid. The source rejects the build unless each required topology selection returns exactly eight edges.
  • Overall assembled envelope is now 107.1 × 119.6 × 39.4 mm; rounding removes only corner material inside those extents.
  • Base shadow line: continuous 0.50 mm radial depth × 1.00 mm height, spanning z=26.50…27.50 mm and beginning immediately at the authored seam. It leaves 2.30 mm of the established 2.8 mm wall behind the recess and does not remove the internal tongue/rebate land.
Assets
  • 3D Model

  • 3D Model

Each asset card provides source, STL, 3MF, STEP, OBJ, and GLB downloads. Both are placed under ROOT in the same PCB-centered frame as separate active model nodes at (0,0,0); the lid remains independently toggleable.
Measured Design Inputs
  • Mounting-hole centers: (-45,40), (45,40), (-45,-40), (45,-40) mm; board holes are Ø3.2 mm.
  • RCA connector element origins: L INPUT (-42.8902,-24.8824) mm, R INPUT (-42.75,-8.5028) mm, each rotated 90° and exiting the left panel. Flat RCJ-017 footprint geometry places the barrel center at local x=5.0 mm; after rotation this becomes a board-frame Y offset of +5.0 mm. The true mating axes are therefore L INPUT y=-19.8824 mm and R INPUT y=-3.5028 mm, with model-supported axis height z=7.5 mm.
  • Power terminal J1: (41,0) mm, exiting the right panel.
  • Speaker terminals: LEFT (30.1441,-40.188) mm, exiting the bottom panel; RIGHT (30,40) mm, exiting the top panel.
  • KF301-5.0 family drawing: 10.0 mm height, 7.60 mm depth, 5.0 mm pitch; 2-position body length is approximately 10 mm from the documented pole formula.
  • ATS heatsink: sourced envelope 50 × 13.9 × 25 mm. Board footprint is rotated so the long direction is along board Y, centered near (-7.09,0) mm.
  • All populated electrical components are on the top side; bottom-side evidence is limited to graphics/copper, so a 4.0 mm board-underbody support gap is conservative.
Connector Openings

Table


InterfacePanel / exit axisAuthored openingAlignment / clearance intent
L RCA inputLeft / −XØ12.5 mm, center y=-19.8824, z=7.5Centered on the measured barrel axis; includes Ø14 mm outer lead-in with 0.800 mm actual material depth. Residual authored alignment error: 0.0 mm.
R RCA inputLeft / −XØ12.5 mm, center y=-3.5028, z=7.5Independently centered on the measured barrel axis; includes Ø14 mm outer lead-in with 0.800 mm actual material depth. Residual authored alignment error: 0.0 mm.
DC/power terminal J1Right / +X13 × 13 mm, center y=0, z=7.0Opening axis and size unchanged. The compact inner wall is x=51.0; measured rotated body front is x=45.25, leaving 5.75 mm internal body-to-wall space and 1.0 mm board-edge clearance.
LEFT speaker outputBottom / −Y13 × 13 mm, center x=30.1441, z=7.0Clear field-wire entry with 12 mm chamber beyond board edge.
RIGHT speaker outputTop / +Y13 × 13 mm, center x=30.0, z=7.0Clear field-wire entry with 12 mm chamber beyond board edge.
The populated J1 model and flat layout place the two +X wire-entry axes at board-frame y=-2.500 mm and y=+2.500 mm, with the model/drawing hole-center height at z=5.000 mm. A straight Ø6 mm ferrule/wire corridor around either actual axis fits the 13 × 13 mm opening (y=-6.5…+6.5, z=0.5…13.5 mm) with a true minimum base clearance of 1.000 mm at the outer Y edge; the former 3.500 mm centered-envelope claim was not applicable to the two real terminal positions. The body front is x=45.250 mm, leaving 5.750 mm to the x=51.000 mm inner wall and open passage through the wall cutout.
The two populated screw/tool axes are vertical at board-frame x=42.500 mm, y=±2.500 mm. With the lid removed, a Ø5.5 mm screwdriver shaft has 5.750 mm radial clearance to the right inner wall and no collision with the base, J1 housing access recesses, or any other populated component. Layout and focused 3D inspection found no other populated body in the J1 access region; the closest power components are outside the 15 mm corridor. Purchased ferrules, wire bend radius, and driver-tip fit remain first-print checks.
PCB and Lid Fastening
PCB mounting
  • Four fused standoffs: Ø7.0 mm, from z=-5.3 to z=-1.3 mm.
  • Through bores: Ø3.4 mm for M3 board screws through the board's Ø3.2 mm holes.
  • Recommended: M3 × 6 mm screws with washers and M3 nuts, or M3 threaded inserts/nuts below the standoffs depending on print strategy.
Lid fastening
  • Four base bosses: Ø9.0 mm, centers (-42,52), (43,52), (-42,-52), (43,-52) mm. Only the two right stations moved; insert and screw geometry is unchanged.
  • Bosses are fused to the long walls with 6.0 mm wide full-height webs, exceeding the 2.8 mm nominal wall section.
  • Heat-set insert bores: Ø4.2 mm × 6.200 mm actual depth, sized as a starting point for common M3 inserts; confirm against the purchased insert's installation chart.
  • Lid clearance bores: Ø3.5 mm through, continuous through the plate and all local tongue intersections for screw/tool access.
  • Underside boss-clearance pockets: Ø10.2 mm, spanning z=24.25…27.80 mm (3.55 mm axial depth) at all four boss centers. Each pocket opens 0.25 mm below the tongue bottom, fully notches the local 3.0 mm tongue section, and ends 0.30 mm above the unchanged flush boss top at z=27.50 mm. Relative to each Ø9.0 mm boss this provides 0.60 mm radial clearance per side and deterministic positive seating clearance.
  • Boss-web reliefs: at every screw station, the lid also has a 6.60 mm wide local tongue slot spanning |y|=50.30…57.10 mm and z=24.25…27.80 mm. This clears each 6.0 mm support web by 0.30 mm per X side, begins 0.30 mm inside the web's inner face, extends 0.40 mm beyond the tongue outer face, and provides 0.30 mm positive axial clearance above the flush web top.
  • Registration tongue: 1.8 mm thick × 3.0 mm deep, spanning z=24.50…27.50 mm, with 0.30 mm per-side fit clearance. It is locally relieved only by the four concentric boss pockets and four web-clearance slots, retaining full 3.0 mm engagement everywhere else.
  • The lid plate is uniformly thickened upward to 3.8 mm, retaining a flat support-friendly exterior and leaving the seam, tongue underside, vents, connector geometry, and base unchanged.
  • Top counterbores: Ø6.8 mm × 1.9 mm deep, with floors at z=29.40 mm. Provisional screw assumption: ISO 7380-style M3 button head, approximately Ø5.7 mm × 1.65 mm high; the assumed head top is 0.25 mm below the flat exterior at z=31.30 mm.
  • Minimum remaining clamp material between the boss-pocket roof and counterbore floor: 1.60 mm (29.40 - 27.80), meeting the preferred 1.4–1.6 mm range.
  • Printer and purchased screw-head fit are PROVISIONAL and require first-print validation before a production run.
Ventilation and Thermal Clearance
  • Lid underside: z=27.5 mm; heatsink sourced height: 25 mm; resulting nominal top clearance: 2.5 mm. Increasing the lid plate upward to 3.8 mm does not change this internal clearance.
  • Six lid slots directly above the heatsink region.
  • Each slot: 3.0 × 42.0 mm.
  • Slot pitch: 5.0 mm, leaving 2.0 mm ribs suitable for a 0.4 mm nozzle.
  • Slot centers: x=-19,-14,-9,-4,1,6 mm, y=-0.8 mm.
  • Vents are clear of lid bosses, panel wiring corridors, and enclosure edges.
Suggested PETG Print Settings
  • Nozzle: 0.4 mm
  • Layer height: 0.20 mm
  • Perimeters: 6–7 (the 2.8 mm walls are compatible with a robust perimeter-heavy shell)
  • Top/bottom layers: 5–6
  • Infill: 20–30% gyroid; bosses may use local 60–100% modifier infill
  • PETG nozzle temperature: use filament-maker range, typically 235–250 °C
  • Bed: typically 75–85 °C, with release layer as required by the build plate
  • Base orientation: floor down. Preferred lid orientation is the flat exterior top face down, leaving the 3.0 mm tongue and boss-fit recess surfaces facing upward and free of support contact; validate the short Ø6.8 mm counterbore bridges on the selected printer.
  • Supports: normally none for the base; avoid support contact on the tongue and four underside boss recesses. If the counterbore bridges need assistance, tune bridging or use removable support confined to the counterbores rather than the fit surfaces.
  • Use a 5–8 mm brim on the base if corner lift is observed
PETG is selected for heat tolerance and toughness. Avoid overtightening screws into printed sections; install heat-set inserts with a temperature-controlled tip and allow the boss to cool before loading.
Hardware BOM

Table


ItemSpecificationQty
Lid screwsM3 × 8 mm ISO 7380-style button head, assumed head about Ø5.7 × 1.65 mm4
Lid insertsM3 heat-set inserts, nominal OD compatible with Ø4.2 mm pilot, 5–6 mm length4
PCB screwsM3 × 6 mm4
PCB retentionM3 nuts and washers, or selected M3 insert solution4 each
FeetAdhesive rubber feet, 8–12 mm diameter4
Optional wire dressingSmall PETG-compatible adhesive tie mounts / cable tiesAs needed
Assembly
  1. Print base and lid; deburr all connector openings, vents, and screw bores.
  2. Test an M3 insert in a sacrificial PETG coupon, then install four lid inserts into the Ø4.2 mm boss bores.
  3. Confirm all four Ø3.5 mm lid bores pass the selected M3 screws freely, the heads sit below the flat counterbore rims, and each full-depth Ø10.2 mm underside pocket clears its boss through the locally relieved tongue before installing electronics.
  4. Seat the PCB on the four standoffs, align H1–H4, and fasten without flexing the board.
  5. With the lid removed, connect DC/power and both speaker terminals; keep stripped conductor length controlled and verify no loose strands.
  6. Insert both RCA plugs and verify full seating against the recessed lead-in openings.
  7. Dress right-side power wiring through the 13 × 13 mm opening and 5.75 mm body-to-wall space; use the unchanged 12 mm speaker-edge chambers without crossing lid bosses or the registration lip.
  8. Fit the lid lip into the base, confirm flush seating, then tighten the four M3 lid screws evenly and lightly.
Fit / QA Audit
  • Asset validation: both build123d sources compiled successfully and expose STL/STEP/3MF conversions. Geometry reports confirm one connected solid for the base and one connected solid for the lid.
  • Compact-right validation: previous right inner wall x=62.0 mm gave 12.0 mm PCB-edge clearance; the revised wall x=51.0 mm gives 1.0 mm. Width reduced from 118.1 mm to 107.1 mm while left, top, bottom, and all Z extents remain unchanged.
  • Rounded-corner validation: both assets report 107.1 × 119.6 mm plan extents, four matching R5.5 corners, no self-intersection, thin-wall, or sliver findings, and one connected solid each. The matched R5.5/R2.7 wall profiles preserve the established 2.8 mm nominal wall thickness.
  • Required fillet validation: topology gates found exactly eight lower outer perimeter edges on the base and eight upper outer perimeter edges on the lid before applying the 1.0 mm fillets; an unexpected edge count rejects compilation.
  • Shadow-line validation: the base source subtracts a rounded perimeter band exactly 0.50 mm deep × 1.00 mm high from z=26.50 to the z=27.50 seam. Visual side read-back shows the recess continuously below the seam; the source gate confirms 2.30 mm wall remains behind it.
  • Placement: read-back confirms separate active base and lid nodes at the shared root/PCB datum (0,0,0), scale 1, Z-up, realistic materials enabled, and edges shown.
  • Board containment: cavity spans the full 100 × 90 mm board; floor is 5.3 mm below PCB top and 4.0 mm below PCB underside.
  • Mount alignment: standoff centers exactly match H1–H4.
  • Height: lid underside is 27.5 mm above PCB top, clearing the sourced 25 mm heatsink by 2.5 mm.
  • Wiring: the right inner wall is 1.0 mm beyond the PCB edge but remains 5.75 mm beyond the measured J1 body front; its 13 × 13 mm through opening and 14.2 × 14.2 mm lead-in preserve the wire corridor. Top/bottom speaker chambers remain 12 mm. Bosses remain outside all three terminal corridors.
  • J1 actual-axis access: wire axes (y,z)=(-2.500,5.000) and (+2.500,5.000) mm each pass an Ø6 mm corridor with 1.000 mm minimum opening clearance. Vertical screwdriver axes (x,y)=(42.500,-2.500) and (42.500,+2.500) mm each pass an Ø5.5 mm shaft with 5.750 mm minimum clearance to the compact right wall. Focused populated-board inspection found no neighboring component collision.
  • RCA mating: the prior source incorrectly centered both openings on the element placement origins, producing −5.0 mm Y error and −0.5 mm Z error. Corrected openings match the two independently transformed barrel axes with 0.0 mm authored residual error. Center spacing is 16.3796 mm; with Ø12.5 mm cutouts, 3.8796 mm of wall remains between them, above the 1.2 mm FDM minimum.
  • Clear bores: PCB holes, insert bores, lid through-bores, and recesses are cut after all boss/web/lip unions.
  • Four-corner lid interface: recess, clearance-hole, and counterbore centers exactly match all four base boss centers: (-42,52), (43,52), (-42,-52), (43,-52) mm; authored XY residual is 0.0 mm at each station.
  • Four-station section/interference check: at (-42,52), (43,52), (-42,-52), and (43,-52) mm, the Ø10.2 mm circular pocket clears the Ø9.0 mm boss by 0.60 mm radial and 0.30 mm axial. The added 6.60 mm tongue slot clears each 6.0 mm support web by 0.30 mm per side and reaches 0.30 mm above the web top. The source performs an actual solid boolean intersection between the finished lid and each exact base-web envelope and rejects above 0.001 mm³; all four compiled with authored intersection volume 0.000 mm³. This corrects the prior 1.604 mm³ per-station collision.
  • Full seating: boss tops and support webs now have positive clearance throughout the tongue/interface region. The seam lands fully at z=27.50 mm; the tongue retains full 3.0 mm engagement away from the eight local boss/web relief regions.
  • Seam-land contact clarification: outside the four local web-relief slots, each boss-support web intentionally meets the lid's seam land with 0.000 mm nominal separation to support clamping. This intended face contact has zero penetration volume; the finished-solid web/tongue boolean interference remains 0.000 mm³, so it does not obstruct seating.
  • Rounded-interface seating: the lid tongue and base cavity use coordinated offset radii and the unchanged seam datum. The fixed boss pockets remain clear of the rounded corner transitions, so rounding introduces no boss/tongue/screw interference and does not change the 0.30 mm positive boss-top clearance.
  • Functional openings: both RCA centers/diameters, speaker opening centers/sizes, J1 opening y/z center and size, and all six vent slot centers/sizes are unchanged. Only the J1 opening's X depth follows the relocated right wall, as required to remain a through-wall opening.
  • Clamp section: counterbore floors are at z=29.40 mm and pocket roofs at z=27.80 mm, leaving 1.60 mm minimum PETG under each screw head. The assumed 1.65 mm-high ISO 7380-style button head remains 0.25 mm below the flat exterior.
  • Connected solids: geometry validation reports one solid for the corrected base (107.1 × 119.6 × 35.6 mm, 105 faces) and one solid for the corrected lid (107.1 × 119.6 × 6.8 mm, 103 faces); all posts and bosses overlap the floor/walls through finite material, not tangency.
  • Minimum wall: nominal structural walls remain 2.8 mm; vent ribs are 2.0 mm and are not load-bearing.
  • Scale: authored in millimeters and placed at scale 1.
Explicit conservative assumptions / physical prototype checks
  • The barrel axes are now tied to the actual flat-footprint local center and placed-model height. The Ø12.5 mm plug-clearance diameter remains conservative and should still be checked with the intended RCA cable overmold before a production batch.
  • The terminal drawing does not explicitly label wire-entry and screwdriver axes in text; axes were taken from the actual board edge placement and footprint rotation.
  • The first print remains the required final verification for PETG shrink, insert fit, RCA plug overmold clearance, wire gauge/bend radius, and screwdriver access.
  • The first print must also verify the provisional ISO 7380 button-head dimensions, Ø6.8 counterbore fit, Ø3.5 screw clearance, Ø10.2 full-depth boss-pocket fit, and flush lid seating before tightening.
  • The compact J1 corridor assumes a straight wire/ferrule envelope up to approximately Ø6 mm and a vertical screwdriver shaft up to Ø6 mm. Verify the selected wire gauge, ferrule insulation collar, bend radius, and actual driver on the first print.
  • A legacy project rule hides nodes whose names contain “Cover” or “Enclosure”; the active placed nodes are therefore named Class-D PETG Base and Class-D PETG Lid so they remain independently toggleable.
  • Overview

  • Exterior Corner Geometry

  • Assets

  • Measured Design Inputs

  • Connector Openings

  • PCB and Lid Fastening

  • PCB mounting

  • Lid fastening

  • Ventilation and Thermal Clearance

  • Suggested PETG Print Settings

  • Hardware BOM

  • Assembly

  • Fit / QA Audit

  • Explicit conservative assumptions / physical prototype checks