pyvista_cad.CadWarning

On this page

pyvista_cad.CadWarning#

exception CadWarning[source]#

Category for pyvista-cad data or feature-loss warnings.

Emitted when a backend reads or writes a valid file but a piece of authored data (color, material, geometry, text, units) cannot be carried across and is dropped or degraded. Subclasses UserWarning so pytest.warns(UserWarning) and the stdlib warning filters still match.

Examples

>>> from pyvista_cad import CadWarning
>>> issubclass(CadWarning, UserWarning)
True