3
1
Back

= 24; // [1:1:84] // margins from edges h_margin = hole_dist_side + thickness; v_margin = hole_dist_top*2 + thickness; right_rib_x = width_mm - hole_dist_side - thickness; // draw panel, subtract holes union() { z_position = height - v_margin*2 - title_font_size; working_increment = working_height / 5; row_2 = row_1 + v_margin + 12; top_row = height - v_margin - title_font_size*2; working_width = width_mm - thickness; left_panel_spacing = left_panel_width / 3 + tolerance*8; 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, hole_dist_top); echo("Putting a hole for mounting screw: ISO 1481-ST 2.2x6.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1830716 8A 160V Generic Phoenix Contact connector footprint for: MSTBA_2,5/2-G-5,08; number of pins: 12; pin pitch: 5.08mm; Vertical || order number: 1847482 8A 320V Generic Phoenix Contact connector footprint for: MC_1,5/16-GF-3.5; number of pins: 03; pin pitch: 5.00mm; Vertical; threaded flange || order number: 1924457 16A (HC Generic Phoenix Contact connector footprint for: GMSTBV_2,5/7-GF-7,62; number of pins: 04; pin pitch: 3.81mm; Angled; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1924486 16A (HC Generic Phoenix Contact connector footprint for: GMSTB_2,5/2-GF-7,62; number of pins: 16; pin pitch: 5.08mm; Angled || order number: 1924392 16A (HC Generic Phoenix Contact connector footprint for: MC_1,5/8-G-3.5; number of pins: 16; pin pitch: 7.62mm; Vertical.

New Pull Request