+ translate([-towerleg_foot_width/2,
+ tower_rearwall_y - towerleg_foot_gap,
+ -tower_base_height])
+ mirror([0,1,0])
+ cube([towerleg_foot_width, towerleg_foot_backfront, towerleg_foot_height]);
+}
+
+module TowerMainHull(){
+ hull(){ TowerMain(); }
+}
+
+module Lid(){
+ intersection(){
+ difference(){
+ minkowski(){
+ TowerMainHull();
+ sphere(r=lid_wall_thick+lid_slop, $fn=8);
+ }
+ minkowski(){
+ TowerMainHull();
+ sphere(r=lid_slop, $fn=6);
+ }
+ }
+ translate([-50,-50,led_head_z]) cube([100,100,100]);
+ }
+}
+
+module LidT(){ ////toplevel
+ rotate([180,0,0]) Lid();
+}
+
+module BaseRegistrationProtrusion(extra){
+ size = protrusion_size + extra;
+ translate([0, base_backfront/2, 0]){
+ hull(){
+ translate([0,0, -0.5])
+ cube([protrusion_size*2, protrusion_frontback, 1.0], center=true);
+ translate([0, 0, protrusion_size-0.5])
+ cube([0.05, protrusion_frontback-protrusion_size*2, 1.0], center=true);
+ }
+ }
+}
+
+module Base(){
+ difference(){
+ mirror([0,0,1]){
+ hull(){
+ translate([-tower_width/2, 0, 0])
+ cube([tower_width, base_backfront, 0.1]);
+ translate([-base_width/2, 0, base_height])
+ cube([base_width, base_backfront, crossbar_dia/2]);
+ }
+ }
+ translate([0, base_backfront/2, -base_ctie_anchor_eff])
+ cube([100, base_ctie_width, base_ctie_thick], center=true);
+ translate([0, base_backfront/2, -base_height + tube_ctie_anchor_eff])
+ cube([100, tube_ctie_width, tube_ctie_thick], center=true);
+ translate([0, -1, -(base_height + crossbar_dia/2)])
+ rotate([-90,0,0])
+ cylinder(r=crossbar_dia/2, h=101);
+ }
+ BaseRegistrationProtrusion(0.0);
+}
+
+module BaseT(){ ////toplevel
+ rotate([90,0,0]) Base();
+}
+
+module Demo(){
+ Tower();
+ %Lid();
+ translate([0,0, 25]) Lid();
+ translate([0, tower_rearwall_y, -(tower_base_height+5)]) Base();