From: Ian Jackson Date: Fri, 4 Nov 2022 23:40:04 +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=6c55516c631c381bb7c04ef63a7d58907d30ae1a;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 26c087f..2622b17 100644 --- a/topeak-mtx-tortec-expeditionrack-adapter.scad +++ b/topeak-mtx-tortec-expeditionrack-adapter.scad @@ -32,6 +32,19 @@ rack_rail_outer_x = -(rack_width_inner + rack_rail_dia); grasp_large_r = (rack_rail_dia + grasp_sz)/2; grasp_large_x = rack_rail_outer_x + grasp_large_r; +module GraspElevation(){ + hull(){ + translate([ grasp_large_x, adapt_main_top_y - grasp_large_r ]) + circle(grasp_large_r); + + translate([ grasp_large_x, $rack_rail_y - rack_rail_dia/2 ]) + circle(grasp_large_r); + + translate([ grasp_large_x, $rack_rail_y + rack_rail_dia/2 ]) + circle(grasp_large_r); + } +} + module Principal(){ // calculated $rack_rail_y = brk_bottom_y - $elevation_nominal @@ -39,16 +52,7 @@ module Principal(){ difference(){ linextr(0, main_sz_z){ - hull(){ - translate([ grasp_large_x, adapt_main_top_y - grasp_large_r ]) - circle(grasp_large_r); - - translate([ grasp_large_x, $rack_rail_y - rack_rail_dia/2 ]) - circle(grasp_large_r); - - translate([ grasp_large_x, $rack_rail_y + rack_rail_dia/2 ]) - circle(grasp_large_r); - } + GraspElevation(); } linextr(-10, main_sz_z+10) {