code: def get_object_properties(
      obj_path: Path, logger=_DEFAULT_LOGGER, density=1.0
  ):
      # --- override the trimesh logger
      trimesh.util.log = logger
  
      tmesh = get_tmesh(str(obj_path))
      properties = {
          "bounds": tmesh.bounds.tolist(),
          "center_mass": tmesh.center_mass.tolist(),
          "inertia": tmesh.moment_inertia.tolist(),
          "mass": tmesh.volume * density,
      }
      return properties
  
file_path: kubric/shapenet2kubric/trimesh_utils.py
imports: import json
  import sys
  import trimesh
  import logging
  import numpy
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: get_object_properties(obj_path, logger, density) and returns: properties