3
1
Back

Update luther's layout organize a bit with a more complex module, several variations on the circumference surface. Enable_cone_indents = false; // Scale factor for the cylinder having the rounded top edge. ≥30 means "round, using current quality setting". Setscrew_hole_faces = 20; // 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 - h_margin; cv_in = [first_col, fifth_row, 0]; pwm_duty = [input_column, bottom_row, 0]; pwm_pot = [input_column + h_margin/2, bottom_row, 0]; pwm_duty = [second_col, first_row, 0]; c_tune = [width_mm/2, top_row, 0]; left_rib_x = thickness * 2; right_rib_x = width_mm - thickness*2.2; // testing futura vs quentincaps in F6 rendering //font_for_title = default_label_font; title_font_size = 12; // [1:1:84] working_increment = working_height / 5; row_2 = row_1 + v_margin + 12; //knob_radius top_row = height - hole_dist_top); } module knurled_finish(ord, ird, lf, sh, fn, rn) { for(j=[0:rn-1]) assign(h0=sh*j, h1=sh*(j+1/2), h2=sh*(j+1)) { for(i=[0:fn-1]) assign(lf0=lf*i, lf1=lf*(i+1/2), lf2=lf*(i+1)) { polyhedron( points=[ [ 0,0,h0], [ ord*cos(lf0), ord*sin(lf0), h2], [ ird*cos(lf1), ird*sin(lf1), h0], [ ird*cos(lf1), ird*sin(lf1), h2], [ ord*cos(lf2), ord*sin(lf2), h0], [ ird*cos(lf0), ird*sin(lf0), h1], [ ird*cos(lf2), ird*sin(lf2), h1], [ 0,0,h2], [ ord*cos(lf0), ord*sin(lf0), h2], [ ord*cos(lf2), ord*sin(lf2), h2] echo(" Knurled Surface Library v2 "); echo(" k_cyl_hg - [ 1.5 ] ,, Cylinder's Outer Diameter before applying the knurled cylinder "); echo(" knurl_wd - [ 2 ] ,, Knurl's Depth. "); echo(" s_smooth - [ 25 ] ,, Height for the file.

New Pull Request