3D bounding box BUG

3D bounding boxes only track sim run start scales and not tracking current scale unlike 2D bounding which track correctly. See pictures for reference


I need to check if the old USD BB code works

Pretty sure that the last version of IS 3D BB worked with the same mesh. So it’s possible this implementation hasn’t been carried over or acts in a different way.

Here is the code for reference

from pxr import Usd, UsdGeom, Gf

def compute_bbox(prim: Usd.Prim) → Gf.Range3d:
“”"
Compute Bounding Box using ComputeWorldBound at UsdGeom.Imageable
See Universal Scene Description: UsdGeomImageable Class Reference

Args:
    prim: A prim to compute the bounding box.
Returns: 
    A range (i.e. bounding box), see more at: https://graphics.pixar.com/usd/release/api/class_gf_range3d.html
"""
imageable = UsdGeom.Imageable(prim)
time = Usd.TimeCode.Default() # The time at which we compute the bounding box
bound = imageable.ComputeWorldBound(time, UsdGeom.Tokens.default_)
bound_range = bound.ComputeAlignedBox()
return bound_range

Hi there, can you provide a repro for the issue, the bounding box seems to work for me: