- Added Overlap between Top and Bottom Wall

This commit is contained in:
2025-09-13 07:57:48 +02:00
parent 30da52f4b0
commit d2f282c477
3 changed files with 52 additions and 23 deletions

View File

@@ -45,11 +45,13 @@ module PCB_Cutouts_Top_Plate()
}
}
module PCB_Cutouts_Top_Wall()
module PCB_Cutouts_Top_Wall(Add_Audio_Jack = true)
{
translate([0, 0, PCB_T/2]) translate(USB_C) usb_C(true);
translate([0, 0, PCB_T/2-0.3]) translate(Power_Plug) Power_Plug_Cutout();
translate([0, 0, PCB_T/2]) translate(Audio_Jack) Audio_Jack(true);
if(Add_Audio_Jack) {
translate([0, 0, PCB_T/2]) translate(Audio_Jack) Audio_Jack(true);
}
translate(MOLEX)
translate([0, 10, PCB_T/2+Spacer_Top_Height+Cover_T_T/4-eps]) cube([5, 18, Cover_T_T/2], center=true);
@@ -102,8 +104,9 @@ module Spacer(height)
module Spacer_Top()
{
color([0.3, 0.6, 0.0])
for (i = Mounting_Holes) {
translate(i) Spacer(Spacer_Top_Height);
// for (i = Mounting_Holes) {
for (i = [0:len(Mounting_Holes)-1]) {
translate(Mounting_Holes[i]) Spacer(Spacer_Top_Heights[i]);
}
}