cloudViewer.io.rpc.set_triangle_mesh#

cloudViewer.io.rpc.set_triangle_mesh(*args, **kwargs)#

Overloaded function.

  1. set_triangle_mesh(mesh: cloudViewer.geometry.ccMesh, path: str = ‘’, time: typing.SupportsInt = 0, layer: str = ‘’, connection: cloudViewer.io.rpc._ConnectionBase = None) -> bool

Sends a triangle mesh to a viewer.
Args:

mesh (ccMesh): The triangle mesh. path (str): The path in the scene graph. time (int): The time associated with the data. layer (str): A layer name that can be used by receivers that support layers. connection (cv3d.io.rpc.Connection): A connection object that will be used for sending the data.

Returns:

Returns True if the data was successfully received.

  1. set_triangle_mesh(mesh: cloudViewer.t.geometry.TriangleMesh, path: str = ‘’, time: typing.SupportsInt = 0, layer: str = ‘’, connection: cloudViewer.io.rpc._ConnectionBase = None) -> bool

Sends a triangle mesh to a viewer. Args: mesh (cv3d.t.geometry.TriangleMesh): The triangle mesh. path (str): The path in the scene graph. time (int): The time associated with the data. layer (str): A layer name that can be used by receivers that support layers. connection (cv3d.io.rpc.Connection): A connection object that will be used for sending the data.

Returns: Returns True if the data was successfully received.