summaryrefslogtreecommitdiff
path: root/multiswitch.scad
Unidiff
Diffstat (limited to 'multiswitch.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--multiswitch.scad7
1 files changed, 5 insertions, 2 deletions
diff --git a/multiswitch.scad b/multiswitch.scad
index 75d95e4..ae85ee3 100644
--- a/multiswitch.scad
+++ b/multiswitch.scad
@@ -1,4 +1,5 @@
1layer_height=.2; extrusion_width=.5; 1layer_height=.2; extrusion_width=.5;
2epsilon=.01; 2epsilon=.01;
3draft = true;
3 4
4use <pushfittery.scad>; 5use <pushfittery.scad>;
@@ -12,5 +13,7 @@ module multiswitch(
12 shell = 5*extrusion_width, 13 shell = 5*extrusion_width,
13 pf = pushfit_embeddest, 14 pf = pushfit_embeddest,
15
14 debug = 0, // how many inputs -1 the debug cutout spans 16 debug = 0, // how many inputs -1 the debug cutout spans
17 draft = draft,
15 print = true, 18 print = true,
16 19
@@ -76,5 +79,5 @@ module multiswitch(
76 } 79 }
77 forinputs() { 80 forinputs() {
78 translate([0,0,l_input]) pushfit(pf); 81 translate([0,0,l_input]) pushfit(pf,draft=draft);
79 translate([0,0,l_narrow]) { 82 translate([0,0,l_narrow]) {
80 cylinder(d=lod,h=l_input+1-l_narrow,$fn=lod*fnd); 83 cylinder(d=lod,h=l_input+1-l_narrow,$fn=lod*fnd);
@@ -85,5 +88,5 @@ module multiswitch(
85 } 88 }
86 foroutput() { 89 foroutput() {
87 translate([0,0,l_output]) pushfit(pf); 90 translate([0,0,l_output]) pushfit(pf,draft=draft);
88 cylinder(d=lod,h=l_output+1,$fn=lod*fnd); 91 cylinder(d=lod,h=l_output+1,$fn=lod*fnd);
89 } 92 }