25 lines
603 B
OpenSCAD
25 lines
603 B
OpenSCAD
// The cutouts to allow external components (such as buttons and connectors) to be mounted on the box
|
|
|
|
// 4056-based li-ion charging module
|
|
module usb_cutout() {
|
|
hull() {
|
|
translate([0, -3, 0]) cylinder(h=11, d=8);
|
|
translate([0, 3, 0]) cylinder(h=11, d=8);
|
|
translate([0, 0, 12]) cube([3, 8.9, 2], true);
|
|
}
|
|
}
|
|
|
|
// 14x12mm rocker switch with 21x15mm flange
|
|
module switch_cutout() {
|
|
cube([14.2, 12.2, 30], true);
|
|
}
|
|
|
|
module speaker_grille() {
|
|
linear_extrude(height = 10, center = true) {
|
|
import("speaker_grille.svg");
|
|
}
|
|
}
|
|
|
|
|
|
//usb_cutout();
|
|
speaker_grille(); |