Skip to main content

Prime Mesh Python client library 2026 R1 SP01

SubtractVolumesParams

Last update: 29.04.2026

class ansys.meshing.prime.SubtractVolumesParams(model=None, ignore_face_zonelets=None, check_cutters=None, keep_cutters=None, json_data=None, **kwargs)

Parameters to control the volume subtract operation.

Parameters:

model: Model

Model to create a SubtractVolumesParams object with default parameters.

ignore_face_zonelets: Iterable[int], optional

Face zonelet ids that subtract volumes should not remove (for example, periodic or fluid cap zonelets). If ignore face zonelets are provided, then the target volumes after subtract operation need to be recomputed.

check_cutters: bool, optional

Option to manage intersecting cutter volumes. When check cutters is False an error message is provided if multiple cutters intersect. Overlapping cutter volumes are not supported.

keep_cutters: bool, optional

Option to retain cutter volumes.
This is a beta parameter. The behavior and name may change in the future.

json_data: dict, optional

JSON dictionary to create a SubtractVolumesParams object with provided parameters.

Examples

>>> subtract_volumes_params = prime.SubtractVolumesParams(model = model)

Methods

Name Description
SubtractVolumesParams.print_default() Print the default values of SubtractVolumesParams object.
SubtractVolumesParams.set_default([...]) Set the default values of the SubtractVolumesParams object.

Attributes

Name Description
SubtractVolumesParams.check_cutters Option to manage intersecting cutter volumes.
SubtractVolumesParams.ignore_face_zonelets Face zonelet ids that subtract volumes should not remove (for example, periodic or fluid cap zonelets).
SubtractVolumesParams.keep_cutters Option to retain cutter volumes.

Connect with Ansys