- Finished first workable version of housing. Fine tuning still needed
- Changed batch script to read out framebuffer -> better automatic file naming. Needs to be tested.
This commit is contained in:
@@ -10,7 +10,7 @@ include <RP2350_MIDI_Lighter_Definition.scad>
|
||||
Show_FAD_Logo = false;
|
||||
Show_PCB = false;
|
||||
Debug_Present = true;
|
||||
$preview = true;
|
||||
$preview = false;
|
||||
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ if(Show_PCB)
|
||||
// Top();
|
||||
// Top_Wall();
|
||||
|
||||
Bottom();
|
||||
// Bottom_Wall(0);
|
||||
// Bottom();
|
||||
Bottom_Wall();
|
||||
// rotate([0, 180, 0])
|
||||
// translate([0, 0, eps]) Display_GC9A01A_Cover();
|
||||
|
||||
@@ -74,7 +74,7 @@ module Top()
|
||||
translate(Rotary_Encoder) cylinder(d=15, h=100, center=false, $fn = $preview ? 32 : 100);
|
||||
|
||||
translate([0, 0, -0.5]) // Penetration Depth
|
||||
translate(GC9A01A) GC9A01A_Cover_Plate(1, 1.02, true);
|
||||
translate(GC9A01A) GC9A01A_Cover_Plate(1, 1.01, true);
|
||||
}
|
||||
|
||||
translate([0, 0, -Spacer_Top_Height - PCB_T/2]) PCB_Cutouts_Top_Plate();
|
||||
@@ -270,38 +270,36 @@ module Bottom()
|
||||
}
|
||||
}
|
||||
|
||||
module Bottom_Wall(plate_transition = 1)
|
||||
module Bottom_Wall()
|
||||
{
|
||||
translate([0, 0, 0])
|
||||
union()
|
||||
{
|
||||
translate([PCB_W/2, PCB_H/2, -Wall_B_H/2])
|
||||
union()
|
||||
difference()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
roundedBox( [PCB_W + 2*Cover_O , PCB_H + 2*Cover_O , 1*Wall_B_H], 2, true, $fn = $preview ? 32 : 100);
|
||||
cube( [PCB_W + 0*Cover_O + 0.5, PCB_H + 0*Cover_O + 0.5 , 2*Wall_T_H], center=true);
|
||||
translate([0, 0, +Cover_B_T/2 - Wall_B_H/2 - eps])
|
||||
cube( [PCB_W + 1*Cover_O + 0.5, PCB_H + 1*Cover_O + 0.5 , Cover_B_T], center=true);
|
||||
}
|
||||
translate([PCB_W/2, PCB_H/2, -Wall_B_H/2])
|
||||
union()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
roundedBox( [PCB_W + 2*Cover_O , PCB_H + 2*Cover_O , 1*Wall_B_H], 2, true, $fn = $preview ? 32 : 100);
|
||||
cube( [PCB_W + 0*Cover_O + 0.5, PCB_H + 0*Cover_O + 0.5 , 2*Wall_T_H], center=true);
|
||||
translate([0, 0, +Cover_B_T/2 - Wall_B_H/2 - eps])
|
||||
cube( [PCB_W + 1*Cover_O + 0.5, PCB_H + 1*Cover_O + 0.5 , Cover_B_T], center=true);
|
||||
}
|
||||
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2 , 9 , Power_Plug[1]-2.4);
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2+2.5 , 3 , Button[1]);
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2+2.0 , 16 , USB_C[1]);
|
||||
Bottom_Wall_Add_Part("top" , PCB_T/2 , 10 , MOLEX[0]);
|
||||
Bottom_Wall_Add_Part("bottom" , 3.2 , 9.5 , Audio_Jack[0]);
|
||||
// Bottom_Wall_Add_Part("bottom" , PCB_T/2+2.5 , PCB_W-1 , PCB_W/2);
|
||||
|
||||
// for (i = MIDI_Plugs) {
|
||||
// Bottom_Wall_Add_Part("bottom", PCB_T/2+Spacer_Top_Height, 22, i[0]);
|
||||
// }
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2 , 9 , Power_Plug[1]-2.4);
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2+2.5 , 3 , Button[1]);
|
||||
Bottom_Wall_Add_Part("right" , PCB_T/2+2.0 , 16 , USB_C[1]);
|
||||
Bottom_Wall_Add_Part("top" , PCB_T/2 , 10 , MOLEX[0]);
|
||||
Bottom_Wall_Add_Part("bottom" , 3.2 , 9.5 , Audio_Jack[0]);
|
||||
}
|
||||
PCB_Cutouts_From_Bottom();
|
||||
}
|
||||
Screw_Plate_T = 1.0;
|
||||
|
||||
translate([0, 0, -Screw_Plate_T])
|
||||
Top_Wall_Screw_Plates(Screw_Plate_T, -PCB_T/2 - Spacer_Bot_Height);
|
||||
// Top_Wall_Screw_Plates(1.0, PCB_T/2 - Spacer_Bot_Height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user