You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Simple scene graph and transform tree which can be rendered (pyglet window, three.js in a jupyter/marimo notebook or exported.
149
149
* Many utility functions, like transforming points, unitizing vectors, aligning vectors, tracking numpy arrays for changes, grouping rows, etc.
150
150
151
-
152
-
## Viewer
153
-
154
-
Trimesh includes an optional `pyglet<2` based viewer for debugging and inspecting. In the mesh view window, opened with `mesh.show()`, the following commands can be used:
155
-
156
-
*`mouse click + drag` rotates the view
157
-
*`ctl + mouse click + drag` pans the view
158
-
*`mouse wheel` zooms
159
-
*`z` returns to the base view
160
-
*`w` toggles wireframe mode
161
-
*`c` toggles backface culling
162
-
*`g` toggles an XY grid with Z set to lowest point
163
-
*`a` toggles an XYZ-RGB axis marker between: off, at world frame, or at every frame and world, and at every frame
164
-
*`f` toggles between fullscreen and windowed mode
165
-
*`m` maximizes the window
166
-
*`q` closes the window
167
-
168
-
If called from inside a `jupyter` or `marimo` notebook, `mesh.show()` displays an in-line preview using `three.js` to display the mesh or scene.
169
-
170
151
## Additional Notes
171
152
172
153
- Check out some cool stuff people have done in the [GitHub network](https://github.com/mikedh/trimesh/network/dependents).
173
154
- Generally `trimesh` API changes should have a one-year period of [printing a `warnings.DeprecationWarning`](https://trimesh.org/contributing.html#deprecations) although that's not always possible (i.e. the pyglet2 viewer rewrite that's been back-burnered for several years.)
174
155
- Docker containers are available on Docker Hub as [`trimesh/trimesh`](https://hub.docker.com/r/trimesh/trimesh/tags) and there's a [container guide](https://trimesh.org/docker.html) in the docs.
175
156
- If you're choosing which format to use, you may want to try [GLB](https://trimesh.org/formats.html) as a fast modern option.
0 commit comments