Преглед на файлове

in Octathingy also go back to 1mm walls, 2 * that creates trouble printing

Fernando Pablo Lopez-Lezcano преди 10 години
родител
ревизия
1681a433e6
променени са 1 файла, в които са добавени 8 реда и са изтрити 7 реда
  1. 8 7
      Octathingy_mount_pcb.scad

+ 8 - 7
Octathingy_mount_pcb.scad

@@ -34,6 +34,7 @@ include <CCRMA_logo.scad>;
 ////
 //// overrides
 
+// inner radius of mount stalk
 mount_radius = 4.0;
 
 ////
@@ -157,7 +158,7 @@ module octa_mount_body(height, width, depth, radius, lower_lip, upper_lip, clear
         }
         // lower lip for flare to cable
         translate([0, 0, 0]) {
-            rounded_box(upper_lip, width, depth, radius, wall + lip_fit);
+            rounded_box(lower_lip, width, depth, radius, wall + lip_fit);
         }
     }
     // mounting slots for pcb's
@@ -232,11 +233,11 @@ module octa_mount_flare(height, lip, transition, bot_xradius, bot_yradius, corne
             hull() {
                 rounded_block(thin_mint, bot_xradius, bot_yradius, corner);
                 translate([0, 0, transition]) {
-                    cylinder(r = top_radius + wall, h = thin_mint, $fn = facets);
+                    cylinder(r = top_radius, h = thin_mint, $fn = facets);
                 }
             }
             hull() {
-                rounded_block_relative(thin_mint, bot_xradius, bot_yradius, corner, - 2 * wall);
+                rounded_block_relative(thin_mint, bot_xradius, bot_yradius, corner, - wall);
                 translate([0, 0, transition]) {
                     cylinder(r = top_radius - wall, h = thin_mint, $fn = facets);
                 }
@@ -248,7 +249,7 @@ module octa_mount_flare(height, lip, transition, bot_xradius, bot_yradius, corne
     mid_xradius = top_radius + wall + (flare_stalk * (bot_xradius - (top_radius + wall))) / transition;
     mid_yradius = top_radius + wall + (flare_stalk * (bot_yradius - (top_radius + wall))) / transition;
     mid_corner = top_radius + wall + (flare_stalk * (corner - (top_radius + wall))) / transition;
-    translate([0, 0, height + transition - flare_stalk]) {
+    *translate([0, 0, height + transition - flare_stalk]) {
         difference() {
             hull() {
                 rounded_block(thin_mint, mid_xradius, mid_yradius, mid_corner);
@@ -267,7 +268,7 @@ module octa_mount_flare(height, lip, transition, bot_xradius, bot_yradius, corne
     // cylindrical stalk
     translate([0, 0, height + transition]) {
         difference() {
-            cylinder(r = top_radius + wall, h = stalk_height, $fn = facets);
+            cylinder(r = top_radius, h = stalk_height, $fn = facets);
             cylinder(r = top_radius - wall, h = stalk_height, $fn = facets);
         }
         // add marker for "back of microphone" orientation
@@ -347,8 +348,8 @@ module octa_capsule_array_mount(angles) {
         translate([0, 0, 0]) {
             rotate([0, 0, 45]) {
                 difference() {
-                    cylinder(h = mount_top_height, r1 = mount_radius + 2 * wall, r2 = mount_radius_capsule, $fn = facets);
-                    cylinder(h = mount_top_height, r1 = mount_radius, r2 = mount_radius_capsule * 0.8, $fn = facets);
+                    cylinder(h = mount_top_height, r1 = mount_radius + wall, r2 = mount_radius_capsule, $fn = facets);
+                    cylinder(h = mount_top_height, r1 = mount_radius, r2 = mount_radius_capsule - 1.2 * wall, $fn = facets);
                 }
             }
         }