As a follow up i have worked out a fallible test.

1. Assume all curves in a list to be arcs.
2. Therefore assume curve endpoints to be a chord.
3. A line drawn of length equal to the radius (known or calcultated)
from the mid-point of the 'arc' perpendicular to the cord.
4. End point of the line defines the 'centre' of the 'arc'
5. Comparison of length from 'centre' to 'arc' endpoint with
previously used radius.
6. If lengths are equal, Curve is Arc: TRUE.
7. Inequal curve is not an Arc: FALSE
8. Dispatch List by cull pattern.

http://groups.google.com/group/grasshopper3d/web/Cull-Pattern-for-Arcs-in-a-mixed-Curves-List.png?hl=en

On Feb 6, 4:00 am, urbansurgery <[email protected]> wrote:
> i would like to generate a cull pattern of a list of assorted curve
> types taht allows me to dispatch arcs as a separate stream.
>
> i can put all the curves into an arc geometry component and it filters
> them out (albeit with a awooga red alert) but this isnt satisfactory
> as it doesnt remove them from the original list so to speak.
>
> any ideas?

Reply via email to