From e63e4aa0e10b24c89828258698bfdc8a8b129446 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 12 Jun 2013 23:36:26 +0100 Subject: [PATCH] belt-slot-cut-jig: introduce "translations" local in PunchHolder, nfc --- belt-slot-cut-jig.scad | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/belt-slot-cut-jig.scad b/belt-slot-cut-jig.scad index 408ed23..68b5b70 100644 --- a/belt-slot-cut-jig.scad +++ b/belt-slot-cut-jig.scad @@ -103,9 +103,10 @@ module CrewPunch(){ } module PunchHolder(cutouts=true){ - translate([-holder_xsz/2, - -holder_ysz + holder_min_wall + crewpunch_biggest_y/2, - 0]){ + translations=[-holder_xsz/2, + -holder_ysz + holder_min_wall + crewpunch_biggest_y/2, + 0]; + translate(translations){ difference(){ translate([0,attach_offset,0]) cube([holder_xsz, holder_ysz - attach_offset, holder_block_zsz]); -- 2.30.2