From: Ian Jackson Date: Sat, 17 Jun 2017 09:34:29 +0000 (+0100) Subject: sewing-table: Leg: wip new test X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dad2b403c31539a8a25bd4101159f761cf0242c4;p=reprap-play.git sewing-table: Leg: wip new test --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 1d476e5..91d4de9 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -702,8 +702,9 @@ module Leg(){ ////toplevel translate([0,0, -leg_top_thick]) cylinder(r= leg_bot_dia/2, height=1, $fn=100); } - translate([0,0,-leg_height]) - cylinder(r= leg_bot_mid_dia/2, h=leg_bot_thick); + if (!TEST) + translate([0,0,-leg_height]) + cylinder(r= leg_bot_mid_dia/2, h=leg_bot_thick); for (rot=[0: 360/leg_n_fins : 359]) rotate(rot) { hull(){ mirror([0,0,1]) translate([0, -leg_fin_top_w/2, 0]) @@ -719,7 +720,9 @@ module Leg(){ ////toplevel } } mirror([0,0,1]) translate([0,0,-1]) - cylinder(r= leg_hole_dia/2, h=leg_height+2, $fn=30); + cylinder(r= leg_hole_dia/2, + h= (!TEST ? leg_height+2 : leg_height/2), + $fn=30); mirror([0,0,1]) translate([0,0,leg_top_thick - 0.1]) cylinder(r= leg_midspc_dia/2, h=leg_height - leg_top_thick - leg_bot_thick + 0.2,