3
1
Back

0.0419816 0.554754 0.830954 vertex 0.636408 -7.31983 7.07423 vertex 5.54554 4.83932 6.98393 facet normal 0.261456 0.103805 0.959617 vertex -4.83683 -4.97711 6.93683 vertex 6.75462 -0.133493 7.03353 facet normal 0.0998673 0.114117 0.988435 facet normal 0 -0.995185 -0.0980172 vertex -0.4 3.26571 8.11431 facet normal 0.954699 -0.292521 0.0546087 facet normal -5.393331e-002 -9.438337e-002 9.940739e-001 vertex 1.399291e+000 4.041589e+000 2.495526e+001 facet normal -0.0220967 -0.0968094 -0.995058 facet normal 0.300167 -0.365756 0.880978 vertex 5.89328 5.89328 5.74921 facet normal -0.0729058 -0.338907 0.937991 facet normal -6.630440e-08 -1.000000e+00 -7.407008e-07 facet normal 0.703595 -0.707109 0.0703597 vertex 0.852093 -11.3704 0.18985 facet normal 8.639561e-001 5.035671e-001 -0.000000e+000 vertex 2.614851e+000 6.540324e+000 2.496000e+001 vertex 4.575243e+000 -3.392458e+000 2.496000e+001 vertex -4.519133e+000 -5.470537e+000 1.747200e+001 facet normal -0.00384412 0.367707 0.929934 facet normal 4.496486e-001 7.868858e-001 4.226426e-001 facet normal -0.0112271 -0.0915932 0.995733 vertex 7.13918 0.0610838 6.87866 vertex -5.04394 -5.04394 6.87796 vertex -5.09136 -5.00497 6.87866 vertex 0 -6.43867 7.3242 vertex -4.6363 4.35153 7.51116 vertex 0 -2.9 19 - Could add a switch } else 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), h0], [ ird*cos(lf0), ird*sin(lf0), h1], [ ird*cos(lf2), ird*sin(lf2), h1], [ ord*cos(lf0), ord*sin(lf0), h2], [ ord*cos(lf2), ord*sin(lf2), h0], [ ird*cos(lf0), ird*sin(lf0), h1], [ ird*cos(lf2), ird*sin(lf2), h1], [ ord*cos(lf1), ord*sin(lf1), h1], [ ord*cos(lf0), ord*sin(lf0.

New Pull Request