- Added guide structure to solder in MIDI Plugs as straight as possible

This commit is contained in:
2025-09-14 13:12:05 +02:00
parent d2f282c477
commit 097a50f073
3 changed files with 30 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ include <RP2350_MIDI_Lighter_Definition.scad>
Show_FAD_Logo = false;
Show_PCB = false;
Audio_Jack_Present = true;
Audio_Jack_Present = false;
Debug_Present = true;
$preview = true;
@@ -17,7 +17,7 @@ $preview = true;
if(Show_PCB)
{
PCB();
PCB(Audio_Jack_Present);
translate([0,0,+PCB_T/2]) Spacer_Top();
translate([0,0,-PCB_T/2]) Spacer_Bot();
}
@@ -26,14 +26,36 @@ if(Show_PCB)
// translate([0, 0, eps])
// Top();
Top_Wall();
// Top_Wall();
// Bottom();
// Bottom_Wall();
// rotate([0, 180, 0])
// translate([0, 0, eps]) Display_GC9A01A_Cover();
MIDI_Plug_Solder_Guide();
module MIDI_Plug_Solder_Guide()
{
Main_Block_X = PCB_W + 2*Cover_O;
Main_Block_Y = 13.335 + 2;
difference()
{
translate([PCB_W/2, , 0])
difference()
{
translate([0, -Main_Block_Y/2+MIDI_Plugs[0][1]-eps, 2]) cube([Main_Block_X, Main_Block_Y, 8], center=true);
translate([0, PCB_H/2, -50 + PCB_T/2]) cube([1*PCB_W, PCB_H, 100], center=true);
}
for (i = MIDI_Plugs) {
translate(i) {
translate([0, -5, 10.2/2]) cube([18.2, 10.0, 10.20], center=true);
translate([0, -0.5-10-0.5+eps, 20.35/2]) cube([20.5, 2.0, 20.35], center=true);
}
}
}
}
module Display_GC9A01A_Cover()