pyvista_cad.CadDataSetAccessor.has_brep_origin#
- property CadDataSetAccessor.has_brep_origin: bool#
Whether this dataset has a recoverable B-rep origin.
Truewhen a cached originatingTopoDS_Shapeis associated with the mesh (or, for a MultiBlock, with any leaf block), or when acad.has_brep_originfield-data flag is stamped truthy.Falseotherwise. The exact-geometry helpers (tessellate(),exact_volume(),center_of_mass()) require this to beTrue.- Returns:
- bool
Trueif a cachedTopoDS_Shapeis recoverable.
Examples
>>> import pyvista as pv >>> import pyvista_cad >>> pv.Sphere().cad.has_brep_origin False