algorithmic modeling for Rhino
Good evening!
Pretty simple question here:
I'm trying to make a random scaling of each of the different polygons of my geodesic sphere.
But for some reasons it doesn't seem to work and I don't know why. It just scales all the polygons at the same value.
I have watched multiple tutorials and I still can't figure it out ...
Tags:
Just flatten the F of DeBrep !
Tree if a bit like a for, so without flatten the components are doing that :
For each face of brep count (Lng component) the number of face =>1
For random you asked 1 random number for each face but as random seed is always the same ! etc.
I can't believe it was that simple :') ! Thanks plenty!
Actually, it seems like I have another Flatten problem (I guess?)
Now my last step would be to loft the basic geometry on the sphere with the newest one that is randomly scaled and moved. Apparently, this doesn't work either. The result is either a red battery or a really strange loft that actually doesn't loft the rights things at all. Any tips? Sorry if those questions are actually obvious, I'm still new to GH :/
Trees are your friends but are not easy at the beginning
A loft is done with curves, so I extracted the edges, join them. So I have a closed curve.
After that there is 2 trees and on each branch a closed curve. I used simplify on the joined curves to have exactly the same tree.
As loft needs almost two curve I used a merge to "merge" low and up curve. And its is done. I like to say that a tree is like a for, here it means for each branch make a loft with the 2 curves that are on the list/leaves/end of the tree.
Hope it helps.
It sure helped a lot. Millions thanks again :) ! I'm starting to understand more our friends the trees!
i totally agree with you,but it is so strange,it can loft surface. if the loft can automatically select the edge of the surface?
i learn a lot from the example,the definition is ingenious for me.
i have a small question which confuse me a lot. you can see the screenshot i attched,i think the outpout of A is flatten data(no branches),but when it is inputed into P,it is flattened again.If you could help me explain it,that would be greatly appreciated.
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