Unidiff1 files changed, 3 insertions, 2 deletions
|
diff --git a/mold.scad b/mold.scad index d5354b0..e4f93fc 100644 --- a/ mold.scad+++ b/ mold.scad |
|
@@ -3,3 +3,3 @@ module mold( |
3 | s=1, /* shell thickness */ |
3 | s=1, /* shell thickness */ |
4 | h_protrude=5,/* how far to protrude outside horizontally */ |
4 | h_protrude=-1,/* how far to protrude outside horizontally, default is size[2] */ |
5 | v_protrude=10,/* and vertically */ |
5 | v_protrude=10,/* and vertically */ |
@@ -25,3 +25,4 @@ module mold( |
25 | gw = 3*s; // guide width, in case I'll want to change it. |
25 | gw = 3*s; // guide width, in case I'll want to change it. |
26 | module trusion(in) { |
26 | h_protrude_ = h_protrude<0 ? size[2] : h_protrude; |
| |
27 | module trusion(in,gw=gw,h_protrude=h_protrude_) { |
27 | translate([-gw/2,0,s+size[2]]) union() { |
28 | translate([-gw/2,0,s+size[2]]) union() { |
|