Fixed colors

This commit is contained in:
2026-02-01 09:54:53 +01:00
parent 552cc07d7f
commit f68041bddb
2 changed files with 6 additions and 7 deletions

View File

@@ -7,10 +7,10 @@ use <external_parts.scad>
explode_view = false;
color_buttons_vol = "#814abd";
color_buttons_vol = "#ffad00";
color_buttons_track = "#ff3100";
color_bottom = "#fff";
color_top = "#ffad00";
color_top = "#814abd";
module test_fit_components() {
@@ -21,16 +21,15 @@ module test_fit_components() {
// 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("#444") translate([-5, -92, 10]) rotate([90, 0, 0]) switch();
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();
//translate([24, 0, 38]) rotate([0, 0, -90]) status_led_diffuser();
color(color_top) translate([51, 10, 30]) rotate([90, 0, 0]) rotate([0, 270, 0]) sdcard_access_port();
color("#fff") translate([0, 50, explode_view ? 100 + 45 : 45]) character_retainer_ring();
color(color_top) translate([explode_view ? 80 : 51, 10, explode_view ? 79 + 30 : 30]) rotate([90, 0, 0]) rotate([0, 270, 0]) sdcard_access_port();
}
test_fit_components();