Fixed pico clearance
This commit is contained in:
@@ -175,10 +175,11 @@ module case(){
|
||||
$picoLength = 53;
|
||||
// Move to position along the wall the usb will be
|
||||
// Hole should be centered on the pico usb
|
||||
holeOffset = -$usbOffsetFromPcb - (($usbHoleHeight - picoUsbBody.z )/2);
|
||||
translate([
|
||||
$topLeftEdgeOfPcbToCenterOfUsb - ($usbHoleWidth/2),
|
||||
$switchDistance * $rows,
|
||||
-$usbOffsetFromPcb - (($usbHoleHeight - picoUsbBody.z )/2)
|
||||
holeOffset
|
||||
]){
|
||||
// Create a hole for the usb cable to go through
|
||||
cube([
|
||||
@@ -190,7 +191,7 @@ module case(){
|
||||
translate([
|
||||
-(($picoWidth - $usbHoleWidth)/2),
|
||||
$clearance - $picoLength,
|
||||
+$usbOffsetFromPcb - $picoPcbClearanceFromBase
|
||||
-holeOffset - $picoPcbClearanceFromBase
|
||||
])
|
||||
// Make clearance downwards for the pico board
|
||||
cube([
|
||||
@@ -273,6 +274,6 @@ module pcb() {
|
||||
|
||||
}
|
||||
|
||||
%pcb();
|
||||
%topDampeners();
|
||||
*%pcb();
|
||||
*%topDampeners();
|
||||
case();
|
||||
|
||||
Reference in New Issue
Block a user