Grasshopper

algorithmic modeling for Rhino

How to pick the first item of two lists and loft them, then the second etc.

 

Hello everybody!

 

Iam working on an GH definition in which I have two lists in whick circle geometries are listet.

I only want to loft the first with the first item and so on. 2nd to 2nd.

But when I try to do this with list Item and a Series as an imput it lofts everything with everything.

 

The question is, how can I make some kind o step in betwenn?

 

And is there a possibility to define the radius of the circles random, with an max so that they dont cross each other?

 

Iam getting crazy on this right now! It would be great if anybody can help me out!

 

Many thanks in advance!

Views: 3237

Attachments:

Replies to This Discussion

The easiest way to illustrate this is to graft the two inputs of a merge component.

What you are doing is creating a separate branch for every item on each list when you merge them the first items will be collected on one branch and the second on another etc.

Thanks a lot! Think we where kind of same time finding the solution!

But Iam still working on the Random Radius of some circle whithin a range.

Do you have an idea for that?

Second Part. Use of the random component with a domain 5 to 15, integer set to true Then divide the results by 10 to get the domain 0.5 to 1.5 steps of 0.1

You will need at least version 0.8.0050 to open the file.

Attachments:

Works verry well!

Thx a lot for your support and your explanations!

Its better to understand instead of doing copy-paste...

Hey Danny!

I have one more question before I can get finished.

Maybe you can take a look at it?

Its again the problem in organising lists.

I want to subset a list in parts like 0 to 10, 11 to 20.

I used an domain for doing that and it works for the list output, but not for my whole definiion.

My definition I made works for the first line, without the Steps. Now I want to have the same thing for the whole surface. But I dont know why, the result is quiet messy.

The "gradient" from open to close (for the whole surface in the same direction) is kind of splitted. Further I have more surfaces created on one u/v coordinate. There should only be one per coordinate. And then there is also a problem thet the normal vector is not picked correctly any more.

Maybe you can help me on this?

Would be verry great!

Thanks in advance!

Attachments:

I found this one which helps me out at the problem of picking the right circles together:

http://www.grasshopper3d.com/forum/topics/list-management-fix

 

But I am still looking for a way to pick a random length or radius for a offset of the circles.

 

I want to get circles with a radius for example in between 0.5 and 1.5 wich are selected randomly in a 0.1 step..

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service