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

Views: 33719

Attachments:

Replies to This Discussion

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 ;)

Hi Tudor,

Great tool, works great,

How would you go about going reverse in that transformation ?

I'd like to apply a pattern to the unrolled surface, then  "re-roll" that surface back to its original shape.

Maybe I should look into finding the transformation vectors between two surfaces and apply it reverse ?

Any thoughts ?

Thanks again,

Thomas

Hello Thomas,

did yuo try to apply the pattern on the unrolled surface and then remap the pattern to the original brep via map to surface or similar commands?

cheers,

T

Hi tudor, 
first of all thank you for this plug in, I installed the Phyton plug in like you suggest, it seems to be what I'm looking for, but when I try to use the phyton node a yellow panel appear...

when I try to open your file it works the first time, but if I try to copy and paste the Phyton node it doens't work anymore, what could it be? I have rhino 5.0 and grasshopper 0.9.0076

Hello Riccardo,

can you post a screenshot of this error?

I solved it! It was rhino that wasn't upgraded!

Hello Tudor!

Thanks for this handy component!

I have just one problem when I want to unroll any brep with curved faces. you can see an example module attached. any idea?

Attachments:

It has to be developable surface, any double curved srf will produce inaccurate results.

Try to unroll your surface in Rhino you ll see the problem.

This thread post is using the same unroller class as rhino command unroll surface has.

I converted naked edges of your surfaces to polylines, then from that you can create mesh from closed polyline and unroll using unroller class. If you need this I used Fox add-on.

Hi Petras,

I don't know why but I can't find the last component of your code in the plugin. I have a PC, the last version of rhino and grasshopper... Any clue?

Thanks for sharing

One issue with the standard rhino/gh unroll is that it doesnt seem to preserve surface origins, or vertex/edge order.  this complicates attempts to 'un-unroll'.  I have the situation where i have an open polysurface (similar to Tudor's example above) with planar faces.  I'm unrolling this, then building a bunch of 3d geometry off the unrolled base, then I need to refold everything back to it's original shape, taking the new geometry with it.  essentially, i'm trying to find a way of doing an unroll such that a reverse sequence of transformations can be done to refold the surfaces, and those transformations can then be applied to the geometry that was built off the unrolled base.  at the moment i'm having to do the refolding manually, but I'm sure it should be possible.  I've looked at the Ivy components, which build a directed mesh graph that encodes the transformations, but I havent been able to work out how to use this to reroll the unroll.

any suggestions or ideas very welcome.

Thanks,

ben

What is the purpose of the geometry input? It's working wonderfully, I would just like to know how it works.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service