standoff variable seperation for gui, initial work for top and bottom standoffs
This commit is contained in:
@@ -469,7 +469,7 @@ module case_bottom(case_design) {
|
||||
}
|
||||
}
|
||||
// standoff sidewall support
|
||||
if(sidewall_support == true && sbc_top_standoffs == true) {
|
||||
if(bottom_sidewall_support == true && sbc_top_standoffs == true) {
|
||||
for (i=[1:11:len(sbc_data[s[0]])-2]) {
|
||||
class = sbc_data[s[0]][i+1];
|
||||
type = sbc_data[s[0]][i+2];
|
||||
@@ -509,7 +509,7 @@ module case_bottom(case_design) {
|
||||
}
|
||||
}
|
||||
// extended standoff sidewall support
|
||||
if(case_ext_standoffs == true && sidewall_support == true) {
|
||||
if(case_ext_standoffs == true && bottom_sidewall_support == true) {
|
||||
// right-rear standoff
|
||||
if(width-pcb_loc_x-pcb_width >= 10 || pcb_loc_y >= 10) {
|
||||
translate([width-(2*(wallthick+gap))-(c_fillet/2)+(bottom_ext_standoff[0]/2)-.5,
|
||||
|
||||
Reference in New Issue
Block a user