concepts.math.cad.mesh_utils.set_open3d_mesh_camera#

set_open3d_mesh_camera(vis, look_at=(0, 0, 0), distance=1, fov=60, elevation=0., azimuth=0., yaw=0.)[source]#

Set the camera of an Open3D mesh.

Parameters:
  • vis (open3d.visualization.Visualizer) – the Open3D visualizer to set the camera for.

  • look_at (Tuple[float, float, float] | List[float] | ndarray) – the point to look at.

  • distance (float) – the distance of the camera from the mesh.

  • fov (float) – the field of view of the camera.

  • elevation (float) – the elevation of the camera.

  • azimuth (float) – the azimuth of the camera.

  • yaw (float) – the yaw of the camera.