瀏覽代碼

h2n: add parameter to control the fit between the columns and the bridge

Fernando Pablo Lopez-Lezcano 9 年之前
父節點
當前提交
6e94c2d6f9
共有 1 個文件被更改,包括 6 次插入 和 3 次删除
  1. 6 3
      TinySpHEAR_H2N_common.scad

+ 6 - 3
TinySpHEAR_H2N_common.scad

@@ -117,7 +117,7 @@ module h2n_columns(width, height, ring_height, tilt, band, transition, radius, w
         }
         // connector to bridge
         translate([-(width / 2 + mount_radius - wall / 2 - height * tan(tilt)), 0, height]) {
-            tube(mount_radius + wall / 2, mount_radius, 5.0);
+            tube(mount_radius + wall / 2 - h2n_mount_fit, mount_radius, 5.0);
         }
     }
 }
@@ -241,6 +241,9 @@ h2n_col_wall = 2 * wall;
 // tilt for the columnds
 h2n_col_tilt = 4.0;
 
+// fit for connector from column to bridge
+h2n_mount_fit = 0.1;
+
 // render the whole thing
 
 difference() {
@@ -250,13 +253,13 @@ h2n_ring(h2n_width_m, h2n_depth_m, h2n_depth * 0.425, h2n_band_height, h2n_side_
 
 h2n_columns(h2n_width_m, connector_height, h2n_band_height, h2n_col_tilt, 10.0, transition_height, mount_radius + h2n_col_wall, h2n_col_wall);
 
-*translate([0, 0, connector_height]) {
+translate([0, 0, connector_height]) {
     h2n_bridge(h2n_width_m - connector_height * tan(h2n_col_tilt), connector_height, 
                h2n_band_height, h2n_band_wall, h2n_col_tilt, 10.0, transition_height, mount_radius, h2n_col_wall, wall);
 }
 
 }
-*translate([-40, -50, 0]) {
+translate([-40, -50, 0]) {
     cube([80, 50, 80]);
 }
 }