From 462211cfe016303ddba204c62dde0ffbb78660a4 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 31 Jul 2018 19:30:01 +0000 Subject: pass draft down the chain from multiswitch to pushfit --- diff --git a/multiswitch.scad b/multiswitch.scad index 75d95e4..ae85ee3 100644 --- a/multiswitch.scad +++ b/multiswitch.scad @@ -1,5 +1,6 @@ layer_height=.2; extrusion_width=.5; epsilon=.01; +draft = true; use ; include ; @@ -11,7 +12,9 @@ module multiswitch( minshell = 2*extrusion_width, shell = 5*extrusion_width, pf = pushfit_embeddest, + debug = 0, // how many inputs -1 the debug cutout spans + draft = draft, print = true, liner_d_tolerance=.2 @@ -75,7 +78,7 @@ module multiswitch( } } forinputs() { - translate([0,0,l_input]) pushfit(pf); + 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]) @@ -84,7 +87,7 @@ module multiswitch( cylinder(d=liner_id,h=l_input+epsilon,$fn=liner_id*fnd); } foroutput() { - translate([0,0,l_output]) pushfit(pf); + translate([0,0,l_output]) pushfit(pf,draft=draft); cylinder(d=lod,h=l_output+1,$fn=lod*fnd); } hull() { -- cgit v0.9.0.2