chiark / gitweb /
bike-stalk-led-mount: toplevels
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 4 Oct 2016 20:36:30 +0000 (21:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 4 Oct 2016 20:36:30 +0000 (21:36 +0100)
Makefile
bike-stalk-led-mount.scad

index 05ba8b3..5517507 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ CONFIG=$(PLAY)/slic3r-config.ini
 FILAMENTSPOOL_AUTOS = filamentspool filamentspool-lt filamentspool-sm
 FILAMENTSPOOL_AUTOS += filamentspool-storarm3
 
-USING_AUTOS ?= $(FILAMENTSPOOL_AUTOS) xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock pandemic-counter pattress-boxes-3-cover bike-lipo-box earring-stand
+USING_AUTOS ?= $(FILAMENTSPOOL_AUTOS) xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock pandemic-counter pattress-boxes-3-cover bike-lipo-box earring-stand bike-stalk-led-mount
 
 AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))
 
index 43d2ade..d5cc2a4 100644 (file)
@@ -32,14 +32,14 @@ module SomeBlockBase(height){
     cube([length, width, height], center=true);
 }
 
-module BlockAbove(){
+module BlockAbove(){ ////toplevel
   difference(){
     SomeBlockBase(above_height);
     StalkCutout();
   }
 }
 
-module BlockBelow(){
+module BlockBelow(){ ////toplevel
   difference(){
     SomeBlockBase(below_height);
     StalkCutout();
@@ -48,9 +48,17 @@ module BlockBelow(){
   }
 }
 
-module Demo(){
+module BlockAbovePrint(){ ////toplevel
+  rotate([180,0,0]) BlockAbove();
+}
+
+module BlockBelowPrint(){ ////toplevel
+  rotate([180,0,0]) BlockBelow();
+}
+
+module Demo(){ ////toplevel
   BlockAbove();
   rotate([180,0,0]) BlockBelow();
 }
 
-Demo();
+//Demo();