44 lines
727 B
OpenSCAD
44 lines
727 B
OpenSCAD
height = 95.1738;
|
|
width = 132.6134;
|
|
step = 0.04;
|
|
$fn=50;
|
|
|
|
height_translation = 0;
|
|
include <modules.scad>
|
|
|
|
// Rotate so you dont need to do that in extruder
|
|
translate([0,0,9.1])
|
|
rotate([0,180,0])
|
|
difference() {
|
|
case();
|
|
linear_extrude(4.1) offset(delta=0.45) base();
|
|
|
|
// For debug: comment out above 3 lines and comment in this
|
|
//translate([0,0,4.1])
|
|
// board();
|
|
|
|
translate([0,0,top_of_pcb]) switch_holes();
|
|
|
|
// Diodes
|
|
translate([0, 0, top_of_pcb]) diodes();
|
|
|
|
// RJ45 socket
|
|
color("cyan") {
|
|
translate([29.2, -10.6, 4.1])
|
|
linear_extrude(10)
|
|
square([30, 16.6]);
|
|
|
|
translate([45, -5.8, 2.5])
|
|
linear_extrude(10)
|
|
square([15, 7]);
|
|
}
|
|
|
|
mcu_cutout();
|
|
// mounting holes
|
|
mounting_hole_inserts();
|
|
|
|
}
|
|
|
|
|
|
|