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?
thanks
Tags:
Permalink Reply by Michael Pryor on May 2, 2012 at 11:40am cull pattern, set pattern as true, false or vise versa. Or use dispatch component
Permalink Reply by Chris Hanley on May 2, 2012 at 12:04pm 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:
{0;0} N=11
{0;1} N=11
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!
Permalink Reply by Michael Pryor on May 2, 2012 at 1:08pm
© 2013 Created by Scott Davidson.
Powered by