torvalds-GuitarPedal/Models/NRJ6HM-1-PRE.scad
Linus Torvalds 2b95806a69 Fix NRJ6HM-1-PRE jack location
It's 6.5mm up from the base, not 6mm. See

   https://www.neutrik.com/media/8570/download/st-nrj6hm-1-pre.PDF?v=2

for details.

I'm just checking this for drill patterns, and updating the drill
pattern text as well.  I'm doing a test enclosure run, because it takes
2+ weeks to get any back, and I have the merge window coming up.  So
when it's done, maybe I'll have boards and enclosures to actually test.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-27 16:41:16 -07:00

46 lines
749 B
OpenSCAD

$fn=40;
red = [0.8,0.2,0.2];
black = [0.2,0.2,0.2];
silver = [0.75,0.75,0.75];
epsilon = 0.001;
// The model is centered on the barrel
pins = [ [-17.45,7.23], [ -11.1,7.23 ], [-4.75,7.23],
[-17.45,-4.2], [-11.1,-4.2], [-4.75,-4.2 ] ];
module body()
{
union() {
translate([-22,-6.43,0])
cube([22,15.75,13]);
translate([-25,0,6]) {
rotate([0,90,0]) {
cylinder(3,d1=8,d2=9);
}
}
}
}
module barrel()
{
translate([0,0,6.5]) rotate([0,90,0]) {
difference() {
cylinder(8,d=9);
cylinder(9,d=6.35);
}
}
}
module nrj6hm()
{
color(black) body();
color(silver)
barrel();
// Pins
color(silver) for (pos = pins)
translate(pos) translate([0,0,-2]) cube([1,1,6], center=true);
}
nrj6hm();