mirror of
https://github.com/torvalds/GuitarPedal.git
synced 2025-12-22 00:15:24 +00:00
Fix up the CK-6.35 footprint for the correct symbol Ok, annoyingly, I've been using the wrong audio jack symbol for the mono case. It works fine, but it wasn't really right. I need to go back and fix the schematics, but here's the right S/T/TN footprint, at least. This also adds a "no non-plated through holes" version of the footprint: it uses the small plastic legs as actual legs instead of as positioning nubs. That makes the part take a bit more vertical space (or you have to just snip the plastic extrusions off, like I used to do) but can make it easier to fit other components on the other side when there is no NPTH. Finally, related to that "actual legs" change, this updates the 3d model to have the right height for those feet and does a new freecad STEP file export, and then adjusts the Z offset for the model in the footprint version without the board holes. This is just prep-work for any tight boards. I'm looking at you, 1590LB. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
53 lines
853 B
OpenSCAD
53 lines
853 B
OpenSCAD
$fn=40;
|
|
|
|
black = [0.2,0.2,0.2];
|
|
silver = [0.75,0.75,0.75];
|
|
|
|
// The model is centered on the front pin
|
|
// as per the data sheet
|
|
pins = [ [0, 0], [15, -2.5], [16, 2.5]];
|
|
|
|
feet = [ [ 0.3,3.9], [ 0.3,-3.9],
|
|
[11.9,3.9], [11.9,-3.9] ];
|
|
|
|
module body()
|
|
{
|
|
translate([-6.5,-6.5])
|
|
cube([14.5,13,11]);
|
|
translate([8,-5.5,0.5])
|
|
cube([10,11,10.5]);
|
|
}
|
|
|
|
module barrel()
|
|
{
|
|
translate([-6.5,0,5.5]) rotate([0,-90,0])
|
|
difference() {
|
|
union() {
|
|
cylinder(1, d=10.9);
|
|
cylinder(9, d=9);
|
|
}
|
|
translate([0,0,-1]) cylinder(12, d=6.35);
|
|
}
|
|
}
|
|
|
|
module ck635()
|
|
{
|
|
color(black) {
|
|
body();
|
|
|
|
// Feet or locating pins..
|
|
translate([0,0,-0.5]) for (pos = feet)
|
|
translate(pos) cylinder(2, d=2);
|
|
}
|
|
|
|
color(silver) {
|
|
barrel();
|
|
|
|
// Pins
|
|
for (pos = pins)
|
|
translate(pos) translate([0,0,-2]) cube([2,0.8,6], center=true);
|
|
}
|
|
}
|
|
|
|
ck635();
|