Grasshopper

algorithmic modeling for Rhino

Hello,

as i can see many people have already worked on gh definitions wich fold patterns like rigid origami from tomohiro tachi, but I cant find anything that works the way I'm looking for:

I would like to load a pattern of splines from a specific Rhino layer into GH were the definition recocnizes the lines as valley-,mountain-, and outline-curves by color or layer (maybe with horster tools) and fold it into a sculpter as far as i want ( editable by a slider). The Idea behind, is to edit the 2D pattern while the folded sulpture chainges its shape  imidiately (little bit like origamizer), for example to move points, add or delete lines, and so on? The profit against the genius software from Tomohiro, Ridged Origami and Origamizer is not to have the break for saving and loading every little changed detail all the time to see the new result.

I tried to work with "origami_example.gh" but i had to give up.

Does anyone already create such a definition?



Views: 2006

Replies to This Discussion

Hi Johannes,

What you describe sounds like exactly what the 'origami_example' definition in Kangaroo is supposed to do.

Could you clarify what caused you to give up ?

Did you get it to work with the example folding pattern provided ?

Was how to set new inputs not clear, or some problem with the physics ?

Hello Daniel, I was looking for but I havn't found any example pattern file for the 'origami_example' so I created by my own. When I load this or other polygon mesh (for example waterbomb) it causes an Error (red) at the C# script component at the end of the definition: "Error: Error: Rhino.Geometry.Mesh. contains no definition for unweld (line 90)". When i leave it out something happens, but it looks quite random. The first thing i do not understand is why it has to be a polygon mesh and how could i define valley and mountain folds?

Hi,

you can define mountain/valley folds by supporting the corresponding individual lines in this part of the definition:

But nevertheless, it is not possible to input new or delete geometry in Kangaroo simulation without restarting it... Maybe Daniel could explain better why does it work this way...

Thank You Artyom,

could you upload this rhino pattern (*.3dm) for me, so that I can understand what to do here? that would be great!

Actually, there is no .3dm supported by the author of the plugin, all the geomerty is internalized in the .gh file. To see it you just need to right click the component that is incircled in previous image and turn on the preview.

If it doesn't work, I've baked the geometry in .3dm for you.

Attachments:

Ah, thank you so much! didn't know that it is possible to internalize the geometry.

So, in the case i want to crate a folding pattern by my own, I have to create a mesh and the valley,-mountainlines seperately, right?Wouldn't it be possible to let grasshopper generates a "mesh" out of the mountain- and valleylines? Of corse it would be neccessary to create a border line in additon.  But this could help to have the ability to change direktly the lines in rhino and  have an direct effekt on the gh result, right?

Anyway, i still have this error by the C#-component, that you can see on the attacht picture.
"Error: Error: Rhino.Geometry.Mesh. contains no definition for unweld (line 90).
Do you have an idea what that means?

Attachments:

Ok, i tried it once again by leaving  out the c# script and this time I've got a pretty nice fold result.
But, do you know the reason for thatthe folding can't be set  back to the starting point by the slider? Is each try to fold a little bit different from another?

There is a great component in the latest release of Weaverbird, it allows to create a mesh from network of lines. I've just tried it - works great.

As for the c# script- I guess it is not really necessary to use it... Don't know what it's for exactly.

The folding probably will get back to its initial shape, you just have to wait a while.

And the fact that one simulation is a bit different form another is somehow a result of all of the conflicting forces that occur within it, I guess...

Attachments:

Ha, funny! I've found the same component and already experimented with it.

Wow, thank you so much for your help!  now it is possible to work on the lines and to see the result pretty fast. I tried for example to scale some parts of the pattern and it still folds! Thats what i wanted. The only thing to do is to restart kangaroo but is ok for now.

I have a some further questions to you:
What has to be done to get a polysurface as result?
Will it be possible to define a steady point for the folding geometry, so that it does not turn all the time?

Well, as Kangaroo works only with meshes and lines, so you either work with outputed mesh or convert it...

There's an input in Kangaroo node, called "anchor points", you can always feed any list of points in there that you would like to keep their positions.

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