Grasshopper

algorithmic modeling for Rhino

As a newcomer to Kangaroo I am trying to replicate the mesh relaxation shown in https://vimeo.com/27484394, in Kangaroo2.  The files below achieve something in this direction, in an inelegant way, but still have some problems ...

- clumsy way to select naked edge vertices

- not sure how to apply deformation to original geometry (the mesh), rather than just the constituent curves

- the numbers of curves involved has got bigger than we started with

- not sure how to re-constitute a new mesh

Can anyone straighten me out on this please?

Views: 6552

Attachments:

Replies to This Discussion

Ah, found some useful functions in Weaverbird, much better now ... still wondering if the solver can transform the original mesh geometry or if the new mesh has to be constructed from transformed edges as below

Hi Lincoln, I would recommend going through the examples that ship with Kangaroo2. They're really useful for quickly getting up to speed with the new workflows and goals (as opposed to forces in Kangaroo1), also go through the pdf documentation. Anywho, a few answers:

"clumsy way to select naked edge vertices":  Standard Grasshopper has a component ("Mesh Edges") which returns mesh edges based on their valence (valence 1 would be the naked edges)

"not sure how to re-constitute a new mesh": Use the "Show" goal, which enables you to pass along any discrete geometry (points, lines, polylines, meshes) through the solver. A good approach in general is to organize your goals in a data tree (use "Entwine") on the solver input side and then unflatten the solver output on the other side (use "Unflatten Tree").

Hope that helps :)

Hi Anders, thanks for those hints, I'll try them.  I have looked for material to help get up to speed, but my Kangaroo download included only a very minimal pdf.  Where can I find the examples & documentation you mention?

Ah yes, it looks like Daniel didn't include the examples folder in version 2.1.2 and 2.1.4. if you download 2.02 they're still in there. Additionally check out this thread and make sure to search the forum (and the Kangaroo sub-forum). There's a lot of golden nuggets, but they are indeed a bit all over the place.

Got it ... however many of the examples do not run for me - for instance because of this:

I can't figure out where to get this Kangaroo components thing from.  there seem to be quite a few barriers to getting going for the newbie

In fact, I guess I'm whingeing, but 90% of the Kangaroo examples from ver 2.02 install package do not run with a new installation of Rhino 5 + Grasshopper latest + Kangaroo latest.  Nothing with the Grab function works, and many other files give missing component messages similar to the above.  I'm guessing that checking of files must have been done on machines with older installations & components still present.  Maybe I have to also install some earlier version of Kangaroo?  Which one I wonder?

Could be a version issue, I'm running:

Rhino Version 5 SR13 64-bit
Grasshopper 0.9.0076

With these .NET frameworks:

On this system:

There are a few threads with similar install issues on the board (especially related to the Grab component). Maybe do a bit of searching, Daniel has outlined how to resolve these issues as far as I recall.

Thanks Anders ... I have similar OS and versions except for .NET which is 4.6.1 (no previous versions listed in control panel Programs & Features)

It looks from the forum posts as though that is a problem, Grab won't work after about 4.5.1

Reluctant to downgrade .NET at this stage

Those are part of the mesh utilities from Kangaroo1 (that haven't yet been moved over to K2). So just download and install Kangaroo Physics 0.099 and you should be good to go.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service