diff --git a/10W/TransportProtection.scad b/10W/TransportProtection.scad new file mode 100644 index 0000000000000000000000000000000000000000..96b1990a500a49e82f91dead8a8af72df992d82a --- /dev/null +++ b/10W/TransportProtection.scad @@ -0,0 +1,30 @@ + +$fs = 0.5; +$fa = 1.0; + + + +pcb_w = 40.5; +pcb_h = 67.5; +pcb_r = 5; // edge radius +pcb_off = 0.4; +pcb_t = 5; // thickness including LED and inductor + + + +module pcb(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off) { + + _w = w + 2*off; + _h = h + 2*off; + _r = r + off; + + hull() for (tx=[_r, _w-_r], ty=[_r, _h-_r]) translate([tx, ty, 0]) circle(r=r); +} + +module pcbBox(wi, hi, ri, _str) { + + linear_extrude(_str) pcb();; +} + +pcbBox(); +