From: Ian Jackson Date: Wed, 12 Jun 2013 22:36:26 +0000 (+0100) Subject: belt-slot-cut-jig: introduce "translations" local in PunchHolder, nfc X-Git-Tag: filamentspool-v2-release~490 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e63e4aa0e10b24c89828258698bfdc8a8b129446;p=reprap-play.git belt-slot-cut-jig: introduce "translations" local in PunchHolder, nfc --- 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]);