3
1
Back

Formatting col_left = h_margin; working_increment = (working_height-v_margin+thickness) / (9); // generally-useful spacing amount for vertical columns of stuff working_height = height - rail_clearance - thickness*2 - 16.5/2; // 16.5 is the diameter measuring 90degrees on the left sub-panel right_rib_x = width_mm - thickness*2; // draw a "vertical" wall to mount the circuit board to module make_surface(filename, h) { cylinder(r=hole_r, h=thickness*2); echo("Putting a hole with radius: ", hole_r , " at ", 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); working_increment = working_height / (8+tolerance/3); // generally-useful spacing amount for vertical columns of stuff col_left = thickness + 6 + tolerance; rail_depth = 27.4 + tolerance; rotate_vector_cos = 0.94; // 'x' of 20 degree rotation rotate_vector_sin = 0.34; .

New Pull Request