[Gmsh] SketchUp to GEO file: line loop question

Alessandro Barracco alessandro.barracco at unikore.it
Fri Sep 21 12:07:38 CEST 2012


Hi all, I'm writing a Google SkecthUp plugin that export geometry into the
*.geo format. I'm able to export vertices, edges and, partially, the line
loops. But I don't know how to choose the right sign for all the edges that
form a loop: to be much clear, I need an algorithm that help me to
understand when the edge orientation agrees with the choosed direction of
travel into the loop. Any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120921/60aab1e0/attachment.html>