Meshing Problem

Hello,
I’m working on a script and I need to convert a list of planar Breps with polygonal borders into meshes. I’ve attached a sample of the geometry.


meshing problem.gh (1.2 MB)

The goal is to generate a mesh that uses only the existing vertices of the Brep borders (no extra vertices or triangulation points). Here’s what I’ve tried so far:

  • Delaunay Mesh: Fails with concave borders or very narrow shapes.
  • Simple Mesh: Results are unpredictable, with random holes appearing.
  • Mesh Brep (with “Speed” settings): The better so far, handles all shapes and concavities well, but introduces additional vertices, which I want to avoid

    .

Do you have any suggestions on how to create a clean mesh using exactly the boundary vertices of each Brep? Ideally, the solution should work even for Breps with internal holes and concavities, and should produce one simple component per Brep, so when i finally join all the meshes toghether I have one clean mesh

Thanks in advance!

What is this geometry and why do you need a mesh?

Because later I need to do other things where I need Meshes and not Breps as input

If you want more context, feel free to refer to this: How to create planar regions from a dense set of intersecting lines? - Grasshopper - McNeel Forum where I described the earlier stages of the workflow I’m working on.
I started this new thread because the previous one had become too dispersive, and the issue I’m dealing with now is quite different from the original one.

I hope this is the right way (should I delete the previous thread?)

1 Like

The link does not work on my end…

1 Like