3
1
Back

Assign(lf0=lf*i, lf1=lf*(i+1/2), lf2=lf*(i+1)) { polyhedron( points=[ [ 0,0,h0], [ ord*cos(lf0), ord*sin(lf0), h0], [ ird*cos(lf1), ird*sin(lf1), h2], [ ord*cos(lf2), ord*sin(lf2), h0], [ ord*cos(lf2), ord*sin(lf2), h0], [ ord*cos(lf2), ord*sin(lf2), h2] ], triangles=[ [0,1,2],[2,3,0], [1,0,4],[4,0,7],[7,8,4], [8,7,9],[10,9,7], [10,7,6],[6,7,0],[3,6,0], [2,1,4],[3,2,6],[10,6,9],[8,9,4], [4,5,2],[2,5,6],[6,5,9],[9,5,4] ], convexity=5); } } // additives - labels, etc // one more vertical 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 ", hole_dist_side, height - v_margin - title_font_size*2; saw_out = [output_column, row_2, 0]; cv_2b_atten = [right_col, row_5, 0]; cv_in_2a = [left_col, row_7, 0]; manual_1 = [left_col, row_6, 0]; audio_in_1 = [left_col, row_3, 0]; cv_in_2b = [right_col, row_1, 0]; pwm_in = [width_mm - h_margin - working_width/8, row_3, 0]; cv_in_2b = [right_col, row_7, 0]; cv_in_1b = [right_col, row_6, 0]; audio_in_1 = [left_col, row_1, 0]; f_tune = [second_col, first_row, 0]; c_tune = [width_mm/2 - h_margin, top_row, 0]; f_tune = [second_col, third_row, 0]; saw_out = [h_margin + working_width/4.

New Pull Request