algorithmic modeling for Rhino
Hi,
i need some help unfolding a geometric shape:
It is a kind of a pyramide with variable height and opening (see screenshot) What i need is to unfold the whole thing to be able to print the hull out.
How can i achieve this? I added the Grasshopper definition + a (hopefully) describing screenshot ;)
Any help would be just awesome!!
Thank you so much!!!
Pcace
Tags:
Well ... arranging the unroll result is not that simple (but I have a complex C# that does that).
In the mean time get this attached that decomposes BrepFaces (planar) and "attempts" an unroll "as-it-is" (using the unroll method: the yellow thingy).
If you provide your Brep and the getYours == true then it works on your stuff, if not it makes a random demo Brep and then decomposes it.
If the case is simple like yours the unroll method works without the complex C# mentioned:
If however things are more "complex":
PS: The 2 Breps shown (the pyramids) are internalized - I do hope that GH did it successfully (not the case in most situations).
best, Peter
Hi,
thank you so much! for your Help!!
I just figured, that i can unfold them manually (using a bunch of vectors and some magic) because the main object will not change the amount of faces etc.
So i did this now with the help of school math ;)
Thanks!
Well ... you can always use that C# provided for simple cases or - Plan B - "assemble" manually the BrepFaces made if Omens ... are against the unroll method, he he.
PS: Unrolling "connected" pieces (for laser cutting with MINIMAL waste material) is one of the most challenging tasks in programming these days. Kinda like super-charging a pro-level packing app (already not the simplest thing imaginable).
I see what you mean... i am right now trying to figure out how to pack all of my unfolded Shapes now... i opened an other topic for this (since it actually is an other topic ;) )
i Hope thats oK: http://www.grasshopper3d.com/forum/topics/arranging-objects
Greetings
Well this is 120000% undo able without code ... but packing algorithms are not exactly trivial stuff - there's some fellas making a rather good living out of these.
I bet that is almost impossible to find free code for that kind of stuff.
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