From d9ad1ae3c5ccb46998ec1fa6d8104073dd9e48af Mon Sep 17 00:00:00 2001 From: Daniele Verducci Date: Fri, 2 Jan 2026 10:45:55 +0100 Subject: [PATCH] Switch model --- enclosure/internal_components.scad | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/enclosure/internal_components.scad b/enclosure/internal_components.scad index 67ea944..394aabf 100644 --- a/enclosure/internal_components.scad +++ b/enclosure/internal_components.scad @@ -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(); \ No newline at end of file