From: Ian Jackson Date: Tue, 6 Jun 2017 22:32:18 +0000 (+0100) Subject: sewing-table: jig: properly conditionalise post holes! X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=187329f7eb529fc849334ac0a6798848bc151783;p=reprap-play.git sewing-table: jig: properly conditionalise post holes! --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 44503d5..b15b35a 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -144,14 +144,16 @@ module Post(){ } module PostHole(){ - translate([0,0,-5]) - cylinder(r= post_dia/2, h=10); - translate([0,0, -jig_min_th]) - cylinder(r= ply_hole_dia_real/2, h = 5); - for (rot=[0:90:270]) rotate(rot) { - translate([ ply_edge_hole_dist_real, 0, -5 ]) - cube([ jig_pencil_rad*2, jig_pencil_slotlen, 10 ], center=true); - } + if (JIG) { + translate([0,0,-5]) + cylinder(r= post_dia/2, h=10); + translate([0,0, -jig_min_th]) + cylinder(r= ply_hole_dia_real/2, h = 5); + for (rot=[0:90:270]) rotate(rot) { + translate([ ply_edge_hole_dist_real, 0, -5 ]) + cube([ jig_pencil_rad*2, jig_pencil_slotlen, 10 ], center=true); + } + } } module Posts(posts) {