Grasshopper

algorithmic modeling for Rhino

hi, I need to gap some volumes randomly but I don't know what component to use, I cannot use rotate to do that, which one do I need to use?

Views: 353

Replies to This Discussion

Hi, I have the same problem...:)

we need to find the answer! what should we do?!?!?!

What do you mean by 'gap'?

she means to offset... we need to do a tower with 50 plane faces one above the other, but they need to be randomly moved in the xy plane in a range of 0 to 3 units... 

Ah, this is a 'do my homework for me' question!

Well, here's an approach you can use:

  • Generate a set of random numbers. You can either directly use the Random component, in which case you can get any number in between zero and 3 (1.00003, 2.93412, ... etc.), or you can make a list of which numbers you'll accept, then Duplicate that list until it's the correct length and finally Jitter it to randomize the order of the numbers.
  • Using your random numbers, create vectors. The random numbers need to be plugged into the X and/or Y inputs of Construct Vector.
  • Finally move each panel using a different vector. For this, you obviously need to generate as many vectors as you have panels.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service