Change in GH bounding box calc method

There is a difference in behavior between GH running in rh5 and GH in rh6 - BoundingBoxes calculated with a specified base plane show up in the wrong place in the WIP.

correct (Rhino 5):

not correct (Rhino 6 WIP):

Not for me, but my file is obviously different from yours.

@DavidRutten try supplying a plane other than world XY

Or did you and it was just internalized?

try the attached file… trouble (20.9 KB)

Sorry for the barrage of posts. I figured out the problem :slight_smile: the new implementation of bbox does a check first if the plane normal is parallel to Z - if it’s not, it uses the identity transform for the bbox calc. But this fails to take into account planes with different origins - the bbox is calculated correctly, but when it’s transformed BACK to the supplied plane’s orientation, it moves in space.

1 Like

Yup, I set one directly in the P input.

Thanks, I’ll see about getting it fixed.