algorithmic modeling for Rhino
Hope I understood your goal correctly Joseph. See attachment.
let me try that again...
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 !).
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by