Преглед изворни кода

h2n: change orientation of cylinder cutout in columns, this should print better

Fernando Pablo Lopez-Lezcano пре 9 година
родитељ
комит
3104575ec4
1 измењених фајлова са 10 додато и 13 уклоњено
  1. 10 13
      TinySpHEAR_H2N_common.scad

+ 10 - 13
TinySpHEAR_H2N_common.scad

@@ -82,31 +82,28 @@ module h2n_columns(width, height, ring_height, tilt, band, transition, radius, w
     // side tubes for cables
     for (m = [0, 1]) mirror([m, 0, 0]) {
         translate([-(width / 2 + mount_radius - wall), 0, 0]) {
-            // angled tube (4 degrees inward tilt)
             difference() {
+                // angled column (4 degrees inward tilt)
                 hull() {
-                    // rounded_block(thin_mint, radius, radius, radius / 1 - thin_mint);
                     cylinder(r = radius, h = thin_mint, $fn = facets);
                     translate([height * tan(tilt) - wall/2, 0, height]) {
-                        // rounded_block(thin_mint, radius, radius, radius / 1 - thin_mint);
                         cylinder(r = radius, h = thin_mint, $fn = facets);
                     }
                 }
                 hull() {
-                    // rounded_block_relative(thin_mint, radius, radius, radius / 1 - thin_mint, - wall);
                     cylinder(r = radius - wall, h = thin_mint, $fn = facets);
                     translate([height * tan(tilt) - wall/2, 0, height]) {
-                        // rounded_block_relative(thin_mint, radius, radius, radius / 1 - thin_mint, - wall);
                         cylinder(r = radius - wall, h = thin_mint, $fn = facets);
                     }
                 }
-                // slots for cables
+                // slots in the columns for cables
                 translate([mount_radius - wall - ring_height * tan(tilt), - mount_radius * 2, -ring_height]) {
+                    slot_height = 25.0;
                     rotate([0, tilt, 0]) {
-                        cube([5.0, mount_radius * 4, 22.0]);
-                        translate([0, 2 * mount_radius, 22.0]) {
-                            rotate([0, 90, 0]) {
-                                cylinder(r = mount_radius + wall, h = 5.0, $fn = facets);
+                        cube([5.0, mount_radius * 4, slot_height]);
+                        translate([mount_radius + wall, mount_radius - wall, slot_height]) {
+                            rotate([0, 90, 90]) {
+                                cylinder(r = mount_radius + wall, h = 15.0, $fn = facets);
                             }
                         }
                     }
@@ -242,11 +239,11 @@ h2n_col_wall = 2 * wall;
 difference() {
 union() {
 
-*h2n_ring(h2n_width_m, h2n_depth_m, h2n_depth * 0.425, h2n_band_height, h2n_side_band_w, h2n_side_band, h2n_band_wall, 0.0, wall);
+h2n_ring(h2n_width_m, h2n_depth_m, h2n_depth * 0.425, h2n_band_height, h2n_side_band_w, h2n_side_band, h2n_band_wall, 0.0, wall);
 
-*h2n_columns(h2n_width_m, connector_height, h2n_band_height, 4.0, 10.0, transition_height, mount_radius + h2n_col_wall, h2n_col_wall);
+h2n_columns(h2n_width_m, connector_height, h2n_band_height, 4.0, 10.0, transition_height, mount_radius + h2n_col_wall, h2n_col_wall);
 
-h2n_bridge(h2n_width_m, connector_height, h2n_band_height, h2n_band_wall, 4.0, 10.0, transition_height, mount_radius, h2n_col_wall, wall);
+*h2n_bridge(h2n_width_m, connector_height, h2n_band_height, h2n_band_wall, 4.0, 10.0, transition_height, mount_radius, h2n_col_wall, wall);
 
 }
 *translate([-40, -50, 0]) {