[Gmsh] (no subject)

Hanna Ebbinghaus hannaebbinghaus at hotmail.com
Mon Jan 4 14:35:58 CET 2016


I’m very new to GMSH and have some questions about functions in GMSH.
I know how to generate Points with the help of a for-loop. 
Now I want to connect these points with a line. 
If I’m trying to do this with an if-loop, it connects only the first point with other points.
E.g. Point 1 with Point 2, Point 1 with Point 3 and so on.

I want to have  a Connection between Point 1 and Point 2, Point 2 and Point 3, 
Point 3 and Point 4 and so on. 

Does anyone know how it is possible to generate this in a for-loop?

Thank you,

Hanna



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20160104/fe417cd7/attachment.html>