Hello, I am trying to figure how can we sort straight line and curves separately from a complex planar shape in grasshopper ? like in the ref. image below
I tried “Evaluate curve” and “Curvature” components but I guess they are useful to evaluate only on a particular point/parameter on the curve.
Basically, I am trying to sort curves with some curvature and the straight lines (with no curvature).