33 lines
682 B
OpenSCAD
33 lines
682 B
OpenSCAD
pcb_width = 139.7;
|
|
pcb_depth = 82.55;
|
|
pcb_radius = 3.175;
|
|
pcb_thickness = 1.6;
|
|
|
|
plate_height = 1.5;
|
|
|
|
case_thickness = 5;
|
|
case_bottom_thickness = 3;
|
|
case_height = 10;
|
|
|
|
standoff_height = 3;
|
|
|
|
mounting_holes = [
|
|
[36.5125, 21.0188],
|
|
[30.9563, 57.9438],
|
|
[116.6813, 14.2875],
|
|
[98.425, 69.0563]
|
|
];
|
|
|
|
|
|
module lug(north_facing=true, hole=true) {
|
|
difference() {
|
|
hull() {
|
|
translate([0, north_facing ? 2 : -2, 0]) cylinder(h=plate_height, d=4);
|
|
translate([-5, 0, 0]) cylinder(h=plate_height, d=2);
|
|
translate([5, 0, 0]) cylinder(h=plate_height, d=2);
|
|
}
|
|
if (hole) {
|
|
translate([0, north_facing ? 2 : -2, 0]) cylinder(h=plate_height, d=2.2);
|
|
}
|
|
}
|
|
}
|