diff --git a/pcb/10W/TransportProtection.scad b/pcb/10W/TransportProtection.scad index 8f35050c6d00c2513e53e5925b87c92c9479a741..9895101943121a179e9c29841399e533a54a203b 100644 --- a/pcb/10W/TransportProtection.scad +++ b/pcb/10W/TransportProtection.scad @@ -45,9 +45,15 @@ module pcb3D(wi, hi, ri, height=1.6, off=pcb_off) { module body(wi, hi, ri, height=pcb_t, off=pcb_off, _str=box_str) { + + outer_w = wi; + difference() { pcb3D(wi, hi, ri, height=height, off=_str); + translate([0, 0, _str]) pcb3D(wi, hi, ri, height=height, off=off); + + for (tx=[-outer_w/2]) translate([tx, 0, height/2]) rotate([0, 0, 0]) clipReceptacle(); } } @@ -86,12 +92,12 @@ module clipReceptacle(w=10, h=3, d=2) { } -clipReceptacle(); +// clipReceptacle(); -// body(pcb_w, pcb_h, pcb_r); +body(pcb_w, pcb_h, pcb_r); -//translate([0, 0,box_str]) PCBMockUp(); +translate([0, 0,box_str]) PCBMockUp();