chiark / gitweb /
maglite-holder: toplevels
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2017 21:42:40 +0000 (21:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2017 21:42:40 +0000 (21:42 +0000)
maglite-holder.scad

index 4262688..2f72e7f 100644 (file)
@@ -124,7 +124,22 @@ module Bracket(){
   }
 }
 
-module Demo(){
+module BracketPrint(){ ////toplevel
+  rotate([-90,0,0])
+    Bracket();
+}
+
+module TestTorchPrint(){ ////toplevel
+  intersection(){
+    translate([0,0, torch_lit_dia / 2 / sqrt(2)])
+      rotate([-90,0,0])
+      Torch();
+    translate([-100, -torch_tot_len*2, 0])
+      cube([200, torch_tot_len*4, 200]);
+  }
+}
+
+module Demo(){ ////toplevel
   color("red")
     translate([0, -torch_out, 0])
     TorchOrig();
@@ -134,5 +149,6 @@ module Demo(){
   Bracket();
 }
 
-Demo();
-
+//Demo();
+//BracketPrint();
+//TestTorchPrint();