From 42c1707628eb3c846372e67b025cd4491104bb29 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 14 Jun 2013 10:52:21 +0100 Subject: [PATCH] belt-slot-cut-jig: round off the corners of the holder --- belt-slot-cut-jig.scad | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/belt-slot-cut-jig.scad b/belt-slot-cut-jig.scad index ee51907..cca4e27 100644 --- a/belt-slot-cut-jig.scad +++ b/belt-slot-cut-jig.scad @@ -16,6 +16,8 @@ holder_ctie_thick = 3.0 + 0.5; holder_attach_walls = 3; holder_attach_roof = 2.5; +holder_corner_round = 2.0; + jig_interval = 25; strap_width = 26.75 + 0.7; strap_thick = 3; @@ -135,11 +137,13 @@ module MaybeRoundedCube(sizes, roundedness){ } module PunchHolder(cutouts=true){ + roundedness = cutouts ? holder_corner_round : 0; difference(){ translate([-holder_xsz/2, holder_block_min_y, 0]) - cube([holder_xsz, - holder_max_y - holder_block_min_y, - holder_block_zsz]); + MaybeRoundedCube([holder_xsz, + holder_max_y - holder_block_min_y, + holder_block_zsz], + roundedness); if (cutouts) rotate([0,0,-crewpunch_skew_angle]) translate([punch_dx, @@ -149,10 +153,11 @@ module PunchHolder(cutouts=true){ } difference(){ translate([-holder_attach_xsz/2, holder_all_min_y, 0]) - cube([holder_attach_xsz, - attach_ysz, - holder_block_zsz + punch_travel - + holder_ctie_thick + holder_attach_roof + 1]); + MaybeRoundedCube([holder_attach_xsz, + attach_ysz, + holder_block_zsz + punch_travel + + holder_ctie_thick + holder_attach_roof + 1], + roundedness); if (cutouts) translate([-30, holder_all_min_y + holder_attach_walls, -- 2.30.2