85 lines
No EOL
3.5 KiB
OpenSCAD
85 lines
No EOL
3.5 KiB
OpenSCAD
panel_width = 95;
|
|
panel_height = 200;
|
|
|
|
thickness = 3;
|
|
|
|
screw_right_right = 17.7;
|
|
screw_right_bottom = 8.8;
|
|
|
|
screw_left_left = 13.8;
|
|
screw_left_bottom = 9;
|
|
|
|
screw_top_right_right = 10.5;
|
|
screw_top_right_bottom = 108;
|
|
|
|
screw_top_left_left = 10.5;
|
|
screw_top_left_bottom = 84;
|
|
|
|
backside_hold_height = 50;
|
|
|
|
bottom_margin_height = 30;
|
|
|
|
total_height = backside_hold_height + bottom_margin_height;
|
|
|
|
backside_standoff_height = 17;
|
|
|
|
long_thingy_height = 116;
|
|
long_thingy_width = 18;
|
|
/*
|
|
difference() {
|
|
union() {
|
|
translate([0, -bottom_margin_height, 0]) cube([panel_width, total_height, thickness]);
|
|
|
|
translate([25, 10, -backside_standoff_height])cylinder(h=backside_standoff_height, d=8, $fn=20);
|
|
translate([panel_width - 25, 10, -backside_standoff_height])cylinder(h=backside_standoff_height, d=8, $fn=20);
|
|
|
|
translate([10, long_thingy_height, -backside_standoff_height])cylinder(h=backside_standoff_height, d=8, $fn=20);
|
|
translate([panel_width - 10, long_thingy_height, -backside_standoff_height])cylinder(h=backside_standoff_height, d=8, $fn=20);
|
|
|
|
cube([long_thingy_width, long_thingy_height, thickness]);
|
|
translate([panel_width - long_thingy_width, 0, 0]) cube([long_thingy_width, long_thingy_height, thickness]);
|
|
|
|
translate([0, long_thingy_height, 0]) cube([panel_width, 8, thickness]);
|
|
|
|
translate([4, 12.7, -thickness+2])cube([panel_width/8, 2, 1]);
|
|
translate([4, 18.3, -thickness+2])cube([panel_width/8, 2, 1]);
|
|
}
|
|
|
|
// knobs
|
|
translate([panel_width - bottom_margin_height/2, -bottom_margin_height/2, -1]) cylinder(h = 20, d = 7.2, $fn=20);
|
|
translate([panel_width - bottom_margin_height/2 - 25, -bottom_margin_height/2, -1]) cylinder(h = 20, d = 7.2, $fn=20);
|
|
|
|
|
|
// screws
|
|
translate([panel_width - screw_right_right, screw_right_bottom, -1]) cylinder(h = 20, d = 3.2, $fn=20);
|
|
translate([screw_left_left, screw_left_bottom, -1]) cylinder(h = 20, d = 3.2, $fn=20);
|
|
|
|
translate([panel_width - screw_top_right_right, screw_top_right_bottom, -1]) cylinder(h = 20, d = 3.2, $fn=20);
|
|
translate([screw_top_left_left, screw_top_left_bottom, -1]) cylinder(h = 20, d = 3.2, $fn=20);
|
|
|
|
translate([10, long_thingy_height, -1-backside_standoff_height]) cylinder(h = 30, d = 3, $fn=20);
|
|
translate([panel_width - 10, long_thingy_height, -1-backside_standoff_height]) cylinder(h = 30, d = 3, $fn=20);
|
|
|
|
translate([25, 10, -1-backside_standoff_height]) cylinder(h = 30, d = 3, $fn=20);
|
|
translate([panel_width - 25, 10, -1-backside_standoff_height]) cylinder(h = 30, d = 3, $fn=20);
|
|
}*/
|
|
|
|
color("blue") translate([0, 0, -backside_standoff_height-thickness]) difference() {
|
|
union() {
|
|
cube([panel_width, long_thingy_height+50, thickness]);
|
|
|
|
translate([0, 15, 0]) cube([panel_width/4, 3, backside_standoff_height+thickness-.2]);
|
|
|
|
|
|
|
|
}
|
|
translate([panel_width / 2, long_thingy_height+40, -1]) cylinder(h=20, d=8, $fn=20);
|
|
|
|
translate([10.5, 20, 12]) rotate([90, 0, 0]) cylinder(h = 20, d = 10, $fn=20);
|
|
|
|
translate([10, long_thingy_height, -1-backside_standoff_height]) cylinder(h = 30, d = 3.2, $fn=20);
|
|
translate([panel_width - 10, long_thingy_height, -1-backside_standoff_height]) cylinder(h = 30, d = 3.2, $fn=20);
|
|
|
|
translate([25, 10, -1-backside_standoff_height]) cylinder(h = 30, d = 3.2, $fn=20);
|
|
translate([panel_width - 25, 10, -1-backside_standoff_height]) cylinder(h = 30, d = 3.2, $fn=20);
|
|
} |