algorithmic modeling for Rhino
The new version (0.095) of Kangaroo is now available for download:
http://www.food4rhino.com/project/kangaroo
Additions include:
New mesh tools:
User objects:
The download comes with an increased collection of user objects to simplify setting up common simulation types - Including a simple to use origami simulator, a reciprocal structure generator, and a tool to generate compact circle packings from a CP mesh.
General:
Geometry input now accepts polylines and straight curves.
Hinges can now be fold completely flat in both directions.
Various other minor bug fixes and speed improvements (including much faster removeDuplicatePoints/Lines components)
*****
I've not yet updated all the documentation and example files to reflect this new version, but over time I will keep posting here with new demos and explanation of all these new features. I'll try and add a few new examples each week. Vote in the comments below if there is a feature mentioned above that you're particularly keen to hear more about soon.
No doubt there are still some bugs to be discovered. If something isn't working the way you expect or want it to, please post in this forum (ideally with a description or sketch of what you think should be happening, and a clear description of what happens instead and any error messages).
There are also some more new features that weren't quite ready to make it into this release, but are on the way shortly...
Kangaroo remains completely free, for personal, academic, and commercial use. I'm always interested to hear about projects done using it, and suggestions for improvements or additions.
Daniel
Tags:
In case it helps... just one works ok... MeshCorners.
I updated to SR7 and the problem persists
Thanks so so much! Daniel!! There is nothing I can say...:DDDD
Thanks Daniel, was waiting for a long time for this update! Great as usual!
Thanks so much for releasing this new version of Kangaroo!
I have been trying to use the new origami component with no luck. When pressing play in the new remote controller nothing seems to be happening in the Rhino interface. There are no errors or Null values given by Kangaroo Physics though.
As an attempt to fix the problem, I have looked in to the cluster definition as there is a mesh component in red. I had tried replacing it with other components making sure the information passed was the info required, i.e. the point (3d coord) of the mesh faces. However, it would still not work when connected to the Kangaroo physics component.
Does the new Kangaroo 00.096 require Grasshopper 1.0 (0.9.0066)?
Any ideas on why this might be happening are welcomed!
Thanks in advance
Best
Maria
Hi Maria,
I'm afraid I'm not sure why this might be happening. I've tested with the last couple of versions of Grasshopper and can't replicate this. Which version of Grasshopper are you running?
Could you take a screenshot showing which component in the cluster is red?
Hi Daniel,
The failing red component is inside the origami cluster: HingePoints. Please see below the error message I get. I have tried replacing it with another set of components to obtain the vertices of the mesh faces as points. Is the component HingePoints reordering the points in any particular manner, i.e. point 1 and point 2 being the opposite corners of the quad faces?
1. Solution exception:Cannot marshal 'parameter #5': Invalid managed/unmanaged type combination (Arrays can only be marshaled as LPArray, ByValArray, or SafeArray).
I have attached the script and a couple of snapshots showing the red component inside the origami cluster.
Aside from this error, I had also noticed that the two last addition components which provide the RestAngle and Strength Values to the Kangaroo Physics component were loosing the '0' value entered as 'A' (they were getting Null instead). I have replaced the manual entry with a panel entry. However, I still cannot get the Kangaroo Physics component to run the simulation (or the forces might be somehow equal to the initial ones, and hence not getting the system to move in any way).
I am out of ideas as to why this might be happening. I had worked with Kangaroo before and really liked it. This origami component is really promising and I would really like to get it to work on my machine.
The grasshopper version I am using is: 0.9.064. Kangaroo is 00.096.
I would be very grateful if you could have a look into it and let me know your thoughts.
Thanks for your help!
Best
Maria
Thanks Maria for providing this information,
It looks like this problem is related to the Plankton mesh library (The HingePoints components is currently one of the few places where Kangaroo uses this library internally).
Do you have the Plankton.dll file also installed and unblocked?
That marshaling error is not one I have seen before though. Perhaps updating your .net framework (http://www.microsoft.com/net) might help
Thanks Daniel
I have updated .net framework and reinstalled Plankton. The Hingepoints component is still not working and giving the same error message.
I have tried substituting it but it is difficult to track which are the shared edges and which ones are the opposite triangle corners of the mesh. I have attached the updated script for reference. If you could give me some tips as to how to replace Hingepoints properly, I would be very grateful.
Thanks,
Maria
I'm afraid I don't think it would be easy to replace the hingepoints component using only standard grasshopper components, because of the topology information required.
The 4 points should be (in order) : the start and end points of each internal mesh edge, and the tips of the left and right adjacent triangles (where left and right are defined looking along the direction of the edge). It is essential that these orders are correct to get the right assignment of mountain/valley folds.
Here's a version with scripts instead of the compiled component for extracting this topology info. The non-Plankton script is rather convoluted, whereas the Plankton one is just a few lines, but I suspect that if the component doesn't work, then neither will the Plankton script, but I'd be interested to know.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by