Kangaroo2 - invalid mesh

Hi!

I am trying to relax this drape but the length line goal is crashing it. What could be the cause? It´s not about the number of goals, is it?

Drape.gh (68.4 KB)

The mesh welder tool from Nautilus doesn’t work well here,
I have done a new tool but it doesn’t work better.
I tried to play with other tool like Ngon Welder and playing with tolerance
but the mesh is kind of a mess.
I tried to repair it in Rhino there, so indeed no need of welder.
Look at naked edges or vertices they are a good indicator.

Drape LD.gh (1.3 MB)

But I don’t understand what you want to do exactly.

PS !with a tolerance of 0.04 and new Nautilus Welder or Ngon it seems that welding is better.

1 Like

You can use the Align vertices component to repair your combined mesh in Grasshopper.

2 Likes

Thank you both. I didn´t think the mesh was bad to start with. No component before the solver showed that the mesh is invalid so I assumed it´s something in the solver. Thanks :slight_smile:

1 Like

It might not necessarily be an invalid or bad mesh but I think edge lengths below the solver tolerance could cause issues…

Your mesh has a shortest edge length of 0.0008something if I remember correctly

Hello Martin
not sure Align Vertice works well here


With many tools I end to 36720 points.

1 Like

It looks like the input mesh has some problems even before the start of this definition

I think in general figuring out the cause of issues like this will be better than using the bad geometry and fixing it later in the process.

3 Likes

@DanielPiker surely that would be the thing to do…

@laurent_delrieu Combine and Clean and then Align Vertices with 0.001: