Grasshopper unroll surface component

Hi
I am using the attached GH component for unrolling surfaces/breps with curves and points. Is there anyway that I can prevent the surfaces from exploding when unrolled?
I need to unroll surfaces with curves on them in the right location without the surfaces exploding … the surfaces are formed by lofting two polylines and at the moment, the unrolled surfaces are exploded where the vertices of the polyline are. Thank you.

Look here and join the brep. Without script and data hard to say more

the attached grasshopper file has the unroll components in it
i must have downloaded this file from somewhere some time ago … I am using the component in a similar fashion…does it help?Unroll_example.gh (120.7 KB)

It is not me that need help but you !
I said join the brep and you gave me a list of brep not joined !
So first job is to join the brep with wisdom. Not all the edges.
Here with all edges joined theb unrolled with my script

I don’t know what is exactly inside the component (a cluster) unroller but it didn’t work.

So if you gave not good model you will not get good result. You have to understand how unroll work.

I advice you

  1. to join brep with checking tangent => use scripts from here to join the good brep parts
    Select tangent faces of a Brep? - #8 by TomTom
  2. Then unroll using rhinocommon, see my script and add what you need
  3. Test for self intersection and come back to 1) if self intersection.


I have done this with my own unroller in order to make my low table. Not easy but doable.

Hi laurent
sorry I was not clearer in my last reply
the file I uploaded before was not mine but something I downloaded - it showed the unroll component i was working with before - but I am trying to work with a different unroll component
I now attach my files which shows the lofted surfaces and curves to be unrolled.
In the grasshopper file, there is a C# script for unrolling which i downloaded a while ago - it looks like I can add curves to it but i don’t know how to do this as I never worked with C# (or rhinoscript, i only know VB). Also i improvised a bit of script so that the unrolled breps don’t explode but it doesn’t work- the unrolled breps still explode.
Is there anyway you can script it so I can plug in the curves and stop the breps from exploding?
Many thanks

option A2_2A ss laurent delrieu.gh (24.6 KB)
option A2 main surface mis en abyme.3dm (391.4 KB)

Hello
it was not too difficult to add the functionality, just some lines. Knowing a bit of VB C# and rhinocommon is useful
https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino.htm#!

https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino.htm#!
I think you stil work in Rhino V5. Hope it will work, I changed loft options. I added a simplify curve (to suppress diagonal lines). And I added one script of my own to scatter the unrolled geometry. You can specify the size of the sheet and offset between shapes. Not a nesting algorithm but useful.
Human plugin is not mandatory, just to draw white lines.


option A2_2A ss laurent delrieu_LD.gh (38.7 KB)

thank you Laurent
It is all working very well… i will simplify curves where needed in the future … yes I am still on Rhino 5 (just need to upgrade my system software to accept Rhino 6)
Which human component did you use???.. it didn’t show up in the file perhaps due to being still on Rhino 5 but I do have human as plug in… thanks so much
if i have any further queries, i will contact you again but hopefully not
you have been very helpful and patient… thank you again

No problem it was not too difficult. But it is important to procure data similar or same if what you need.
There is no problem when no simplify just an extra curve that seems not useful.
For human I just use curve drawing.

Hi guys,

I have tried using the unroll component before, and it worked flawlessly.

But for some reason, it just doesn’t provide any output BREPs, am I doing something stupidly wrong, or is it just my surface?

in reference to this conversation:

unroll trial.gh (774.3 KB)

An attempted Bake an unroll in Rhino…

https://docs.mcneel.com/rhino/6/help/en-us/index.htm#commands/unrollsrf.htm?Highlight=unroll

quite a simple reason, thank you

Normally the function provides an explode option. Can‘t download your file right now, but the e input on the component, is it explode?

I did use the explode option as well, but it doesn’t seem to work on doubly curved surfaces