code: def get_displacement_animation(model):
      def get_detailed_mesh(aaa_mesh):
          origin_mesh = aaa_mesh.copy()
          mesh_points = (
              torch.tensor(
                  np.array(origin_mesh.vertices).astype(np.float32)
              )
              .cuda()
              .requires_grad_(True)
          )
          sdfs = model.implicit_network(mesh_points)[:, 0:1]
          sdf_np = sdfs.detach().cpu().numpy()
  
          print("Detailed mesh created!")
          return sdf_np
  
      orimesh = model.mesh
      subdi_mesh_full = orimesh.subdivide()
      sdf_np0 = get_detailed_mesh(orimesh)
      sdf_np1 = get_detailed_mesh(subdi_mesh_full)
  
      return sdf_np0, sdf_np1
  
imports: import plotly.graph_objs
  import plotly.offline
  import numpy
  import torch
  from skimage import measure
  import torchvision
  import trimesh
  from PIL import Image
  from utils import rend_util
  import pickle
label_desc: Use image node_id 8 for calling a global function with example usage: get_displacement_animation(model) and returns: sdf_np0,  sdf_np1, sdf_np