chiark / gitweb /
crossbar-computer-led-mount: introduce cableclamp_ctie_z and lidclamp_cableclamp_ctie...
[reprap-play.git] / crossbar-computer-led-mount.scad
index c3fc8d18b72bc7b4a2bf6177060f5ed026a11838..218d007e58ef5c5952e8afe26fe808664c4058af 100644 (file)
@@ -35,11 +35,13 @@ tower_base_height = 10;
 tower_forehead_angle = 30;
 lid_wall_thick = 1.6;
 lid_slop = 0.75;
+lidclamp_cableclamp_ctie_between = 0;
 base_ctie_anchor = 5;
 tube_ctie_anchor = 5;
 protrusion_size = 2;
 protrusion_none_frontback = 10;
 protrusion_slop = 0.5;
+cableclamp_ctie_z = tower_frontheight/2;
 
 //--- tests ---
 
@@ -193,8 +195,9 @@ module Tower(){ ////toplevel
     // passages for cable ties
     translate([0,
               tower_rearwall_y/2,
-              tower_frontheight/2
-              + cableclamp_ctie_width/2 + lidclamp_ctie_thick/2])
+              cableclamp_ctie_z
+              + cableclamp_ctie_width/2 + lidclamp_ctie_thick/2
+              + lidclamp_cableclamp_ctie_between])
       cube([50, lidclamp_ctie_width, lidclamp_ctie_thick], center=true);
     translate([0,
                (backfront_mate_extra+tower_rearwall_y)/2,
@@ -203,8 +206,8 @@ module Tower(){ ////toplevel
                     base_ctie_anchor_eff)])
       cube([50, base_ctie_width, base_ctie_thick], center=true);
     for (mir=[0,1])
-      mirror([mir,0,0]) {
-       translate([tower_width/4, 20, tower_frontheight/2])
+     mirror([mir,0,0]) {
+       translate([tower_width/4, 20, cableclamp_ctie_z])
          cube([cableclamp_ctie_thick,
                tower_wall_thick*2+1+40,
                cableclamp_ctie_width],