Grasshopper

algorithmic modeling for Rhino

When one solid is contained entirely within another, 'Solid Intersection (SInt)' fails?

See blue box...  'SInt' is valid only when it penetrates the surface of the larger box; when below the surface (contained within the larger box), it fails?

WHY?????  'SDiff' fails too..  Oh, the pain...  :(

Views: 1359

Attachments:

Replies to This Discussion

Hope I understood your goal correctly Joseph. See attachment.

let me try that again...

Attachments:

Thanks Pieter.  Yes, that's one way of coping.  I have nearly identical code in place for a different reason, using 'Stream Filter' to choose between a valid and invalid result.  My real boat is much more complex than the simple "asym hull" in my example, though; it has two hulls and a "pod" that hangs out on one side, which can result in three (or more?) separate intersections with the water.  When solving, one hull can be completely submerged while the other is clear out of the water.  My testing involves a wide variety of "hull" combinations that can all too easily break code, though it seems to be stable now (though slow).

I have never seen 'Comp (Compound)' and 'Transform' used before; is that more efficient than doing them sequentially?  I'll check that out, thank you.

P.S.  Your 'asym hull' input wasn't internalized so I grabbed one I had from an old file - without the deck...  The 'Volume' was -4931.83 (negative !).

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service