author | Michael Krelin <hacker@klever.net> | 2018-07-31 19:53:06 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-07-31 19:53:06 (UTC) |
commit | e25427a293ea1f3cbf2e1f90562fb76d8c5632ba (patch) (side-by-side diff) | |
tree | a44a3ac75f9a2ef2b72a30cbc6113a6aa1083cc1 | |
parent | 4a82ab895f87a13be001635118499243f3a6171e (diff) | |
download | extrudery-e25427a293ea1f3cbf2e1f90562fb76d8c5632ba.zip extrudery-e25427a293ea1f3cbf2e1f90562fb76d8c5632ba.tar.gz extrudery-e25427a293ea1f3cbf2e1f90562fb76d8c5632ba.tar.bz2 |
multiswitch: customizer cutoff comment
-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); |