Mesh Triangulation

Not sure I follow?
You choose the direction with the input curves.
For the pattern in your post at the start, you’d give it 2 crossed lines:
image

1 Like

tridir

12 Likes

OK! I was trying it out and yes, the curves as a guide do the trick pretty well. I will play with some random shapes and see what I can get.

I inflate the mesh later on, so I should not have flat faces at the corners and also this way the curvature of the entire shape is way better at the end.

Damn this is trippy as hell :smiley:

1 Like

Look at it when you use the guide curves the way I needed. Pretty neat thing :slight_smile:

triangulate_direction_relax_v2.gh (12.6 KB)

4 Likes

Look at that curvature analysis. Look at that symmetry.

4 Likes

Nice!
I added another little script for if you want to use an irregular boundary curve - it trims off any faces outside the curve, and also any ‘hanging’ triangles with 2 boundary edges:

triangulate_withincurve_pressure.gh (14.9 KB)

11 Likes

God dammit Daniel, this is pure beauty!!!

wow !!

@DanielPiker

Hi , do you think this approach can work also with multiple curves?

I have a mesh generated trimming a surface with a series of closed curves and then Mesh Brep.
When I thicken and smooth the final result is bad, since the topology is not regular ( see below).

I tried out the exemple shown above, but I don’t understand what is going wrong…

Here’s the file.
triangulate_withincurve_pressure-multiple-curves.gh (132.0 KB)

Thanks!

I updated this to work with nested curves :slightly_smiling_face:
triangulate_withincurve_pressure_multicurve.gh (14.7 KB)

27 Likes

4 Likes

I’m hypnotized.

3 Likes

This is so rad I can’t stand it.

1 Like

Someone turn this into the Meshnotiser component!

2 Likes

Just fantastic!
Thanks Daniel!

Hi David, my friend! What component did you use to analyze this mesh? Is it he plugin mesh-curvature?

1 Like

Hey hey! Yep. I’ve just modified the color map.

Hi, This is a marvelous way to triangulate quad mesh. Thanks for sharing.
Seems like the component for deleting the mesh faces outside of a curve has an obsolete warning.
Is it possible to update it?

Thanks!


This should work without message
I used Rhino Document Absolute Tolerance, it is more simple but I don’t like it too much.

if(C[j].Contains(M.Faces.GetFaceCenter(i), Plane.WorldXY, RhinoDocument.ModelAbsoluteTolerance) != PointContainment.Outside)

triangulate_withincurve_pressure_multicurve.gh (20.1 KB)

And if you need Rhincommon API is here
https://developer.rhino3d.com/api/rhinocommon/

2 Likes