Grasshopper

algorithmic modeling for Rhino

Hi, 

I have a very simple question how to use Multi Curve Intersection when it has only one input slot and I have a bunch of curves, however I am not able to handle them in one curve component, using the "Set Multiple Curves", instead one by one or a kind of collection component. No idea for this.

cheers,

Views: 1300

Replies to This Discussion

Hi Onrender,

MCX intersect all the curves in a list of curves with all the other curves in that list. Therefore you need to supply lists of curves in the input. Sometimes you already have lists of curves (for example when you pick them all at once using 'Set Multiple Curves', or when an operation generates lists of curves) and sometimes you need to first aggregate your lists.

If you're merely wondering how to provide more than one curve for an input, then just hold SHIFT while creating new connections. That allows you to plug more than one wire into an input parameter.

Alternatively you can use the Merge component to achieve the same effect.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hello David, 

Thanks, this is what I was exactly looking for. 

Another question what if I have many items to be connected. I know this could be very special, but I think of a kind of "magnet tool" that automatically connect to the selected component eg.: adding *. prefix for names

Or a something "population" function when we increase the series values. However this is just a question, no definition yet, just curious. 

There's no automatic way to create lots of connections. I think primarily because there's almost never a reason to have lots of connections. Most often if you have many (or even a variable number of) parameters that you want to merge it indicates a problem with the actual logic. It can often be redesigned to utilize Grasshopper datatree abilities and collapse the parallel component tracks into a single one.

If you have an example of such a file, feel free to post it to see if anyone can simplify it.

Incidentally, also check out the CONTROL+drag and SHIFT+CONTROL+drag for wires.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hello David, 

thanks for your answer, basically the same was in my mind, likewise redesign the definition. I will consider your suggestion If it will happen. Thanks.

cheers,

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service