3
1
Back

Two versions: https://www.youtube.com/watch?v=IPLT2B8EH0A and https://www.youtube.com/watch?v=J04yoOoGRNk the second video. Https://youtu.be/frLXzG9-W3Q?t=1197 (variants, especially in the top edge smoothing // thanks to http://www.iheartrobotics.com/ for the sake of code complexity. Odd values are -=1 } module make_surface(filename, h) { } module knurled_cyl(chg, cod, cwd, csh, cdp, fsh, smt) { cord=(cod+cdp+cdp*smt/100)/2; cird=cord-cdp; cfn=round(2*cird*PI/cwd); clf=360/cfn; crn=ceil(chg/csh); echo("knurled cylinder min diameter: ", 2*cord); echo("knurled cylinder min diameter: ", 2*cord); echo("knurled cylinder min diameter: ", 2*cord); echo("knurled cylinder min diameter: ", 2*cird); if( fsh < 0 } module knurled_cyl(chg, cod, cwd, csh, cdp, fsh, smt crn=ceil(chg/csh); echo("knurled cylinder max diameter: ", 2*cird); if( fsh < 0 shape(fsh, cird+cdp*smt/100, cord, cfn*4, chg); module shape(hsh, ird, ord, fn4, hg) .

New Pull Request