compute_closed_volumes#

Part.compute_closed_volumes(params)#

Computes volume by identifying closed volumes defined by face zonelets of the part.

Parameters:
paramsComputeVolumesParams

Parameters to compute volumes.

Returns:
ComputeVolumesResults

Returns the ComputeVolumesResults.

Return type:

ComputeVolumesResults

Examples

>>> params = prime.ComputeVolumesParams(model = model, create_zones_type = prime.CreateVolumeZonesType.PERVOLUME)
>>> results = part.compute_closed_volumes(params)