EnclosureOptions#

class ansys.geometry.core.tools.prepare_tools.EnclosureOptions#

Provides options related to enclosure creation.

Options allow control on how the enclosure is inserted in the design.

Parameters:
create_shared_topologybool, default: False

Whether shared topology should be applied after enclosure creation.

subtract_bodiesbool, default: True

Whether the specified bodies for enclosure creation should be subtracted from the enclosure.

frameFrame, default: None

Frame used to orient the enclosure.

cushion_proportionReal, default: 0.25

A percentage of the minimum enclosure size. Determines the initial distance between the enclosed objects and the closest point of the enclosure to the objects.

Overview#

Import detail#

from ansys.geometry.core.tools.prepare_tools import EnclosureOptions

Attribute detail#

EnclosureOptions.create_shared_topology: bool = False#
EnclosureOptions.subtract_bodies: bool = True#
EnclosureOptions.frame: ansys.geometry.core.math.frame.Frame = None#
EnclosureOptions.cushion_proportion: ansys.geometry.core.typing.Real = 0.25#