3
1
Back

JackHoleRows * jackHoleDiameter) / (jackHoleRows); horizontalJackHoleSpacing = (hp*panelHp - jackHoleColumns * jackHoleDiameter) / (jackHoleRows); horizontalJackHoleSpacing = (hp*panelHp - jackHoleColumns * jackHoleDiameter) / (jackHoleRows); horizontalJackHoleSpacing = (hp*panelHp - jackHoleColumns * jackHoleDiameter) / (jackHoleColumns + 1); for(verticalOffset = [panelInnerOffset + verticalJackHoleSpacing/2 + jackHoleDiameter/2 : verticalJackHoleSpacing + jackHoleDiameter / 2 + 3 + tolerance*8; echo("Left panel:", left_panel_width, " with spacing ", left_panel_spacing); right_panel_width = width_mm - h_margin; cv_in = [h_margin, row_1, 0]; triangle_out = [width_mm-h_margin-working_width/4, row_1, 0]; left_rib_x = thickness * 1.2; right_rib_x = width_mm - thickness*2; // draw a "vertical" wall to mount the circuit board sideways on // h = shafthole_height, $fn = smooth } module smoothing() { // smoothing = true; cylinder_number_of_indentations = 10; label_font = 6; //knob_radius top_row = height - v_margin*2 - title_font_size; working_increment = working_height / (8+tolerance/3); // generally-useful spacing amount for vertical columns of stuff col_left = thickness * 1; right_rib_x = width_mm - thickness*2.5 - tolerance*6; out_row_1 = v_margin+12; out_row_2 = working_increment*1 + row_1; row_5 = working_increment*4 + out_row_1; out_row_7 = working_increment*6 + 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_4 = out_working_increment*3 + out_row_1; out_row_3 = working_increment*2 + row_1; row_4 = working_increment*3 + row_1; row_3 = row_2 + vertical_space/7; row_6 = row_5 + vertical_space/7; row_3 = row_2 + vertical_space/7; row_5 = row_4 + vertical_space/7; row_4 = working_increment*3 + row_1; working_increment = working_height / (8+tolerance/5); // generally-useful spacing amount for vertical columns of stuff working_increment = (working_height-v_margin+thickness) / (9); // generally-useful spacing amount.

New Pull Request