Kangaroo 2 solver: invalid mesh

Hi all,
I made 2 meshes (A & B) base on the same method but having different boundaries.
B works fine after using K2 solver but A does not.
Any explaination would be appreciated.
Thank you in advance.


issue24rum-191031.gh (608.3 KB)

Hi,

You need to reduce the tolerance setting. As the mesh is very dense, some edges in the input are shorter than the default tolerance of 0.01, so their ends are getting combined into a single particle, messing up the mesh. Changing it to 0.0001 fixes this.
I’d also recommend always having a button connected to the Reset input, so you can restart the simulation for testing.

2 Likes

Thank you @DanielPiker it works now.