pyvista / pyvista-support

[moved] Please head over to the Discussions tab of the PyVista repository
https://github.com/pyvista/pyvista/discussions
60 stars 4 forks source link

Arc path of the camera #285

Open megahard25 opened 4 years ago

megahard25 commented 4 years ago

Please tell me how can i generate half orbital path? That is, I figured out how to make the camera fly around the object with focus in the center, but how to make the camera fly around half of the object and then come back? That is, the path must be an arc

banesullivan commented 4 years ago

Follow this example: https://docs.pyvista.org/examples/02-plot/orbit.html#orbiting

And instead of using our helper to generate a path (generate_orbital_path), make your own set of points as PolyData and pass that to orbit_on_path.