I am using pyiges to create triangles from iges files. I am very happy with this package, however I do not need VTK or Pyvista in my work. I have problems when installing those packages and have found that everything works better for me without VTK and Pyvista.
Therefore I suggest using try/except when importing those packages, see code below.
Thank you
from tqdm import tqdmfrom pyiges.entity import Entityfrom pyiges import geometry
I am using pyiges to create triangles from iges files. I am very happy with this package, however I do not need VTK or Pyvista in my work. I have problems when installing those packages and have found that everything works better for me without VTK and Pyvista.
Therefore I suggest using try/except when importing those packages, see code below.
Thank you
from tqdm import tqdm
from pyiges.entity import Entity
from pyiges import geometry
try:
from vtk import vtkAppendPolyData
except:
pass
try:
import pyvista
except:
pass