open3d.visualization.draw_plotly_server#

open3d.visualization.draw_plotly_server(geometry_list, window_name='Open3D', width=1080, height=960, mesh_show_wireframe=False, point_sample_factor=1, front=None, lookat=None, up=None, zoom=1.0, port=8050)#

Serves Open3D geometries via a Dash web application using Plotly.

This function creates a Plotly figure and embeds it within a Dash web application. The application is then run on a local development server, making the visualization accessible through a web browser at the specified port.

Parameters:
  • geometry_list (List[open3d.geometry.Geometry]) – A list of Open3D geometry objects.

  • window_name (str, optional) – The title for the Dash application, which also appears as the browser tab title. Defaults to ‘Open3D’.

  • width (int, optional) – The width of the Plotly figure in pixels. Defaults to 1080.

  • height (int, optional) – The height of the Plotly figure in pixels. Defaults to 960.

  • mesh_show_wireframe (bool, optional) – If True, renders a wireframe for TriangleMesh geometries. Defaults to False.

  • point_sample_factor (float, optional) – Sampling factor for point clouds (0.0 to 1.0). Defaults to 1.0.

  • front (list of float, optional) – Camera’s front vector. Defaults to None.

  • lookat (list of float, optional) – Point camera is looking at. Defaults to None.

  • up (list of float, optional) – Camera’s up vector. Defaults to None.

  • zoom (float, optional) – Camera zoom level. Defaults to 1.0.

  • port (int, optional) – The port number on which the Dash application will be served. Defaults to 8050.

Returns:

A tuple containing the Dash application instance and the Plotly figure object.

Return type:

tuple[dash.Dash, plotly.graph_objects.Figure]