3
1
Back

Height], // top right [left_edge + height * rotate_vector_cos; points = [ [left_edge, rotate_vector_cos * rail_depth], // top left [left_edge, 0], // drop to axis [left_edge, -extra_depth], // bottom horizontal rib h_wall(h=4, l=right_rib_x); } module shape(hsh, ird, ord, fn4, hg y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( hsh >= 0 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), h2], [ ord*cos(lf2), ord*sin(lf2), h0], [ ird*cos(lf0), ird*sin(lf0), h1], [ ord*cos(lf1), ord*sin(lf1), h1], .

New Pull Request