CONFIG=$(PLAY)/slic3r-config.ini
-USING_AUTOS ?= filamentspool xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount
+USING_AUTOS ?= filamentspool xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook
AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))
AUTO_INCS = funcs.scad
taperangle = -270 + tangent_intersect_beta([-hookcy, 0],
hookoutrad,
[-eltop[1], -eltop[0]]);
-module Hook(){ ////toplevel
+module HookL(){ ////toplevel
difference(){
rotate([taperangle,0,0])
translate([0,-eltop[1],0])
[-1, boty]]);
}
-module SHook(){
+module SHookL(){ ///toplevel
intersection(){
linear_extrude(height=topwidth) SPlan();
rotate([0,-90,0]) translate([0,0,-100]) linear_extrude(height=200)
}
}
-// toplevels etc.
+// other toplevels etc.
-module RightHook(){ ////toplevel
- mirror([1,0,0]) Hook();
+module HookR(){ ////toplevel
+ mirror([1,0,0]) HookL();
}
-translate([-30,0,0]) SHook();
-//SPlan();
-//translate([30,0,0]) SElevation();
-//translate([120,0,0]) ElevationCore();
-//ElevationCore();
-//RightHook();
+module SHookR(){ ////toplevel
+ mirror([1,0,0]) SHookL();
+}
+
+module Demo(){ ////toplevel
+ translate([-30,tubeheight,0]) HookL();
+ translate([ 0,tubeheight,0]) HookR();
+ translate([ 30, 0,0]) SHookL();
+ translate([ 60, 0,0]) SHookR();
+}