summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--mold.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/mold.scad b/mold.scad
index e4f93fc..fee3ba0 100644
--- a/mold.scad
+++ b/mold.scad
@@ -19,13 +19,13 @@ module mold(
19 cube(size=[size[0],size[1]-2*chamfer,size[2]-2*chamfer]); 19 cube(size=[size[0],size[1]-2*chamfer,size[2]-2*chamfer]);
20 translate([chamfer,chamfer,0]) 20 translate([chamfer,chamfer,0])
21 cube(size=[size[0]-2*chamfer,size[1]-2*chamfer,size[2]+1]); 21 cube(size=[size[0]-2*chamfer,size[1]-2*chamfer,size[2]+1]);
22 } 22 }
23 } 23 }
24 } 24 }
25 gw = 3*s; // guide width, in case I'll want to change it. 25 gw = 4*s; // guide width, in case I'll want to change it.
26 h_protrude_ = h_protrude<0 ? size[2] : h_protrude; 26 h_protrude_ = h_protrude<0 ? size[2] : h_protrude;
27 module trusion(in,gw=gw,h_protrude=h_protrude_) { 27 module trusion(in,gw=gw,h_protrude=h_protrude_) {
28 translate([-gw/2,0,s+size[2]]) union() { 28 translate([-gw/2,0,s+size[2]]) union() {
29 hull() { 29 hull() {
30 translate([0,0,in]) 30 translate([0,0,in])
31 cube(size=[gw,in+s,v_protrude-in]); 31 cube(size=[gw,in+s,v_protrude-in]);