meshpro / dmsh

:spider_web: Simple mesh generator inspired by distmesh.
GNU General Public License v3.0
210 stars 25 forks source link

Difference of more than 1 geometry using DMSH #34

Closed senseiMasai closed 4 years ago

senseiMasai commented 4 years ago

I'm trying to create several holes in a Polygon but the Difference method only accepts 2 geometries: The external one and 1 inside.

I would like to know if it's possible to use the method Difference of DMSH for more than 1 geometry. This is one example:

image

is it possible to do that with DMSH?

Thank you in advance!

nschloe commented 4 years ago

Sure. Form a union of the holes.

senseiMasai commented 4 years ago

Thank you so much!