Adaptive TriRemesh?

Yes, something like this should be possible. Rather than looking at the distance of the remeshed vertices to the target surface though(as we can generally keep these exactly on the target), it makes more sense to use the distance from the edge midpoints or face centroids, and keep splitting edges where this distance is above a threshold.

7 Likes

Thank you so much, @laurent_delrieu and Everyone. I appreciate it! I will experiment with the shared idea. I also saw many other interesting points of view.
Many thanks!

1 Like

Hi @laurent_delrieu - could you share this gh? or explanation?

Thanks!

dh

Hi @martinsiegrist, what is this component?

Hi that’s mesh curvature. I think you can install it through the package manager

1 Like

Hi Martin,

I’m trying to replicate your script for large landscapes based on local curvature.

I can’t seem to find the ‘Mesh Curvature’ plugin on package manager. Did you find it on Food for Rhino? The one from Ngon is on Food for Rhino, as well as the deprecated one from petrasvestartas made for R4/5.

Also, in your script, have you made it so that it continually rebuilds the mesh after you modify the original one?

Cheers,
Jeremy

Remesh by color requires a timer to iterate a few times.

Mesh curvature might be from food4rhino, not sure.

Try open the attached definition…

remesh_by_color_curvature.gh (19.2 KB)

1 Like

https://www.food4rhino.com/en/app/mesh-curvature

1 Like

Hello
I forgot this question !
Here it is. It uses Ngon Curvature tool and Nautilus Smooth weight (not mandatory like the coloring of weights) I smooth a bit the curvature value.
But I think Graph Mapper is mandatory to have what you need.


remesh curvature.gh (17.6 KB)

I am also looking at CgalDotNet but the adaptative remeshing seems to not be here, just the IsotropicRemeshing

4 Likes

Thank you very much, @laurent_delrieu ! Very interesting (*and generous).

I get strange results when I try to convert a Brep to Mesh with this workflow (works fine with Homer). Is there something I’m missing?

dh

Yep. You’re missing curvature variations.

Hi Laurent, thanks for your script. I am getting some issue where the output is scaled down, and not in the original place.

I just put my mesh into your script.

Just wondering if this position and scale translation can be avoided?

-Jeremy

Hello
For sure this file is a demo that is using multiple test meshes that have not the same size.

You can put your mesh replacing the output of WeldMesh component

1 Like

I have been playing with Iguana, which leverages the GMSH library. It is another learning curve in itself, but is relevant to this conversation.

IguanaBrepPatch.gh (7.8 KB)

4 Likes

Hey, @declan, thanks for sharing. I just installed Iguana, it looks like one powerful plug-in.

1 Like