pyvista_cad.CadCacheError

On this page

pyvista_cad.CadCacheError#

exception CadCacheError[source]#

Raised when a cached originating TopoDS_Shape is corrupt.

A mesh that carries a B-rep cache entry but whose entry fails to deserialize or validate raises this rather than masquerading as a mesh with no CAD origin. A genuinely absent backend or absent cache entry does not raise this.

Examples

>>> from pyvista_cad import CadCacheError, CadError
>>> issubclass(CadCacheError, CadError)
True