When merge is False, use a pyvista.MultiBlock container to make plotting and everything easier.
Currently, I am trying to think of a way to find the watertight regions of the mesh and trim out all the other parts...
import pyiges
from pyiges import examples
# load an example impeller
iges = pyiges.read(examples.impeller)
# convert all surfaces to a vtk mesh and plot it
mesh = iges.to_vtk(bsplines=False, surfaces=True, merge=False, delta=0.05)
mesh.plot(smooth_shading=True, multi_colors=True)
When
merge
is False, use apyvista.MultiBlock
container to make plotting and everything easier.Currently, I am trying to think of a way to find the watertight regions of the mesh and trim out all the other parts...