Grasshopper

algorithmic modeling for Rhino

Hello all,

The attached UserComponent uses GHPython in order to unroll one or more Breps and or surfaces together or not with one or more geometries which have either been created on the brep or have been projected onto it.

Just paste the user component inside of the User Objects folder located here:

C:/Users/%userName%/AppData/Roaming/Grasshopper/UserObjects

In case you don't already have GHpython then follow this link:

http://www.food4rhino.com/project/ghpython

Tags: unfold, unroll, unrollBrep, unrollSrf

Views: 2224

Attachments:

Reply to This

Replies to This Discussion

Thanks Tudor for this new update !

How do you parametrise the componment to keep the geometry joined and avoid explosion ?

Paul

I haven't checked Tudors source, but the unroller class has a property you can set to keep the unrolled geometry joined. Like so:

unroller = rc.Geometry.Unroller(Brep)
unroller.ExplodeOutput = False

Hope that helps..

+1

I just test it, it works nice !

nice~

Hi Tudor,

Thank you very much for your script. It works very nicely. However, I'm running into a problem. I have successfully unrolled 168 joined surfaces ( I want the unroll surface to join as these surfaces will be folded. Each of the joined surface is made up of 8 individual surfaces). However, when I unrolled them, they are stacked on top of one another. See the attached images. I need to spread the 168 joined surfaces out to further process the geometry. I tried to use Orient component, but from the 168 joined surfaces, I can only create 168x8 frames, that is 1344 frames. So how do I layout out all 168 joined surfaces without breaking down into individual panels?

Attachments:
Hello Jiangmei,

Just create an array of points and move the unrolled geometries to the points in the array.

Hello Tudor,

Nice idea. I have figured it already by using a different method.

I'm learning Python and need a little help. Anyway, I'm trying to do the same thing in Python using a different script (not yours) but keeping getting an error. It said the BREP can't be unrolled. However, The same Brep worked fine with your Python script. Would you mind taking a look? I will email you the files. Thank you very much for your help.

I'm trying to unfold a geometry with your definition but the result is always null.

can you please help me on figuring out what's wrong with it?
maybe I'm doing a mistake?
thanks!

Attachments:
Can you post your file? I ll have a look tomorrow.

the files are already posted in the previous reply they are

Hello again,

Your model is a mesh, this works only with surfaces and breps ;)

RSS

Translate

Search Grasshopper

© 2014   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service