snnib.blender.utils.mesh_utils.get_bbox

snnib.blender.utils.mesh_utils.get_bbox(obj: bpy.types.Object) Tuple[ndarray, ndarray][source]

returns bounding box of obj

Parameters
  • obj
    • bpy.types.Object

    • object to get bounding box of

Raises

Returns
  • min
    • np.ndarray

    • minimum of the bounding box as [x,y,z]

  • max
    • np.ndarray

    • maximum of the bounding box as [x,y,z]

Dependencies
  • bpy

  • logging

  • numpy

  • typing