Skip to content

Conversation

@JLBegin
Copy link
Contributor

@JLBegin JLBegin commented Apr 23, 2025

  • Fallback to a Null3DViewer if mayavi is not available.
  • Env var PTO_3D_BACKEND can be used to force or disable 3D backend. Only "mayavi" or "null" are available.

The abstraction opens the door to try other 3D viewers (like pyvista...).

Fix #117 / #118

JLBegin added 3 commits April 22, 2025 20:38
safe mayavi import, null backend option to bypass mayavi, and option for other backends in the future. removed mentions and imports of mayavi in unrelated tests.
@JLBegin JLBegin marked this pull request as ready for review April 23, 2025 02:07
Base automatically changed from jlb/disable-opencl to main May 3, 2025 14:48
@JLBegin JLBegin merged commit 78aa2be into main May 3, 2025
22 checks passed
@JLBegin JLBegin deleted the jlb/isolate-3d-backend branch May 3, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It would be very useful to be able to run the code even if mayavi and vtk are not installed

2 participants