algorithmic modeling for Rhino
Hi there,
i need some help: i have 16 curves here and i want to achieve the following:
1. the should be patched randomly - so that a random number and a random order of the curves are patched (i kind of got it - see attachment)
2. i want to copy the whole thing but all copies should be randomized.
How can i do 2.?
i just need an idea how to get this done!
THank you so much in advance!
Tags:
Patch??? Why?? You mean/should use Boundary Surfaces obviously.
Other than that you have a List that contains the closed planar polylines already. So create a series of random N numbers (ranging from 1 [or higher] to List.Count) and feed the Boundary with a variable amount of polylines > store the results (obviously) in a trimmed Surfaces DataTree with N branches and (also obviously) with variable amount of items.
That said in order to visualize what's happening you should exploit the trimmed surfaces tree on a per branch basis.
For instance:
BTW: Since branches are stacked each other you should:
(a) either exploit the tree on a per branch basis
(b) move branches
And this is rather more clear
Hey, i saw your answer a little bit too late, i solved the problem like this now:
pretty easy - but it works!
Now the problem is (as everytime) how can i pack them into a variable rectangle? So when i have 1000 copies of the thing, i want it to be inside of a grid of lets say 10 by 100...!?
Greetings and thanks for your help!
Wooow!! You are a genius!
Can i ask you where the polyline comes from? stupid question i know, but it is not referenced to a rhino file? so where is it comming form?
Cheers
Hey, there is one more question: how random is random in grasshopper?
I made a list of 20x50 tiles and was able to immidiately find 4 pairs (and i am sure there are more...)
This is quite unlikely considering the 65538 possibilities...
Any opinion on that?
Thanks a lot!
the curves are from rhino but internise in gh (right click - internalise data), check this topic about random seed values, and this too. I attach two approach, the first with a random pattern (maybe repeat) and the second with the 65538 (100% no repeat the pattern).
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
© 2024 Created by Scott Davidson. Powered by