From 6c55516c631c381bb7c04ef63a7d58907d30ae1a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 4 Nov 2022 23:40:04 +0000 Subject: [PATCH] topeak-mtx-tortec-expeditionrack-adapter: wip Signed-off-by: Ian Jackson --- topeak-mtx-tortec-expeditionrack-adapter.scad | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) 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) { -- 2.30.2