-rw-r--r-- | multiswitch.scad | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/multiswitch.scad b/multiswitch.scad index 2b909a9..f58b7bd 100644 --- a/multiswitch.scad +++ b/multiswitch.scad @@ -60,49 +60,51 @@ module multiswitch( rotate([90-laydown_angle,0,0]) translate([0,r,h_bottom]) rotate([0,0,angular_step/2-90]) children(); } module finalize() { if(print) laydown() children(); else children(); } finalize() difference() { hull() { forinputs() translate([0,0,l_input+pushfit_h]) mirror([0,0,1]) cylinder(d=pushfit_d+shell*2,h=epsilon,$fn=pushfit_d*fnd); foroutput() translate([0,0,l_output+pushfit_h]) { cylinder(d=pushfit_d+shell*2,h=epsilon,$fn=pushfit_d*fnd); } } forinputs() { translate([0,0,l_input]) pushfit(pf,draft=draft); translate([0,0,l_narrow]) { cylinder(d=lod,h=l_input+1-l_narrow,$fn=lod*fnd); mirror([0,0,1]) translate([0,0,-epsilon]) cylinder(d1=(liner_id+lod)/2,d2=liner_id,h=liner_id,$fn=lod*fnd); } cylinder(d=liner_id,h=l_input+epsilon,$fn=liner_id*fnd); } foroutput() { translate([0,0,l_output]) pushfit(pf,draft=draft); cylinder(d=lod,h=l_output+1,$fn=lod*fnd); } hull() { forinputs() translate([0,0,l_fork]) cylinder(d=liner_id,h=epsilon,$fn=liner_id*fnd); foroutput() cylinder(d=liner_id,h=epsilon,$fn=liner_id*fnd); } if(debug) { translate([0,0,-20/*TODO:*/]) rotate_extrude(angle=angular_step*debug) square([50,100]/*TODO:*/); } } } -multiswitch(debug=2,print=false); + +//CUSTOMIZERCUTOFF +multiswitch(debug=1,print=false,inputs=2); |