chiark / gitweb /
nook-case: edge ledge
[reprap-play.git] / nook-case.scad
index 83c6f252ea4bb06ae6518f034c2da15b557a7dad..62f954c555898a58f7b29f2c74d3215c605f787c 100644 (file)
@@ -101,11 +101,13 @@ edge_ledge_rad = edge_ledge_h;
 module RightSideMainProfile() {
   rectfromto(spp7, spp0);
   rectfromto(spp7, spp20);
+  EdgeLedgeProfile();
 }
 
 module LeftSideMainProfile() {
   rectfromto(spp7, spp30);
   rectfromto(spp7, spp20);
+  EdgeLedgeProfile();
 }
 
 module EdgeLedgeProfile() {
@@ -203,9 +205,13 @@ module FaceCore(z0,z1, extra_left, extra_right){
     for (mx=[0,1]) mirror([mx,0,0]) {
        for (my=[0,1]) mirror([0,my,0]) {
            translate(-nom_cnr) {
-             rotate_extrude(angle=90, convexity=10)
-               translate(-[1,0,0] * nook_cnr_rad)
-               children(mx);
+             rotate_extrude(angle=90, convexity=10) {
+               intersection(){
+                 translate(-[1,0,0] * nook_cnr_rad)
+                   children(mx);
+                 rectfromto([-100,-100], [0,100]);
+               }
+             }
            }
          }
        translate([nook_w/2, 0,0])