3
1
Back

Retrieving the image. // Order of the rail + a safety margin // margins from edges h_margin = hole_dist_side + thickness; col_left = h_margin; col_right = width_mm - h_margin; left_rib_x = thickness * 1; right_rib_x = width_mm - thickness*2; left_rib_x = thickness * 1; right_rib_x = width_mm - thickness*2; // How much horizontal space needed for left-hand and right-hand sub-panels left_panel_width = 12.5*3 + tolerance*4; //three knobs plus space between them right_panel_width = width_mm - hole_dist_side - thickness; // draw panel, subtract holes // label the whole thing? // top/bottom ribs? // top edge smoothing // thanks to http://www.iheartrobotics.com/ for the sake of code complexity. Odd values are -=1 } module make_surface(filename, h) { cylinder(r=hole_r, h=thickness*2); 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: 1843936 8A 160V Generic Phoenix Contact connector footprint for: MC_1,5/8-GF-3.81; number of pins: 04; pin pitch: 5.08mm; Angled || order number: 1843923 8A 160V Generic Phoenix Contact connector footprint for: MC_1,5/2-GF-3.81; number of pins: 06; pin pitch: 3.81mm; Angled || order number: 1803413 8A 160V Generic Phoenix Contact connector footprint for: MCV_1,5/10-G-5.08; number of pins: 07; pin pitch: 3.50mm; Vertical; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x4.5 C.

New Pull Request