From cebd7c31fa6a2fceeb3ade69116fd7e62b5cb45f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Jun 2013 00:33:12 +0100 Subject: [PATCH] crossbar-computer-led-mount: TowerMain done --- crossbar-computer-led-mount.scad | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/crossbar-computer-led-mount.scad b/crossbar-computer-led-mount.scad index b86b4b9..bce6940 100644 --- a/crossbar-computer-led-mount.scad +++ b/crossbar-computer-led-mount.scad @@ -11,6 +11,8 @@ backfront_space_inside = 12; backfront_mate_size = 25; tower_frontheight = 20; +tower_width = 18; +tower_slot_width = 3; // tuning @@ -108,12 +110,35 @@ module TowerRearWallCrossSection(){ } } -module TowerDemo(){ + +module TowerCrossSectionDemo(){ %TowerWallCrossSection(); //TowerBulkCrossSection(); TowerRearWallCrossSection(); } -TowerDemo(); +module TowerMain(){ + for (mir=[0,1]) + mirror([mir,0,0]) rotate([90,0,-90]) { + translate([0,0, tower_width/2-tower_wall_thick]) + linear_extrude(height=tower_wall_thick) + TowerWallCrossSection(); + translate([0,0,-1]) + linear_extrude(height=tower_width/2+0.9) + TowerBulkCrossSection(); + translate([0,0, tower_slot_width/2]) + linear_extrude(height=(tower_width - tower_slot_width)/2 - 0.2) + TowerRearWallCrossSection(); + } +} + +module Tower(){ + difference(){ + TowerMain(); + } +} + +//TowerCrossSectionDemo(); //TowerWallSomeEdge(false); //TowerWallFrontEdge(); +Tower(); -- 2.30.2