Adjusted pico usb hole and shell height
This commit is contained in:
@@ -48,6 +48,7 @@ $pcbDampenerOffset = $pcbHeight + $dampenerHeight;
|
||||
[$switchDistance * 2, 0],
|
||||
];
|
||||
|
||||
picoUsbBody = [8, 5.66, 2.65];
|
||||
|
||||
module pin(){
|
||||
cylinder(h=$holes, r=1, center=false);
|
||||
@@ -127,7 +128,7 @@ rightTopDampener();
|
||||
module case(){
|
||||
// Then adjust the shim, aux and pico.
|
||||
// Last add magnets, don't forget the clearance.
|
||||
$baseHeight = 6.3;
|
||||
$baseHeight = 7.6;
|
||||
|
||||
module magnets(){
|
||||
$magnetWidth = 4;
|
||||
@@ -166,17 +167,18 @@ module case(){
|
||||
//TODO: Continue aligning pico clearance
|
||||
module pico(){
|
||||
$topLeftEdgeOfPcbToCenterOfUsb = 27.7;
|
||||
$usbHoleWidth = 12;
|
||||
$usbHoleHeight = 9;
|
||||
$usbOffsetFromPcb = 4 - $pcbDampenerOffset;
|
||||
$picoPcbClearanceFromBase = 5.4 - $pcbDampenerOffset;
|
||||
$usbHoleWidth = 11.15+($clearance*2);
|
||||
$usbHoleHeight = 7 + ($clearance *2);
|
||||
$usbOffsetFromPcb = 4.1 - $pcbHeight;
|
||||
$picoPcbClearanceFromBase = 5.4 - $pcbHeight;
|
||||
$picoWidth = 25;
|
||||
$picoLength = 53;
|
||||
// Move to position along the wall the usb will be
|
||||
// Hole should be centered on the pico usb
|
||||
translate([
|
||||
$topLeftEdgeOfPcbToCenterOfUsb - ($usbHoleWidth/2),
|
||||
$switchDistance * $rows,
|
||||
-$usbOffsetFromPcb
|
||||
-$usbOffsetFromPcb - (($usbHoleHeight - picoUsbBody.z )/2)
|
||||
]){
|
||||
// Create a hole for the usb cable to go through
|
||||
cube([
|
||||
@@ -201,7 +203,7 @@ module case(){
|
||||
module shim(){
|
||||
$shimPoints = [
|
||||
[0 - $shellWidth / 2, - $baseHeight],
|
||||
[$switchDistance * $columns + $shellWidth/2 + $clearance, $clearance],
|
||||
[$switchDistance * $columns + $shellWidth/2 + $clearance, -$clearance],
|
||||
[$switchDistance * $columns + $shellWidth/2 + $clearance, - ($baseHeight + $clearance)]
|
||||
];
|
||||
// Face z/x-plane
|
||||
@@ -238,7 +240,6 @@ module case(){
|
||||
module pcb() {
|
||||
jackBody = [15,6.15,5.3];
|
||||
picoBody = [21, 51.5, 1];
|
||||
picoUsbBody = [8, 5.66, 2.65];
|
||||
module jack() {
|
||||
translate([0,jackBody.y/2, jackBody.z/2])
|
||||
rotate([0,90])
|
||||
@@ -272,6 +273,6 @@ module pcb() {
|
||||
|
||||
}
|
||||
|
||||
*%pcb();
|
||||
*topDampeners();
|
||||
%pcb();
|
||||
%topDampeners();
|
||||
case();
|
||||
|
||||
Reference in New Issue
Block a user