summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-07-31 19:30:01 (UTC)
committer Michael Krelin <hacker@klever.net>2018-07-31 19:30:01 (UTC)
commit462211cfe016303ddba204c62dde0ffbb78660a4 (patch) (unidiff)
tree6b0d8e0b2d29d3f82a0d81ccab8afce9de53d7f2
parent5765a244444bedd82c833758dfde721274a4b947 (diff)
downloadextrudery-462211cfe016303ddba204c62dde0ffbb78660a4.zip
extrudery-462211cfe016303ddba204c62dde0ffbb78660a4.tar.gz
extrudery-462211cfe016303ddba204c62dde0ffbb78660a4.tar.bz2
pass draft down the chain from multiswitch to pushfit
Diffstat (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,5 +1,6 @@
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>;
5include <pushfit_data.scad>; 6include <pushfit_data.scad>;
@@ -11,7 +12,9 @@ module multiswitch(
11 minshell = 2*extrusion_width, 12 minshell = 2*extrusion_width,
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
17 liner_d_tolerance=.2 20 liner_d_tolerance=.2
@@ -75,7 +78,7 @@ module multiswitch(
75 } 78 }
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);
81 mirror([0,0,1]) translate([0,0,-epsilon]) 84 mirror([0,0,1]) translate([0,0,-epsilon])
@@ -84,7 +87,7 @@ module multiswitch(
84 cylinder(d=liner_id,h=l_input+epsilon,$fn=liner_id*fnd); 87 cylinder(d=liner_id,h=l_input+epsilon,$fn=liner_id*fnd);
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 }
90 hull() { 93 hull() {