Showing revision 3.0

Post New Message

hi Sanket

this the most frequently encountered error with iso2mesh (or tetgen). It is very likely that your original mesh contains self-intersecting elements, and mesh simplification (decimation) usually won't fix it.

There is a work-around, but you might have to play with the options to get it to work. Please look into the sample script sample/demo_remesh_surface.m. It calls a function named remeshsurf in the toolbox. What this function does is to first convert a closed surface into a binary image, and then re-extract a surface from the volume, and the extraction script guarantees that the produced mesh is self-intersection free.

If your mesh is complex, you may have to use a large volume to re-voxelize your surface. Give it a try and let me know if it works.


Time:: Mon Jul 26 2010 19:54:04 GMT-0400 (EST)</timestamp>

Name:Sanket Jain
Institution:Medical College of Wisconsin
I used a cortical surface and created a volumetric mesh using the surf2mesh function. If I use the keepratio value <=0.5; the mesher works really well. But if I use the keepratio value>0.5, I get the following message.

Error: Invalid PLC.

  Two subfaces (17561, 18027, 83603) and (83474, 83572, 18027) 
  are found intersecting each other. 
  Hint:  Use -d switch to find all intersecting facets. 
volume mesh generation is complete

I am not sure the reason for this message and also if there is any potential work around it.

Thanks, Sanket

Time:: Mon Jul 26 2010 16:05:00 GMT-0500 (Central Daylight Time)</timestamp>

Name:Qianqian Fang

Name:Edouard Oudet
Powered by Habitat