chiark / gitweb /
fairphone-case: provide PropAggregateProfile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 01:46:35 +0000 (01:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Jan 2018 01:46:35 +0000 (01:46 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 98fbe56..a55826f 100644 (file)
@@ -699,6 +699,11 @@ module PropProfile(gamma, cut=0, rot=0){ ////toplevel
   }
 }
 
+module PropAggregateProfile(){
+  for (angle = prop_angles)
+    PropProfile(angle, 0,0);
+}
+
 module Case(){ ////toplevel
   difference(){
     union(){
@@ -1116,6 +1121,9 @@ module DemoProfiles(){ ////toplevel
     translate(prlp10)
       PropProfile(15, 0);
   }
+  translate([60,-30]) {
+    PropAggregateProfile();
+  }
 }
 
 //EdgeProfile();