summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -13,25 +13,25 @@ module mold(
cube(size=[size[0]+2*s,size[1]+2*s,size[2]+s]);
translate([s,s,s]) {
hull() {
translate([chamfer,0,chamfer])
cube(size=[size[0]-2*chamfer,size[1],size[2]-2*chamfer]);
translate([0,chamfer,chamfer])
cube(size=[size[0],size[1]-2*chamfer,size[2]-2*chamfer]);
translate([chamfer,chamfer,0])
cube(size=[size[0]-2*chamfer,size[1]-2*chamfer,size[2]+1]);
}
}
}
- gw = 3*s; // guide width, in case I'll want to change it.
+ gw = 4*s; // guide width, in case I'll want to change it.
h_protrude_ = h_protrude<0 ? size[2] : h_protrude;
module trusion(in,gw=gw,h_protrude=h_protrude_) {
translate([-gw/2,0,s+size[2]]) union() {
hull() {
translate([0,0,in])
cube(size=[gw,in+s,v_protrude-in]);
cube(size=[gw,s,in]);
}
hull() {
translate([0,0,-h_protrude])
cube(size=[gw,s,v_protrude+h_protrude]);
translate([0,-h_protrude,0])