From: Ian Jackson Date: Sun, 18 Jun 2017 14:43:09 +0000 (+0100) Subject: sewing-table: Leg: commitid X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=dd1004d78239b6916ce90c959aa0b7054e2bcb20;hp=5a1dcc14153cf17c257d06811060f9ac7d4ea511 sewing-table: Leg: commitid --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index de3a5aa..7e4ec96 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -763,6 +763,16 @@ module Leg(){ ////toplevel + (!TEST ? 0.2 : -leg_midspc_dia/2), $fn=30); } + cid_shear = (leg_fin_bot_w - leg_fin_top_w)/2 / + (leg_height -leg_fin_bot_flat_z); + multmatrix([[ 1, 0, 0, leg_midspc_dia/2 ], + [ 0, cid_shear, + 1, -leg_fin_bot_w/2 ], + [ 0, 1, 0, -leg_height + leg_fin_bot_flat_z ], + [ 0, 0, 0, 1 ]]) + Commitid_BestCount([ leg_big_dia/2 - leg_midspc_dia/2, + leg_height - leg_fin_bot_flat_z + - leg_top_thick ]); if (!TEST) for (rot=[45: 360/leg_n_tubules : 359]) rotate(rot) { mirror([0,0,1]) translate([ leg_tubule_pos_rad, 0, -1])