From: Ian Jackson Date: Sat, 5 Nov 2022 02:14:26 +0000 (+0000) Subject: topeak-mtx-tortec-expeditionrack-adapter: wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=30642ef0680eb436963e89b44d8bd500f1124f9d;p=reprap-play.git topeak-mtx-tortec-expeditionrack-adapter: wip Signed-off-by: Ian Jackson --- diff --git a/topeak-mtx-tortec-expeditionrack-adapter.scad b/topeak-mtx-tortec-expeditionrack-adapter.scad index 06f295f..504b934 100644 --- a/topeak-mtx-tortec-expeditionrack-adapter.scad +++ b/topeak-mtx-tortec-expeditionrack-adapter.scad @@ -170,8 +170,7 @@ module BoltHole(){ module AsForeAftMaint(){ if ($foreaftmaint_dz) { - translate([ 0, $foreaftmaint_rail_y, $foreaftmaint_rail_z ]) - children(); + children(); } } @@ -222,14 +221,19 @@ module Principal(){ AsForeAftMaint(){ linextr_x_yz(-main_sz_x_fam/2, +main_sz_x_fam/2){ - hull(){ - for (y = [-rack_rail_dia/2 + grasp_large_r, - (-$foreaftmaint_rail_y - + adapt_main_top_y - grasp_large_r) - ]) - for (dx= [-1,+1] * rack_rail_dia/2) - translate([ y, dx ]) - circle(r= grasp_large_r); + rotate(-90) + difference(){ + hull(){ + for (y = [ + $foreaftmaint_rail_y - rack_rail_dia/2 + grasp_large_r, + adapt_main_top_y - grasp_large_r + ]) + for (dx= [-1,+1] * rack_rail_dia/2) + translate([ -$foreaftmaint_rail_z + dx, y ]) + circle(r= grasp_large_r); + } + translate([0, adapt_main_top_y]) + rectfromto([-500, 0], [500, 500]); } } } @@ -251,8 +255,9 @@ module Principal(){ // Distance from bolt hole, in backwards direction AsForeAftMaint(){ - linextr_x_yz(+rack_rail_x, - -rack_rail_x) { + translate([ 0, $foreaftmaint_rail_y, $foreaftmaint_rail_z ]) + linextr_x_yz(+rack_rail_x, + -rack_rail_x) { hull(){ for (dy=[0,50]) { translate([-dy,0])