Hi friends, how to check whether a curve is an arc or line or other types in grasshopper? And output true or false. Thanks!
Thank you so much, Adam. That is exactly what I want.
1 Like
Hi @Justin-Yang,
One thing to be aware of: In R7 IsArc will return True for Arcs and for Nurbs Arcs (degree 3 Nurbs curves that describe arcs). In R6 it will be True for Arcs but False for Nurbs Arcs. See Arc can also be a 3 degree curve?
If the R6 behaviour is what you want, then you can do something like this:
Regards
Jeremy
2 Likes
Thanks for this useful detail, Jeremy.
1 Like