as_polydata#

Model.as_polydata(update=False)#

Get the model as a polydata.

Parameters:
updatebool, optional

Update the polydata if it is already present, by default False.

Returns:
vtk.vtkPolyData

Polydata of the model.

Examples

>>> polydata = model.as_polydata()