open3d.visualization.draw_plotly#
- open3d.visualization.draw_plotly(geometry_list, window_name='Open3D', width=600, height=400, mesh_show_wireframe=False, point_sample_factor=1, front=None, lookat=None, up=None, zoom=1.0)#
Draws Open3D geometries using Plotly and displays them.
This function creates a Plotly figure from the provided geometries and then calls show() to render it.
- Parameters:
geometry_list (List[open3d.geometry.Geometry]) – A list of Open3D geometry objects.
window_name (str, optional) – The title of the window where the figure is displayed.
width (int, optional) – The width of the Plotly figure in pixels. Defaults to 600.
height (int, optional) – The height of the Plotly figure in pixels. Defaults to 400.
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.
- Returns:
The generated and displayed Plotly figure.
- Return type:
plotly.graph_objects.Figure