README.md 1.8 KB

Trimesh

In this directory you will find a bunch of examples of interoperability with the trimesh package.

(Still a bit experimental, especially when running from a jupyter notebook. Use in this case embedWindow(False)).

To run the examples:

git clone https://github.com/marcomusy/vedo.git
cd vedo/vedo/examples/other/trimesh
python example.py

(click thumbnail image to get to the python script)

trim_section
section.py
Find a bunch of parallel cross sections to a mesh.
trim_ray
ray.py
Find hits of a ray to mesh.
trim_nearest
nearest.py
Find the closest points on a mesh to a set of random point.
trim_shortest
shortest.py
Shortest path query using length for edge weight.