Fixed pcb supports

This commit is contained in:
2026-01-22 08:46:31 +01:00
parent f140d04d98
commit 2abfa54b92
3 changed files with 13 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
use <internal_components.scad>
use <fabula_enclosure.scad>
use <keys.scad>
use <character_retainer_ring.scad>
use <external_parts.scad>
explode_view = false;
@@ -16,16 +16,16 @@ color_top = "#ffad00";
module test_fit_components() {
// Internal components
translate([0, 30, 0]) speaker_80();
translate([0, 0, 26]) pcb();
translate([0, 0, 24.5]) pcb();
translate([0, -28, 9]) rotate([0, 90, 0]) battery_18650();
// Components that require cutout on external shell
translate([-29, -71.5, 1]) rotate([0, 0, 90]) li_ion_4056_charger_module();
color("#000") translate([-5, -92, 10]) rotate([90, 0, 0]) switch();
color(color_buttons_vol) translate([-13.4, -20.1, 43]) vol_up_keycap();
color(color_buttons_track) translate([12.6, -35.6, 43]) next_keycap();
color(color_buttons_track) translate([-23.4, -44.6, 43]) prev_keycap();
color(color_buttons_vol) translate([2.05, -61.05, 43]) vol_down_keycap();
color(color_buttons_vol) translate([-13.4, -20.1, 41.5]) vol_up_keycap();
color(color_buttons_track) translate([12.6, -35.6, 41.5]) next_keycap();
color(color_buttons_track) translate([-23.4, -44.6, 41.5]) prev_keycap();
color(color_buttons_vol) translate([2.05, -61.05, 41.5]) vol_down_keycap();
// Components mounted on the external shell
color("#fff") translate([0, 50, 45]) character_retainer_ring();
@@ -34,5 +34,5 @@ module test_fit_components() {
}
test_fit_components();
color(color_bottom) translate([0, 0, explode_view ? -20 : 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_bottom();
//color(color_bottom) translate([0, 0, explode_view ? -20 : 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_bottom();
color(color_top) translate([0, 0, explode_view ? 100 : 21]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_top();