remeshsurf - mesh density

100 views
Skip to first unread message

wagner.rupp

unread,
Jan 26, 2015, 6:00:08 AM1/26/15
to iso2mes...@googlegroups.com
Dear all,

I am trying to downsample one interior surface of my model to achieve more time-efficient simulations, using remeshsurf for this process. While the downsample is done, some regions still have very high node density. Is  there a way to control this node density ? if so, how to aquire a more evenly distributed position of the nodes?

Regards,
Wagner


surf_fine.jpg
surf_coarse.jpg

Qianqian Fang

unread,
Jan 26, 2015, 10:53:26 AM1/26/15
to iso2mes...@googlegroups.com, Andreas Fabri
On 01/26/2015 06:00 AM, wagner.rupp wrote:
Dear all,

I am trying to downsample one interior surface of my model to achieve more time-efficient simulations, using remeshsurf for this process. While the downsample is done, some regions still have very high node density. Is  there a way to control this node density ? if so, how to aquire a more evenly distributed position of the nodes?

hi Wagner

can you try meshresample() instead of remeshsurf?

the meshresample approach will first remove nodes in
the dense clusters, resulting in a more uniform surface.
The only downside is that it may produce self-intersecting
elements while remeshsurf won't. However, if your surface
is a single closed surface, self-intersecting elements can
be removed by using meshcheckrepair(...,'meshfix').

The dense clusters of nodes appear to be related to the
CGAL surface extraction algorithm and it's handling of
non-manifold structures. The CGAL team is aware of this
issue. I am CCing Andreas Fabri with this email, who is the
project lead of the CGAL team.

Qianqian


Regards,
Wagner


--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

wagner.rupp

unread,
Jan 27, 2015, 4:37:24 AM1/27/15
to iso2mes...@googlegroups.com
Hello Qianqian,

Thank you for you quick reply. I have tried using meshresample(), but as you pointed,I had some issue with self-intersecting elements, where the 'meshfix' option might not apply due to  a disconnected region (not a single closed surface). I will try isolating those regions, resample them separately and merging afterwards to see if I can better results.

Thank you,
Wagner

Qianqian Fang

unread,
Jan 27, 2015, 11:29:07 AM1/27/15
to iso2mes...@googlegroups.com, wagner.rupp
On 1/27/2015 4:37 AM, wagner.rupp wrote:
Hello Qianqian,

Thank you for you quick reply. I have tried using meshresample(), but as you pointed,I had some issue with self-intersecting elements, where the 'meshfix' option might not apply due to  a disconnected region (not a single closed surface). I will try isolating those regions, resample them separately and merging afterwards to see if I can better results.

hi Wagner

if the surface is made of disconnected components, what you said
is exactly what I would do. you can run meshresample first, then
use finddisconnsurf() to return each component, apply meshcheckrepair
to each component, then mergemesh() to all, and apply removedupnodes()
to remove the duplicated nodes.

or for each component, you may run removeisolatednode before
feeding to meshcheckrepair. this will keep only the nodes in each
component. After mergemesh, you no longer need removedupnode.

Qianqian


Thank you,
Wagner

On Monday, January 26, 2015 at 12:00:08 PM UTC+1, wagner.rupp wrote:
Dear all,

I am trying to downsample one interior surface of my model to achieve more time-efficient simulations, using remeshsurf for this process. While the downsample is done, some regions still have very high node density. Is  there a way to control this node density ? if so, how to aquire a more evenly distributed position of the nodes?

Regards,
Wagner


--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.

wagner.rupp

unread,
Jan 29, 2015, 3:23:14 AM1/29/15
to iso2mes...@googlegroups.com
Hi Qianqian

 Just a quick feedback: those functions were really useful! The problem of high node density is gone and while the geometry is well preserved. 

One thing I noticed is that the 'meshfix' option in meshcheckrepair() was removing some elements that it shouldn't, using the option 'intersect' this error didn't occur.

Once again, thank you for your help
Wagner
  

On Monday, January 26, 2015 at 12:00:08 PM UTC+1, wagner.rupp wrote:

Qianqian Fang

unread,
Jan 29, 2015, 2:18:10 PM1/29/15
to iso2mes...@googlegroups.com
On 01/29/2015 03:23 AM, wagner.rupp wrote:
Hi Qianqian

 Just a quick feedback: those functions were really useful! The problem of high node density is gone and while the geometry is well preserved. 

One thing I noticed is that the 'meshfix' option in meshcheckrepair() was removing some elements that it shouldn't, using the option 'intersect' this error didn't occur.

what error message did you see when this happened? did you
see any problem in the output mesh when you used "meshfix"?

actually, the 'intersect' option does not do anything to the mesh,
it only tests for self-intersections, but won't fix them.

Qianqian

Once again, thank you for your help
Wagner
  

On Monday, January 26, 2015 at 12:00:08 PM UTC+1, wagner.rupp wrote:
Dear all,

I am trying to downsample one interior surface of my model to achieve more time-efficient simulations, using remeshsurf for this process. While the downsample is done, some regions still have very high node density. Is  there a way to control this node density ? if so, how to aquire a more evenly distributed position of the nodes?

Regards,
Wagner


--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages