fixed aux body clearance
This commit is contained in:
@@ -49,6 +49,7 @@ $pcbDampenerOffset = $pcbHeight + $dampenerHeight;
|
|||||||
];
|
];
|
||||||
|
|
||||||
picoUsbBody = [8, 5.66, 2.65];
|
picoUsbBody = [8, 5.66, 2.65];
|
||||||
|
jackBody = [15,6.15,5.3];
|
||||||
|
|
||||||
module pin(){
|
module pin(){
|
||||||
cylinder(h=$holes, r=1, center=false);
|
cylinder(h=$holes, r=1, center=false);
|
||||||
@@ -151,17 +152,21 @@ module case(){
|
|||||||
$topLeftOfPcbToCenterOfAux = 15.4;
|
$topLeftOfPcbToCenterOfAux = 15.4;
|
||||||
$measurementPcbPlaneToCenterOfAux = 2.8;
|
$measurementPcbPlaneToCenterOfAux = 2.8;
|
||||||
$auxClearanceFromBase = $measurementPcbPlaneToCenterOfAux - $dampenerHeight;
|
$auxClearanceFromBase = $measurementPcbPlaneToCenterOfAux - $dampenerHeight;
|
||||||
$auxHoleRadius = 3.15;
|
$auxHoleRadius = 3.15 + $clearance *2;
|
||||||
$auxHoleLength = 17 + $shellWidth/2;
|
$auxHoleLength = 17 + $shellWidth/2;
|
||||||
$auxCableRadius = 4.15;
|
$auxCableRadius = 4.15 + $clearance *2;
|
||||||
// Move to the position along the wall the aux will be
|
// Move to the position along the wall the aux will be
|
||||||
translate([-($shellWidth/2 + $clearance),$switchDistance * $rows - $topLeftOfPcbToCenterOfAux,-$auxClearanceFromBase])
|
translate([-($shellWidth/2 + $clearance),$switchDistance * $rows - $topLeftOfPcbToCenterOfAux,-$auxClearanceFromBase])
|
||||||
// Make cylinder perpendicular with the wall
|
// Make cylinder perpendicular with the wall
|
||||||
rotate([0,90,0]){
|
rotate([0,90,0]){
|
||||||
// Aux component clearance
|
// 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
|
// 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
|
//TODO: Continue aligning pico clearance
|
||||||
@@ -239,7 +244,6 @@ module case(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
module pcb() {
|
module pcb() {
|
||||||
jackBody = [15,6.15,5.3];
|
|
||||||
picoBody = [21, 51.5, 1];
|
picoBody = [21, 51.5, 1];
|
||||||
module jack() {
|
module jack() {
|
||||||
translate([0,jackBody.y/2, jackBody.z/2])
|
translate([0,jackBody.y/2, jackBody.z/2])
|
||||||
@@ -274,6 +278,6 @@ module pcb() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*%pcb();
|
*pcb();
|
||||||
*%topDampeners();
|
*%topDampeners();
|
||||||
case();
|
case();
|
||||||
|
|||||||
Reference in New Issue
Block a user