Switch model

This commit is contained in:
2026-01-02 10:45:55 +01:00
parent 1de8dfc661
commit d9ad1ae3c5

View File

@@ -1,6 +1,7 @@
// This file contains the components used in Fabula.
// This is for test-fitting and shouldn't be printed.
// 50mm speaker
module speaker() {
translate([0, 0, -2]) {
union() {
@@ -20,13 +21,22 @@ module speaker() {
}
}
// 4056-based li-ion charging module
module li_ion_4056_charger_module() {
cube([28, 17, 2], true);
translate([-14 + 3.25, 0, 2]) cube([6.5, 8.9, 3], true);
}
// 14x12mm rocker switch with 21x15mm flange
module switch() {
// Body
cube([14, 12, 11], true);
// Flange
translate([0, 0, 11/2]) cube([21, 15, 2], true);
// Rocker
translate([0, 0, 6]) rotate([0, 15, 0]) cube([12, 10, 5], true);
}
//speaker();
//li_ion_4056_charger_module();
switch();