panel_nas right side placement and related panel size fixed

This commit is contained in:
Edward Kisiel
2025-04-24 18:16:50 -04:00
parent 3281835ac8
commit a6dd0dcb1d
3 changed files with 36 additions and 30 deletions

View File

@@ -63,8 +63,8 @@ module case_bottom(case_design) {
}
}
if(case_design == "panel_nas") {
x_adj = pcb_width > 100 ? width-2*sidethick : width-2*(gap+sidethick);
xtab_adj = pcb_width > 100 ? width-gap-2*sidethick-adj : width-gap-2*(gap+sidethick)-adj;
x_adj = pcb_width > 100 ? width-2*sidethick : 101.6+case_offset_x;
xtab_adj = pcb_width > 100 ? width-gap-2*sidethick-adj : 101.6-gap+case_offset_x-adj;
union() {
translate([-gap,-wallthick,0])
cube([x_adj,depth-(2*wallthick),floorthick]);