Files
cheapino/case/cheapino-top-left.scad
Trevor Elliott 296dc9a8cf Slightly increase the size of the RJ45 hole in the case
Widening the RJ45 connector hole along the x-axis by 0.45mm makes it
easier to fit the assembled board without sanding.
2024-07-07 13:53:25 -07:00

44 lines
725 B
OpenSCAD

height = 95.1738;
width = 132.6134;
step = 0.06;
$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.15) 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.5, -10.3, 4.1])
linear_extrude(10)
square([30, 16]);
translate([45, -5.8, 2.5])
linear_extrude(10)
square([15, 7]);
}
mcu_cutout();
// mounting holes
mounting_hole_inserts();
}