chiark / gitweb /
topeak-mtx-tortec-expeditionrack-adapter: prep for stronger stem
[reprap-play.git] / topeak-mtx-tortec-expeditionrack-adapter.scad
index d8f7f59e4b96972db7f377bfd6df1346d03b0bff..4daeab004ce8e2e5f072e8ab2862b30a8d7bb81d 100644 (file)
@@ -254,6 +254,11 @@ module FamGraspElevation(){
   }
 }
 
+module FamStemElevation(){
+  rectfromto([ -foreaftmaint_top_block_zs[0] + bolt_z, 0 ],
+            [ -foreaftmaint_top_block_zs[1] + bolt_z, block_y_min] );
+}
+
 module Principal(){
   // calculated
   $rack_rail_y = rack_rail_y_of_elevation($elevation_nominal);
@@ -309,14 +314,16 @@ module Principal(){
       FamLinextr(){
        rectfromto([ -$foreaftmaint_rail_z, adapt_main_top_y ],
                   [ 0, block_y_min]);
-       rectfromto([ -foreaftmaint_top_block_zs[0] + bolt_z, 0 ],
-                  [ -foreaftmaint_top_block_zs[1] + bolt_z, block_y_min] );
        FamGraspElevation();
       }
       intersection(){
-       RackShear()
+       union(){
+         RackShear()
+           FamLinextr()
+           FamGraspElevation();
          FamLinextr()
-         FamGraspElevation();
+           FamStemElevation();
+       }
        translate([ 0,
                    adapt_main_top_y - 50,
                    $foreaftmaint_rail_z ])