parameters: (run_name="property_reference")
docstring: Produces identical visualization to small_scale, but does not store
      repeated properties of ``vertex_positions`` and ``vertex_normals``.
docstring_summary: Produces identical visualization to small_scale, but does not store
      repeated properties of ``vertex_positions`` and ``vertex_normals``.
docstring_tokens: Produces identical visualization to small_scale but does not store repeated properties of vertex_positions and vertex_normals .
function: def property_reference(run_name="property_reference"):
      """Produces identical visualization to small_scale, but does not store
      repeated properties of ``vertex_positions`` and ``vertex_normals``.
      """
      logdir = os.path.join(BASE_LOGDIR, run_name)
      writer = SummaryWriter(logdir)
  
      cube = o3d.geometry.TriangleMesh.create_box(1, 2, 4, create_uv_map=True)
      cube.compute_vertex_normals()
      cylinder = o3d.geometry.TriangleMesh.create_cylinder(radius=1.0,
                                                           height=2.0,
                                                           resolution=20,
                                                           split=4,
                                                           create_uv_map=True)
      cylinder.compute_vertex_normals()
      colors = [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)]
      for step in range(3):
          cube.paint_uniform_color(colors[step])
          cube_summary = to_dict_batch([cube])
          if step > 0:
              cube_summary['vertex_positions'] = 0
              cube_summary['vertex_normals'] = 0
          writer.add_3d('cube', cube_summary, step=step)
          cylinder.paint_uniform_color(colors[step])
          cylinder_summary = to_dict_batch([cylinder])
          if step > 0:
              cylinder_summary['vertex_positions'] = 0
              cylinder_summary['vertex_normals'] = 0
          writer.add_3d('cylinder', cylinder_summary, step=step)
function_tokens: def property_reference ( run_name = "property_reference" ) : logdir = os . path . join ( BASE_LOGDIR , run_name ) writer = SummaryWriter ( logdir ) cube = o3d . geometry . TriangleMesh . create_box ( 1 , 2 , 4 , create_uv_map = True ) cube . compute_vertex_normals ( ) cylinder = o3d . geometry . TriangleMesh . create_cylinder ( radius = 1.0 , height = 2.0 , resolution = 20 , split = 4 , create_uv_map = True ) cylinder . compute_vertex_normals ( ) colors = [ ( 1.0 , 0.0 , 0.0 ) , ( 0.0 , 1.0 , 0.0 ) , ( 0.0 , 0.0 , 1.0 ) ] for step in range ( 3 ) : cube . paint_uniform_color ( colors [ step ] ) cube_summary = to_dict_batch ( [ cube ] ) if step > 0 : cube_summary [ 'vertex_positions' ] = 0 cube_summary [ 'vertex_normals' ] = 0 writer . add_3d ( 'cube' , cube_summary , step = step ) cylinder . paint_uniform_color ( colors [ step ] ) cylinder_summary = to_dict_batch ( [ cylinder ] ) if step > 0 : cylinder_summary [ 'vertex_positions' ] = 0 cylinder_summary [ 'vertex_normals' ] = 0 writer . add_3d ( 'cylinder' , cylinder_summary , step = step )