generative modeling for Rhino
im trying to compute the angle between the faces of a brep (later use the angle to unroll). so far my definition works. but im not sure if i made it too complicated - maybe someone knows an easier version?
i know the orient method, but i need them like "unexploded" not the faces smashed on the ground piece by piece. this unrolling thing really seems to be a big thing. i had lots of trouble with it in another definition. maybe for this one, after orienting the faces on xy-plane, i could go on and reorient the faces again so that the edges with the same length overlap? would this need the boolean-gate components for comparing the values of the edgt leghts? never used them before. but this way i wouldnt need the angle calculation. ill try, but i would really appreciate your help, thanx a lot.
if its just about measuring the angle i would go with face normals
thats indeed a little bit shorter than my try
i tried some more unrolling. i want it not just for one pyramid. i rather need to unroll something like "multiple voronoi mountains". so far im very very very happy, that i managed to do an unroll of a single "mountain". but the problem now is, that i fail with handling the data when applying the method to multiple mountains.
i think this is interesting for everybody who tried unrolling geometry. hopefully someone can help, i made the definition as tidy as i could...
i really cant figure it out right now. i think its just a question of managing lists and data trees. sorry for the stupid title of this discussion - any suggestions for a more appropriate one?
You can get the equivalent of the rhino command result via StructDrawRhino if you download the latest build from http://www.geometrygym.com/downloads
You'll see some overlap in your particular example, but it's a step closer with minimal effort.
Hope it helps,
thank you jon, but i wanna find a way without vb-script or other additions to grasshopper - just using standard components. i know im stupid.
now i got it! it was all about maching the right data. the def is not very tidy right now and the first group is actually unnecessary long - just to get a surface. the second group does the pyramids - yes i changed from "voronoi mountains" back to pyramids because its easier for now. the last two big groups are the important ones.
i hope someone likes my unroll method. suggestions for making the def smaller?
Hi klumpen, here is my suggestion. I didn't test it much (little time) so please let me know if this works for you.
Hi Pieter, thank you for taking a look at my definition. You made it perfect now!
I'll summarize for the rest of us:
I was searching for an alternative way to unroll breps. My idea was to redraw the geometry instead of unfolding it. I was only able to apply this idea to the angles (mass addition). Pieter made it perfect by also measuring the length of the edges. By calculating angles and lengths of the interior edges we now have an unroll which is actually more a redraw without the need to orient anything.
Again thank you very much Pieter! This "redraw" is a powerful solution to unroll and much more efficient than using orient - at least for the stuff i want to do.
I just tidied the def a little and also applied it to the pyramids. works great for me.
And peaks fits better than mountains, thanks again.