Parcourir la source

Octathingy, add transition to main body to avoid overhang on lower lip

Fernando Pablo Lopez-Lezcano il y a 10 ans
Parent
commit
21ae5d7853
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      Octathingy_mount_pcb.scad

+ 13 - 1
Octathingy_mount_pcb.scad

@@ -158,7 +158,19 @@ 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(lower_lip, width, depth, radius, wall + lip_fit);
+            rounded_box(lower_lip + 0.5, width, depth, radius, wall + lip_fit);
+        }
+    }
+    // transition to avoid overhang
+    translate([0, 0, lower_lip]) {
+        difference() {
+            hull() {
+                rounded_box(thin_mint, width - wall - lip_fit, depth - wall - lip_fit, radius, 0.1);
+                translate([0, 0, 0.5]) {
+                    rounded_box(thin_mint, width, depth, radius, wall + lip_fit);
+                }
+            }
+            rounded_block(0.5 + thin_mint, width - wall - lip_fit, depth - wall - lip_fit, radius);
         }
     }
     // mounting slots for pcb's