3
1
Back

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], [ ord*cos(lf2), ord*sin(lf2), h0], [ ord*cos(lf2), ord*sin(lf2), h0], [ ord*cos(lf2), ord*sin(lf2), h2] echo(" Knurled Surface Library v2 "); echo(" knurl_wd - [ 1.5 ] ,, Knurl's Surface Smoothing : File donwn the top surface of the board, connecting a trace on one side //calculated x value of exact middle of panel after deducting left/right sub-panels // top horizontal rib h_wall(h=4, l=right_rib_x); // middle horizontal rib h_wall(h=1.6, l=right_rib_x); // middle-bottom h rib // h_wall(h=1.6, l=right_rib_x); // middle horizontal rib // middle horizontal rib // h_wall(h=1.6, l=right_rib_x); // middle horizontal rib //} module make_surface(filename, h) { for (a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) linear_extrude(height=a/h, convexity=10) projection(cut .

New Pull Request