pyvista_cad.read_iges#
- read_iges(path, /, *, bsplines=True, surfaces=True, lines=False, points=False, delta=0.025, **_)[source]#
Read an IGES file using pyiges and return a pyvista dataset.
Wraps
pyiges.read(path).to_vtk(...). Requirespyvista-cad[iges](pyiges + geomdl).- Parameters:
- pathstr or os.PathLike
Path to an IGES (
.iges/.igs) file.- bsplinesbool, default: True
Tessellate BSpline surfaces.
- surfacesbool, default: True
Include analytic surfaces.
- linesbool, default: False
Include line/curve entities.
- pointsbool, default: False
Include isolated point entities.
- deltafloat, default: 0.025
Tessellation step for geomdl.
- **_Any
Forward-compat keyword arguments are accepted and ignored.
- Returns:
- pyvista.DataSet
Tessellated dataset (
PolyDataorMultiBlockdepending on the IGES content).
- Parameters:
- Return type:
pv.DataSet