pyvista_cad.CadMultiBlockAccessor.to_topods

pyvista_cad.CadMultiBlockAccessor.to_topods#

CadMultiBlockAccessor.to_topods()[source]#

Build a faceted TopoDS shape from the combined assembly.

Returns:
TopoDS_Shape

Faceted shape built from the combined assembly.

Return type:

Any

Examples

>>> import pyvista as pv
>>> import pyvista_cad
>>> mb = pv.MultiBlock([pv.Sphere()])
>>> type(mb.cad.to_topods()).__name__
'TopoDS_Solid'