neilzhu 3677b9d41f first commit 1 month ago
..
README.md 3677b9d41f first commit 1 month ago
__init__.py 3677b9d41f first commit 1 month ago
nearest.py 3677b9d41f first commit 1 month ago
ray.py 3677b9d41f first commit 1 month ago
run_all.sh 3677b9d41f first commit 1 month ago
section.py 3677b9d41f first commit 1 month ago
shortest.py 3677b9d41f first commit 1 month ago

README.md

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.