LengthSnap component in Kangaroo

Hello, everyone and @DanielPiker

I want to ask about the use of a kangaroo component LengthSnap, I want to make the line segment a multiple of 100, but it doesn’t seem to work, am I missing something?

thank you

Uploading: LengthSnap.gh…

Hi @tangchisg
I believe it’s generally impossible to have all the edges of a flat triangulation snapped to length values when there are internal vertices.

For example - here the lengths can easily snap to integer values

but when an extra edge is added, enclosing one vertex, that interior angle cannot change continuously, so there isn’t a local minimum there with integer edge lengths, so it will split the differences.

I see. Thank you