Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
first_example.ipynb
nearest.py
ray.ipynb
ray.py
run_all.sh
section.ipynb
section.py
shortest.ipynb
shortest.py
trimesh_first_example.py

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/vtkplotter-examples.git
cd vtkplotter/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.
You can’t perform that action at this time.