algorithmic modeling for Rhino
I'm trying to do the following:
1. Count # of intersection points found on each circle
2. Filtered circles based on # of intersections
I'm not familiar with the process in GH, and any help would be much appreciated.
Tags:
Hello Zak,
If you trim the tree of points you will have a tree with 19 branches (as many as the circles) and each branch will contain the intersection points of each circle. You can then use [list Length] to get the number of points for each circle and then -depending on what you mean by "filter"- you can use something like [cull pattern] to only keep the circles that have a specific number of points:
Cheers,
Nikos
edit!
You have some duplicate lines (on top of each other) which results in more intersection points than you actually see. Try to remove them before using the definition
Awesome!
Thanks for the help, that's exactly what I was looking for.
I had been using a Kangaroo component for the consolidation of duplicate lines, and in my attempt to make the uploaded definition more 'universal' I fear I must have internalized the curve data a bit too far up stream.
Thanks again,
Zack
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
© 2024 Created by Scott Davidson. Powered by