- 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

@@ -8,7 +8,7 @@ Cover_O = 2.5; // O = Overhang
Cover_T_T = 2.0; // T_T = Top Thickness Cover_T_T = 2.0; // T_T = Top Thickness
Cover_B_T = 2.0; // B_T = Bottom Thickness Cover_B_T = 2.0; // B_T = Bottom Thickness
Wall_PCB_GAP = 0.25; Wall_PCB_GAP = 0.25;
Wall_TB_Overlap = 1; // Overkap between Top an Bottom Wall Wall_TB_Overlap = 2; // Overkap between Top an Bottom Wall
Drill_M3 = 3.5; Drill_M3 = 3.5;
Ring_M3_H = 2; Ring_M3_H = 2;

View File

@@ -9,7 +9,7 @@ include <RP2350_MIDI_Lighter_Definition.scad>
Show_FAD_Logo = false; Show_FAD_Logo = false;
Show_PCB = false; Show_PCB = false;
Audio_Jack_Present = true; Audio_Jack_Present = false;
Debug_Present = true; Debug_Present = true;
$preview = true; $preview = true;
@@ -17,7 +17,7 @@ $preview = true;
if(Show_PCB) if(Show_PCB)
{ {
PCB(); PCB(Audio_Jack_Present);
translate([0,0,+PCB_T/2]) Spacer_Top(); translate([0,0,+PCB_T/2]) Spacer_Top();
translate([0,0,-PCB_T/2]) Spacer_Bot(); translate([0,0,-PCB_T/2]) Spacer_Bot();
} }
@@ -26,14 +26,36 @@ if(Show_PCB)
// translate([0, 0, eps]) // translate([0, 0, eps])
// Top(); // Top();
Top_Wall(); // Top_Wall();
// Bottom(); // Bottom();
// Bottom_Wall(); // Bottom_Wall();
// rotate([0, 180, 0]) // rotate([0, 180, 0])
// translate([0, 0, eps]) Display_GC9A01A_Cover(); // 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() module Display_GC9A01A_Cover()

View File

@@ -5,7 +5,7 @@ use <MCAD/boxes.scad>
include <NopSCADlib/vitamins/pcb.scad> include <NopSCADlib/vitamins/pcb.scad>
module PCB() module PCB(Add_Audio_Jack = true)
{ {
color([0.0, 1.0, 0.0]) color([0.0, 1.0, 0.0])
difference() difference()
@@ -23,7 +23,9 @@ module PCB()
translate([0, 0, PCB_T/2]) translate(Button) Button(); translate([0, 0, PCB_T/2]) translate(Button) Button();
translate([0, 0, PCB_T/2]) translate(USB_C) usb_C(false); translate([0, 0, PCB_T/2]) translate(USB_C) usb_C(false);
translate([0, 0, PCB_T/2]) translate(MOLEX) MOLEX_2x2P(false); translate([0, 0, PCB_T/2]) translate(MOLEX) MOLEX_2x2P(false);
translate([0, 0, PCB_T/2]) translate(Audio_Jack) Audio_Jack(false); if(Add_Audio_Jack) {
translate([0, 0, PCB_T/2]) translate(Audio_Jack) Audio_Jack(false);
}
for (i = MIDI_Plugs) { for (i = MIDI_Plugs) {
translate(i) MIDI_Plug_MABPM_5S(false); translate(i) MIDI_Plug_MABPM_5S(false);
} }