Files
Fabula/enclosure/test_fit.scad

34 lines
1.3 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();
//translate([24, 0, 38]) rotate([0, 0, -90]) status_led_diffuser();
translate([51, 10, 30]) rotate([90, 0, 0]) rotate([0, 270, 0]) sdcard_access_port();
}
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();