-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for generating a line loop for a polygonal shape from a list of coordinates #13
Conversation
Thanks for the PR! Some suggestions:
|
I was thinking along the exact same line. However, before hacking & slashing all your code I wanted confirmation whether the additions were valuable. I'll try to extend |
No need to remove the |
Hi @nschloe, I refactored |
Looks good. Can you do the same thing for the rectangle as well? |
I'll have a look this week.
|
Done |
Support for generating a line loop for a polygonal shape from a list of coordinates
Merged, thanks! |
PyGmsh can create a
Plane Surface
quite easily for a polygonal shape usingadd_polygon
. However, for a polygon with holes you need to create aPlane Surface
from a set ofLine Loop
's. These additions facilitate the generation of the line loops.