Grasshopper

algorithmic modeling for Rhino

I'm toying with Kangaroo and had a quick question. I could ask it there but it feels pretty general. Bonus result photo if someone can answer it.

I'm trying to achieve the input for a hinge or tangentincircles constraint which involves some mesh logic I can't figure out:

Given all edges of a mesh give the two adjacent vertices. The missing point on each of the neighboring faces.

Is there some grasshopper way to structure a mesh that would be convenient? My hunch is this is a scripting problem and I don't know any mesh datastructures.

Views: 518

Replies to This Discussion

Daniel made a component for this called HingePoints. It's in Kangaroo 0.099 under the Mesh tab..

While it's possible to extract this information from a mesh using GH components, I can't think of a particularly efficient way to do it. In the "shell" example files for Kangaroo2, Daniel has included a script that does this.

As far as I can recall that script is also included in the "Shell" cluster which can be found under the "Utility" tab of Kangaroo 0.099.. Either way, should be plenty to get started :)

Yep. You beat me to it :)

How easy. Thanks.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service