chiark / gitweb /
fairphone-case: wip hinge, HingerBaseProfile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 19:29:32 +0000 (19:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 19:29:32 +0000 (19:29 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index f25c199..da109ff 100644 (file)
@@ -390,6 +390,17 @@ module HingeLidProfile(){
   }
 }
 
+module HingeBaseProfile(){
+  difference(){
+    hull(){
+      circleat(hppB, hp_r1);
+      circleat(epp2o, case_th_bottom);
+      circleat(hppB + [10,0], hp_r1);
+    }
+    polygon([epp5, epp1, epp2i, epp3, bppL]);
+  }
+}
+
 module CaseBase(){
   AroundEdges(epp3[1], case_th_bottom, 1)
     EdgeProfile();
@@ -653,6 +664,7 @@ module DemoProfiles(){ ////toplevel
     %LidEdgeProfile();
     %EdgeProfile();
     color("blue") HingeLidProfile();
+    color("red")  HingeBaseProfile();
   }
 }