chiark / gitweb /
fairphone-case: wip prop profile, fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 01:40:55 +0000 (01:40 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 01:40:55 +0000 (01:40 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index a4fc59f..5013bc1 100644 (file)
@@ -121,7 +121,7 @@ prop_main_width = 3;
 prop_side_gap = 0.75; // each side
 prop_lidrecess_behind = 0.75;
 prop_caserecess_behind = 0.75;
-prop_caserecess_taper = 0.35; // one side only
+prop_caserecess_taper = 0.45; // one side only
 prop_prop_gap = 0.5;
 prop_prong_heel_slope = 0.5;
 
@@ -636,7 +636,7 @@ module PropProfile(gamma, cut=0){ ////toplevel
 
   theta = 90 - alpha;
   beta = 180 - alpha - gamma;
-  psi = 90 - beta + atan(prop_caserecess_taper);
+  psi = 90 - beta;
 
   echo("abc", a,b,c);
 
@@ -683,7 +683,7 @@ module PropProfile(gamma, cut=0){ ////toplevel
       }
       rectfromto(prpp12 + [0,-0.1], prpp3);
     }
-    %hull(){
+    hull(){
       circleat(prpp1, prp_r1);
       rectfromto(prpp12 + [0,-0.1], prpp3);
     }
@@ -1114,7 +1114,7 @@ module DemoProfiles(){ ////toplevel
        //PropProfile(10, 1);
     }
     translate(prlp10)
-      PropProfile(60, 0);
+      PropProfile(45, 0);
   }
 }