Grasshopper

algorithmic modeling for Rhino

I have a polyhedral geometry, and I want to find the solid angle subtended by each of the planar faces.

I am taking the geometry, and using Pull to map it onto a sphere. I use these projected curves to split the original sphere. The area of each projected surface will be proportional to its solid angle.

When the seam of the sphere cuts through one of the segments, it splits the surface into two pieces. So if the original shape had 9 surfaces, the split sphere may have 10 or more surfaces, depending on how they lined up with the seam.

In the picture below, the red and orange surfaces should be one piece. The seam didn't go all the way through the green, so it's fine.

Is there a clever way to find these broken pieces and stitch them back together? It's easy to do by hand, but not obvious how to automate.

Views: 1534

Attachments:

Replies to This Discussion

Related:

To avoid the seams, instead of splitting the same sphere with all the curves, I thought I'd create rotated duplicates of the sphere, so that each curve had its own sphere where the seam wouldn't get in the way.

I now have 9 spheres and 9 curves, properly aligned.

However, using the list of curves and surfaces in SrfSplit tries to split all 9 spheres with all 9 curves. I want to do a one-to-one matching (split sphere 1 with curve 1, sphere 2 with curve 2, etc). Is this possible?

I think i adressed this issue there.

Let me know if it works for you.

This works nicely, thank you! I turned it into a user object, so I'm sure it will come in handy in the future.

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