chiark / gitweb /
topeak-mtx-tortec-expeditionrack-adapter: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2022 02:52:25 +0000 (02:52 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2022 02:52:25 +0000 (02:52 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
topeak-mtx-tortec-expeditionrack-adapter.scad

index 69bb82e1da7c1f20930671dae01520d414538601..66638161733c12cf1bf0ff58055fd1f282e9f4d7 100644 (file)
@@ -18,7 +18,7 @@ rack_width_inner = 115.86 + 1.0; // between insides of rails
 rear_elevation_nominal = 10.04;
 // ^ top of rack to bottom of bracket, at rear bolt hold
 rear_to_front_distance = 230;
-rear_to_cross_rail = 19.65; // bolt centre to rail centre, rail to rear
+rear_to_cross_rail = 39.65; // bolt centre to rail centre, rail to rear
 
 general_gap_y = 1.0;
 
@@ -240,14 +240,19 @@ module Principal(){
                     +main_sz_x_fam/2){
          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);
+           union(){
+             rectfromto([ -$foreaftmaint_rail_z, adapt_main_top_y ],
+                        [ 0, block_y_min]);
+             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]);