Grasshopper

algorithmic modeling for Rhino

Hi everyone, I'm having quite some troubles with kangaroo.

I'm having several issues such as:

  • the well known "index out of range error"
  • the above error disappears if I plug certain new forces
  • the solver takes a long time to compute and the planarize component makes it fail

Any help will be very much appreciated!

Lorenzo

Views: 551

Attachments:

Replies to This Discussion

Hi Lorenzo,

Firstly - I see you are using v0.099 - Version 2 is a complete rewrite that overcomes all the indexing issues you mention, as well as being much faster and more stable, and I would recommend to move to this when you can.

In v0.099 the index out of range error can be avoided by including the springs which ensure all particles are properly initialized, and indeed it is nearly always good to use some springs in combination with planarization. I may possibly still post some updates to 0.099 to make things like this easier, but my main focus these days is definitely on the new version.

I will post an example of planarizing a hexagonal mesh with the new version soon.

However, I do notice the surface you are using has some regions of negative gaussian curvature, and covering that with planar convex hexagons without gaps is geometrically impossible. Making some hexagons concave 'bow-tie' or 'farfalle' shaped can allow covering such anticlastic surfaces, but simply starting with convex hexagons and trying to planarize them won't create these automatically.

Thank you Daniel, extremely exhaustive as always!

Hi Daniel:
I mean this in the kindest way possible: Sometimes one does not recognize that one has thrown out the old baby with the bathwater. I'm retrieving the old baby! because a number of scripts, don't like the new baby :)

Firstly - I see you are using v0.099 - Version 2 is a complete rewrite

Hi Kim,

It is possible to keep both installed side-by-side, and indeed for now I recommend doing that.

I know there are many definitions built on the old version that are worth preserving. The new version is so different under-the-hood that backwards compatibility of the main components was not possible, but at least by having both installed you can still open definitions made with the old Kangaroo, you just can't mix forces/goals between them.

I have not tried installing both versions side by side, I'm sure they probably will since each, is uniquely named.

from the description of kangaroo 2

"Kangaroo2 is a complete rewrite, and the main solver/goal/force components are not cross-compatible with the previous version. However, you can keep both versions installed together allowing older definitions to be opened, and for now this is recommended, as there are also several utility and mesh processing functions relevant to both versions."

A lot of important Mesh Tools are missing from V201 :(

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