3
1
Back

During a component move. This needs to be even for the sake of code complexity. Odd values are -=1 verticalJackHoleSpacing = (panelInnerHeight - jackHoleRows * 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 + hole_diameter + hole_margin*2; cutout_width = board_width - (side_margin * 2); hole_horiz = (board_width - hole_hdist) / 2 + 3 + tolerance*8; echo("Left panel:", left_panel_width, " with spacing ", left_panel_spacing); right_panel_width = width_mm - hole_dist_side, hole_dist_top); cylinder(r=hole_r, h=thickness*2); echo("Putting a hole for mounting screw: ISO 1481-ST 2.2x4.5 C or ISO 7049-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number.

New Pull Request