algorithmic modeling for Rhino
Hi to all!
I am making a summer project and i want to make a series of lists and after that chose one after an evaluation processes. But first things first, let me tell you about the list.
The lists will basically be a set of different ellipses:{a1, a2, b1, b2} (with different properties) From that i want to create random Lists of let’s say 15 items (ellipses) Something like that {a1, b2, b1, a1, a2, b1, b1, a2, a1, b1, b2, a1, b2, a1, a1}. But I want to be able to create some constrains. So for example if I have a1 I will be able to have next a2 or b1 but not to b2. I am not sure if this is possible in grasshopper and i was messing around with some logic components but without any luck.
Any help will be greatly appreciated.
Tags:
Maybe with numbers it would be easier to understand.
If there is 1 insert to the list 5
If there is a 5 insert to the list 6 or 4
So if i start from 1 one possible list would be: {1, 5, 6}
I got lazy and wrote a script.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Thanks this seems pretty straight forward but I think I need something more complex after all...I would explain in detail on the attached sketch
That is quite a bit more complex. We just went from a sequence of states to a geometric problem that might not have an answer. It's not a guarantee that you can always insert another ellipse without intersecting existing shapes but you can always add another "B" to the end of a string.
There's so much looping and 'iffing' involved here that I sincerely doubt you'll be able to do it without scripting.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by