chiark / gitweb /
brompton-computer-guard: swap holes, to make web be on other side
[reprap-play.git] / brompton-computer-guard.scad
index 88f1994f0a249a631ab7ae90d598cbcbe5fb5f99..ba1cc5dfa3b49dcf513fe9a6f2cd78b3e1cf5aef 100644 (file)
@@ -21,10 +21,15 @@ echo(arch_alpha,arch_beta);
 arch_in_rad = arch_width/2 / sin(arch_beta);
 arch_to_chord = arch_in_rad * cos(arch_beta);
 
+inner_pbase_thick = 6;
+echo(inner_pbase_thick);
+
+inner_pbase_rad = arch_in_rad * 2;
+
 end_thick = arch_thick;
 
-holes = [[[  5  , 5  ], [16  , 21]], // left
-        [[ 18.5, 4.5], [ 4.5, 21]]]; // right
+holes = [[[ 18.5, 4.5], [ 4.5, 21]], // left
+        [[  5  , 5  ], [16  , 21]]]; // right
 
 module ArchCircle(rad){
   translate([0,-arch_to_chord])
@@ -83,7 +88,12 @@ module Arch(){
              ArchProfile(true);
              ArchProfile(false);
            }
-           MainCutout();
+           intersection(){
+             MainCutout();
+             translate([0, -inner_pbase_thick
+                        - (inner_pbase_rad - arch_in_rad)])
+               ArchCircle(inner_pbase_rad);
+           }
          }
        }
       }