fangq / iso2mesh

Iso2Mesh - a 3D surface and volumetric mesh generator for MATLAB/Octave
http://iso2mesh.sf.net
Other
181 stars 73 forks source link

Connect Objecct Mesh #14

Closed qiujian3328103 closed 7 years ago

qiujian3328103 commented 7 years ago

Does iso2mesh have a function to mesh two connected objects? I recently created a model that contains several overlapping ellipsoids. I used the triangular element to mesh the surface of each ellipsoid. However, when I tried to use the surf2mesh function create a 3d tetrahedral elements the function doesn't work. I believe the reason is that some of the nodes on one ellipsoid in inside another ellipsoid. How can I deal with this problem?

fangq commented 7 years ago

you need to use the surfboolean function to combine all surfaces

https://github.com/fangq/iso2mesh/blob/master/surfboolean.m