Add 3d printable front panel

This commit is contained in:
Jan-Henrik 2020-07-17 00:02:46 +02:00
parent bd56f64912
commit 752b8c9d93
2 changed files with 39419 additions and 30503 deletions

View file

@ -1,23 +1,39 @@
width = 75; width = 69.215;
panel_width = 76.2; panel_width = 70.8;
thickness = 2; thickness = 2.2;
jack_radius = 6.2 / 2; jack_radius = 6.1 / 2;
pot_radius = 9.1 / 2; pot_radius = 7.1 / 2;
led_radius = 5.1 / 2; led_radius = 3.2 / 2;
switch_radius = 5.1 / 2; switch_radius = 5.1 / 2;
x_offset = (128.5 - 100) / 2; x_offset = (128.5 - 100) / 2;
y_offset = (panel_width - width) / 2; y_offset = (panel_width - width) / 2;
jacks = [[6.35, 91.44], [6.35, 74.93], [6.35, 58.42], [6.35, 41.91], [6.35, 22.352], [6.35, 7.62], jacks = [[6.35, 95.25], [20.32, 95.25],
[19.05, 91.44], [19.05, 74.93], [19.05, 58.42], [19.05, 41.91], [19.05, 22.352], [19.05, 7.62], [6.35, 85.09], [20.32, 85.09],
[31.75, 22.352], [31.75, 7.62], [6.35, 73.74], [20.32, 73.74],
[44.45, 22.352], [44.45, 7.62], [6.35, 63.58], [20.32, 63.58],
[64.77, 22.352], [64.77, 7.62]]; [6.35, 52.15], [20.32, 52.15],
pots = [[44.7675, 91.44], [44.7675, 74.93], [44.7675, 58.42], [44.7675, 41.91], [6.35, 41.99], [20.32, 41.99],
[64.77, 91.44], [64.77, 74.93], [64.77, 58.42], [64.77, 41.91]]; [6.35, 30.32], [20.32, 30.32],
leds = []; [6.35, 20.32], [20.32, 20.32],
switches = []; [6.35, 5.08], [20.32, 5.08],
];
pots = [[39.37, 90.17], [60.69, 90.17],
[39.37, 68.58], [60.69, 68.58],
[39.37, 46.99], [60.69, 46.99],
[39.37, 25.40], [60.69, 25.40]];
leds = [[50.165, 85.725],
[50.165, 64.135],
[50.165, 42.545],
[50.165, 20.955]];
switches = [[50.165, 80.01],
[50.165, 58.42],
[50.165, 36.83],
[50.165, 15.24]];
difference() { difference() {
cube(size = [128.5, panel_width, thickness]); cube(size = [128.5, panel_width, thickness]);
@ -35,13 +51,9 @@ difference() {
translate([switch[1] + x_offset, switch[0]+y_offset, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = switch_radius, $fn = 50); translate([switch[1] + x_offset, switch[0]+y_offset, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = switch_radius, $fn = 50);
// top hole // top hole
translate([125.5, 7.5, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 10); translate([125.5, 7.5, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 10);
translate([125.5, 7.5 + 11 * 5.08, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 10);
//bottom hole //bottom hole
translate([3, 7.5, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 100); translate([3, 7.5, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 100);
translate([3, 7.5 + 11 * 5.08, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 10);
// top hole
translate([125.5, ((panel_width / 5.08) - 2) * 5.08, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 10);
//bottom hole
translate([3, ((panel_width / 5.08) - 2) * 5.08, -thickness / 2]) linear_extrude(height = thickness * 2) circle(r = 3.2 / 2, $fn = 100);
} }

File diff suppressed because it is too large Load diff