chiark / gitweb /
fairphone-case: move two mirrors out of 2d into 3d (bug workaound)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 04:09:46 +0000 (04:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 04:09:47 +0000 (04:09 +0000)
the mirror seems to confuse openscad into "non-manifold"
this change seems to make it work

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 5fee0423e01cbffdc0150d4721f7184ee22ff1ac..e81ae1b22f49a4a31708fe7fb15a83688faa2703 100644 (file)
@@ -821,9 +821,9 @@ module Case(){ ////toplevel
     // prop recess
     Flip_rhs(1)
       translate([prop_x_pos,0,0])
+      mirror([0,1,0])
       rotate([90,0,90])
       linextr(-prop_recess_hw, +prop_recess_hw)
-      mirror([1,0])
       hull(){
         for (d=[ [0,0], [0,-1], [+1,-1/prop_caserecess_taper] ])
          circleat(prcp1 + 20*d,
@@ -866,9 +866,9 @@ module Lid(){ ////toplevel
 
     // prop recess
     translate([prop_x_pos, -prlp10[0], prlp10[1]])
+      mirror([0,1,0])
       rotate([90,0,90])
       linextr(-prop_recess_hw, +prop_recess_hw)
-      mirror([1,0])
       hull()
       for (pa = prop_angles)
        PropProfile(pa, 1,1);