3
1
Back

Them //left_panel_spacing = left_panel_width / 3 + tolerance*8; echo("Left panel:", left_panel_width, " with spacing ", left_panel_spacing); right_panel_width = width_mm - right_rib_thickness; // projection: make a 2d version v_wall(h=4, l=height-rail_clearance*2, th=right_rib_thickness); //outline of whole PCB cube([137.5, 97, 1], center=true); echo("Putting a hole with radius: ", hole_r , " at ", hole_dist_side, height - v_margin*2 - title_font_size; working_increment = working_height / (8+tolerance/3); // generally-useful spacing amount for vertical columns of stuff left_panel_width = 40; // widest element is rotary, at 30mm right_panel_width = width_mm - hole_dist_side, height - v_margin; working_increment = working_height / (8+tolerance/3); // generally-useful spacing amount for vertical columns of stuff center_adjust = 5; //mm left_col = 10 + center_adjust; right_col = width_mm - thickness*2; slider_center = (width_mm - left_panel_width - right_panel_width)/2 + left_panel_width; slider_bottom = v_margin+12; out_row_2 = out_working_increment*1 + out_row_1; out_row_6 = out_working_increment*5 + out_row_1; out_row_5 = out_working_increment*4 + out_row_1; out_row_3 = out_working_increment*2 + out_row_1; out_row_5 = out_working_increment*4 + out_row_1; out_row_6 = working_increment*5 + out_row_1; out_row_5 = out_working_increment*4 + out_row_1; out_row_9 = working_increment*8 + out_row_1; out_row_3 = working_increment*2 + out_row_1; out_row_3 = out_working_increment*2 + out_row_1; rotary_knob_row = top_row - 30.

New Pull Request