diff --git a/pcb/10W/TransportProtection.scad b/pcb/10W/TransportProtection.scad index 760659ff13a39e61b98f9ac7cb8ee70641c5ff0f..3f70865c507fb404be0c43746e1a8ba925bc2166 100644 --- a/pcb/10W/TransportProtection.scad +++ b/pcb/10W/TransportProtection.scad @@ -8,16 +8,17 @@ $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 -pcb_sc_off = 5; // offset of screw holes from edge -pcb_conn_w = 20; -pcb_conn_h = 3; +pcb_w = 40.5; +pcb_h = 67.5; +pcb_r = 5; // edge radius +pcb_off = 0.4; +pcb_t = 5 +1; // thickness including LED and inductor +pcb_sc_off = 5; // offset of screw holes from edge +pcb_conn_w = 20; +pcb_conn_h = 3; -box_str = 3; // Material strength +box_str = 3; // Material strength +box_h = pcb_t + 2; module pcb(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off) { @@ -134,9 +135,9 @@ module outerRing(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, _str=box_str) { TpOrChamfer = 3; -module TransportProtection(w=pcb_w, h=pcb_h, r=pcb_r, height=pcb_t, off=pcb_off, _str=box_str) { +module TransportProtection(w=pcb_w, h=pcb_h, r=pcb_r, height=pcb_t, off=pcb_off, _str=box_str, _boxH=box_h) { - _h = height + 2; + _h = _boxH + 2; difference() { body(w, h, r, _h, off, _str);