[OpenSCAD] Twisted Torus

Ronaldo Persiano rcmpersiano at gmail.com
Mon Oct 8 19:39:46 EDT 2018

Nice done. Just 3 cents:
a) there is a predefined variable PI in the language;
b) it is usually advisable to avoid a float as increment of a for;
c) the computation of the polyhedron vertices could be simply:

p =
    for( ta = [0:360/s2:359] )
      for( i = [ta:360/seg:ca+ta] )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20181008/96e088b7/attachment.html>

More information about the Discuss mailing list