compute_topo_volumes#

Part.compute_topo_volumes(params)#

Compute topovolumes by identifying closed volumes defined by topofaces of the part.

Parameters:
paramsComputeVolumesParams

Parameters to compute topovolumes.

Returns:
ComputeTopoVolumesResults

Return the ComputeTopoVolumesResults.

Return type:

ComputeTopoVolumesResults

Examples

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