diff --git a/enclosure/internal_components.scad b/enclosure/internal_components.scad index 394aabf..9839e85 100644 --- a/enclosure/internal_components.scad +++ b/enclosure/internal_components.scad @@ -37,6 +37,30 @@ module switch() { translate([0, 0, 6]) rotate([0, 15, 0]) cube([12, 10, 5], true); } +// Mainboard. The highest component is the capacitor with a total height of 18mm, but we round to 20 for good measure. +module pcb() { + translate([0, 0, -10]) { + linear_extrude(height = 20) { + hull() { + /* + Center svg + Bounding box: + Min: 19.20, 49.71 + Max: 97.09, 198.06 + Size: 77.89, 148.35 + */ + translate([-77.89 / 2 - 19.20, -148.35 / 2 - 49.71, 0]) import("pcb.svg"); + } + } + } +} + +module battery_18650() { + cylinder(d = 18, h = 65, center = true); +} + //speaker(); //li_ion_4056_charger_module(); -switch(); \ No newline at end of file +//switch(); +//pcb(); +battery_18650(); \ No newline at end of file diff --git a/enclosure/pcb.svg b/enclosure/pcb.svg new file mode 100644 index 0000000..db0fabe --- /dev/null +++ b/enclosure/pcb.svg @@ -0,0 +1,140 @@ + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + Image generated by PCBNEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + + + + diff --git a/enclosure/pcb_keys_stems.svg b/enclosure/pcb_keys_stems.svg new file mode 100644 index 0000000..4c8e4f3 --- /dev/null +++ b/enclosure/pcb_keys_stems.svg @@ -0,0 +1,87 @@ + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + Image generated by PCBNEW + + + + + + + + + + + + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + + + + diff --git a/enclosure/pcb_mounting_holes.svg b/enclosure/pcb_mounting_holes.svg new file mode 100644 index 0000000..5d3aee5 --- /dev/null +++ b/enclosure/pcb_mounting_holes.svg @@ -0,0 +1,87 @@ + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + Image generated by PCBNEW + + + + + + + + + + + + + + + + SVG Image created as Fabula-Edge_Cuts.svg date 2025/12/31 07:00:32 + + + +