chiark / gitweb /
wardrobe-hook: break out SElevationPlaced, nfc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 10 Mar 2014 17:56:06 +0000 (17:56 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 10 Mar 2014 17:56:06 +0000 (17:56 +0000)
wardrobe-hook.scad

index f8150ad..97292d0 100644 (file)
@@ -139,11 +139,15 @@ module SElevation(){
           [-1,         boty]]);
 }
 
+module SElevationPlaced(){
+  rotate([0,-90,0]) translate([0,0,-100]) linear_extrude(height=200)
+    SElevation();
+}
+
 module SHookL(){ ///toplevel
   intersection(){
     linear_extrude(height=topwidth) SPlan();
-    rotate([0,-90,0]) translate([0,0,-100]) linear_extrude(height=200)
-      SElevation();
+    SElevationPlaced();
   }
 }