|
|
@@ -151,12 +151,13 @@ module cable_cap() {
|
|
|
|
|
|
translate([case_w - CAP_ENGAGE + CAP_EXPLODE, 0, 0]){
|
|
|
difference() {
|
|
|
- // Outer shell: hull between two square profiles
|
|
|
+ // Outer shell: flat rectangle at open end, rounded rectangle at closed end
|
|
|
hull() {
|
|
|
cube([0.01, _cap_bore_w + 2 * CAP_WALL, _cap_bore_h + CAP_WALL]);
|
|
|
|
|
|
- translate([CAP_ENGAGE + CAP_WALL - 0.01, 0, 0])
|
|
|
- cube([0.01, _cap_bore_w + 2 * CAP_WALL, _cap_bore_h + CAP_WALL]);
|
|
|
+ for (dy = [CORNER_R, _cap_bore_w + 2*CAP_WALL - CORNER_R])
|
|
|
+ translate([CAP_ENGAGE + CAP_WALL - CORNER_R, dy, 0])
|
|
|
+ cylinder(r=CORNER_R, h=_cap_bore_h + CAP_WALL);
|
|
|
}
|
|
|
|
|
|
// Rounded bore
|