generative modeling for Rhino
here is what I want to do.
Specify two curves from rhino
divide both by an integer (say 10)
connect the division points from 4-8 only.
How can I do this?
cull pattern, set pattern as true, false or vise versa. Or use dispatch component
another approach might be something like this.
Reference in curves from rhino, divide curves, define range of list items that you wish to retrieve, (i used a series but you could also use a domain and range component), then feed that into a list item component. In this case, 2 curves were referenced in from rhino into the same curve parameter.
When those are fed into a divide curve component, the data is structured into 2 separate data branches, (one for each line). so we end up with a list of points that lhas a data structure like this:
The series component defines the range of items I want to retrieve. By feeding the list of points into a list item, then using the series of numbers as the items to retrieve, you get the corresponding items out of both branches of data. The explode tree component separates the branches, (list of points for each curve), then connect them!
Hope that helps with an understanding of one possible approach!