From 8943ce30af2d7cdee8c864bbcecd320fdddb789f Mon Sep 17 00:00:00 2001 From: wholteza Date: Sun, 31 Aug 2025 16:48:10 +0200 Subject: [PATCH] fixed aux body clearance --- rev2/3d-models/top-dampener.scad | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/rev2/3d-models/top-dampener.scad b/rev2/3d-models/top-dampener.scad index 135438f..d49c701 100644 --- a/rev2/3d-models/top-dampener.scad +++ b/rev2/3d-models/top-dampener.scad @@ -49,6 +49,7 @@ $pcbDampenerOffset = $pcbHeight + $dampenerHeight; ]; picoUsbBody = [8, 5.66, 2.65]; + jackBody = [15,6.15,5.3]; module pin(){ cylinder(h=$holes, r=1, center=false); @@ -151,17 +152,21 @@ module case(){ $topLeftOfPcbToCenterOfAux = 15.4; $measurementPcbPlaneToCenterOfAux = 2.8; $auxClearanceFromBase = $measurementPcbPlaneToCenterOfAux - $dampenerHeight; - $auxHoleRadius = 3.15; + $auxHoleRadius = 3.15 + $clearance *2; $auxHoleLength = 17 + $shellWidth/2; - $auxCableRadius = 4.15; + $auxCableRadius = 4.15 + $clearance *2; // Move to the position along the wall the aux will be translate([-($shellWidth/2 + $clearance),$switchDistance * $rows - $topLeftOfPcbToCenterOfAux,-$auxClearanceFromBase]) // Make cylinder perpendicular with the wall rotate([0,90,0]){ // Aux component clearance - cylinder(h=$auxHoleLength,r=$auxHoleRadius); + //cylinder(h=$auxHoleLength,r=$auxHoleRadius); + rotate([0,270,0]) + translate([$shellWidth + $clearance*2,0,0]) + cube([jackBody.x + $clearance*2, jackBody.y + $clearance*2, jackBody.z + $clearance*2], center=true); // Aux cable housing clearance - cylinder(h=$shellWidth/2,r=$auxCableRadius ); + translate([0,0, -$clearance*2]) + cylinder(h=($shellWidth/2) + ($clearance * 2),r=$auxCableRadius ); } } //TODO: Continue aligning pico clearance @@ -239,7 +244,6 @@ module case(){ } } module pcb() { - jackBody = [15,6.15,5.3]; picoBody = [21, 51.5, 1]; module jack() { translate([0,jackBody.y/2, jackBody.z/2]) @@ -274,6 +278,6 @@ module pcb() { } - *%pcb(); + *pcb(); *%topDampeners(); case();