X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=sewing-table.scad.m4;h=9196f580ee9c1afca8f58b5ee3b7b9e730befbbc;hb=f262d6263be64d98ff59a20b52e78aaa2d481eb5;hp=95db172f2d43cada4638f65ca9636626eeb37065;hpb=d7c3368d3de0b3ccce54cc302945dafbfa65d236;p=reprap-play.git diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 95db172..9196f58 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -30,14 +30,19 @@ interlock_fine_lenslop = 1.0; demo_slop = 0.1; -leg_height = 50; +leg_height = 62; leg_hole_dia = 5 + 0.75; leg_big_dia = 37; leg_bot_dia = 15; -leg_top_flat_z = 5; +leg_top_flat_z = 2; +leg_top_thick = 8; -leg_fin_top_w = 5; +leg_midspc_dia = 20; +leg_bot_thick = 8; +leg_bot_mid_dia = 12; + +leg_fin_top_w = 3; leg_fin_bot_w = 5; leg_fin_bot_rad = 30; leg_fin_bot_flat_z = 5; @@ -693,10 +698,13 @@ module Leg(){ ////toplevel union(){ hull(){ mirror([0,0,1]) - cylinder(r= leg_big_dia/2, height=leg_top_flat_z, $fn=100); - translate([0,0, -leg_height]) + cylinder(r= leg_big_dia/2, h=leg_top_flat_z, $fn=100); + translate([0,0, -leg_top_thick]) cylinder(r= leg_bot_dia/2, height=1, $fn=100); } + 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]) @@ -712,7 +720,20 @@ 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]) + hull(){ + cylinder(r= (!TEST ? leg_midspc_dia/2 : 0.1), + h= leg_height - leg_top_thick - leg_bot_thick + 0.2, + $fn=30); + if (TEST) + cylinder(r= leg_midspc_dia/2, + h= leg_height - leg_top_thick - leg_bot_thick + + (!TEST ? 0.2 : -leg_midspc_dia/2), + $fn=30); + } for (rot=[45: 360/leg_n_tubules : 359]) rotate(rot) { mirror([0,0,1]) translate([ leg_tubule_pos_rad, 0, -1]) cylinder(r= leg_tubule_dia/2, h=leg_height+2, $fn=20);