algorithmic modeling for Rhino
Hi everyone, I'm having a problem with the equality component that I can't quite figure out.
I have a list of points, and I want to keep just the ones that are on a curve. So what I'm doing is using Curve CP to get the distance to the curve, and then running that distance through an equals component and then culling the list of points using the Equality pattern.
The problem I have, as you can see on this screenshot, is that although the distance is 0 for some points (for instance, you can see it in the 59, 60, 75 and 76) equals returns false for those points.
I'm sure I'm making some silly mistake, but I just can't figure it out!
Thanks a lot!
Tags:
Did you try instead, using < some extremely small number, say .0001?
Ok, thanks to both of you! I'm using < and it's working correctly, I couldn't make it work with similarity
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by