[OpenSCAD] Generate a solid cad model from available math functions

Torsten Paul Torsten.Paul at gmx.de
Wed Jan 10 12:39:59 EST 2018

Just for completeness, in the dev snapshot version concat() is
not needed for this case anymore.

It's enough to simply write:

verts = [
  for(i=[0:nverts-1])    [ scalex*i/nverts,  f(i/nverts) ],
  for(i=[nverts-1:-1:0]) [ scalex*i/nverts, -f(i/nverts) ]


More information about the Discuss mailing list