35 lines
1.2 KiB
OpenSCAD
35 lines
1.2 KiB
OpenSCAD
// This file contains the enclosure with all the internal components, for a test fit.
|
|
|
|
use <internal_components.scad>
|
|
use <fabula_enclosure.scad>
|
|
use <keys.scad>
|
|
use <character_retainer_ring.scad>
|
|
|
|
explode_view = false;
|
|
|
|
|
|
module test_fit_components() {
|
|
// Internal components
|
|
translate([0, 30, 0]) speaker_80();
|
|
translate([0, 0, 26]) 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();
|
|
translate([-5, -92, 10]) rotate([90, 0, 0]) switch();
|
|
translate([-13.4, -20.1, 43]) vol_up_keycap();
|
|
translate([12.6, -35.6, 43]) next_keycap();
|
|
translate([-23.4, -44.6, 43]) prev_keycap();
|
|
translate([2.05, -61.05, 43]) vol_down_keycap();
|
|
|
|
// Components mounted on the external shell
|
|
translate([0, 50, 45]) character_retainer_ring();
|
|
}
|
|
|
|
//test_fit_components();
|
|
//translate([0, 0, explode_view ? -20 : 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_bottom();
|
|
translate([0, 0, explode_view ? 100 : 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_top();
|
|
|
|
//DEBUG
|
|
//translate([0, 50, 45]) character_retainer_ring();
|
|
//DEBUG |