code: def get_object_volume(
      obj_path: Path, logger=_DEFAULT_LOGGER, density=1.0
  ):
      # --- override the trimesh logger
      trimesh.util.log = logger
  
      tmesh = trimesh_utils.get_tmesh(str(obj_path))
  
      properties = {
          "volume": tmesh.volume,
          "surface_area": tmesh.area,
          "mass": tmesh.volume * density,
      }
      return properties
  
imports: import argparse
  import json
  import logging
  from pathlib import Path
  import shutil
  import subprocess
  import sys
  import tarfile
  from typing import Tuple
  import trimesh
  from shapenet_synsets import CATEGORY_NAMES
  from trimesh_utils import get_object_properties
  import trimesh_utils
  from urdf_template import URDF_TEMPLATE
label_desc: Use image node_id 6 for calling a global function with example usage: get_object_volume(obj_path, logger, density) and returns: properties