pyvista_cad.CadDataSetAccessor.tessellation_quality#
- property CadDataSetAccessor.tessellation_quality: dict[str, float | None] | None#
Tessellation deflections last used to build this mesh.
tessellate()stamps thecad.linear_deflectionandcad.angular_deflectionit used into field data; this property reads them back.- Returns:
- dict or None
{'linear_deflection': float | None, 'angular_deflection': float | None}when at least one deflection is stamped, otherwiseNone.
Examples
>>> import pyvista_cad >>> from pyvista_cad import examples >>> mesh = pyvista_cad.read_step(examples.step_cube) >>> fine = mesh.cad.tessellate(linear_deflection=0.05) >>> sorted(fine.cad.tessellation_quality) ['angular_deflection', 'linear_deflection']