Files
lightingsound/Audio Box/Audio Box.scad
T
2026-07-12 11:43:06 -07:00

74 lines
1.5 KiB
OpenSCAD

$fn = 100;
difference() {
color("grey")
cube([100, 50, 4.65]);
translate([15, 25, -0.05])
cylinder(h=4.75, d=8.1);
translate([25, 25, -0.05])
cylinder(h=4.75, d=8.1);
translate([20, 16.5, -0.05])
cylinder(h=4.75, d=8.1);
translate([20, 22.5, 0])
xlr();
}
translate([15, 25, 0])
jack();
translate([25, 25, 0])
jack();
translate([20, 16.5, 0])
jack();
translate([20, 22.5, 0])
xlr();
module jack() {
difference() {
union() {
color("darkgrey")
translate([0, 0, -11.70])
cylinder(h=16.35, d=8);
color("darkgrey")
translate([0, 0, -1.5])
cylinder(h=1.5, d=10);
}
translate([0, 0, -10.34])
cylinder(h=15, d=3.6);
}
}
module xlr() {
translate([0, 0, 4.20]) {
difference() {
color("white")
cylinder(h=0.5, d=28);
translate([0, 0, -0.05])
cylinder(h=0.6, d=27);
}
color("blue")
translate([-9, 8.5, 0.4])
scale([1, 1, 0.1])
text(text="1", size=2, font="JetBrains Mono", direction="ttb");
color("red")
translate([9, 8.5, 0.4])
scale([1, 1, 0.1])
text(text="2", size=2, font="JetBrains Mono", direction="ttb");
color("white")
translate([4, -8.5, 0.4])
scale([1, 1, 0.1])
text(text="3", size=2, font="JetBrains Mono", direction="ttb");
}
}