TransientBRep.DoBoolean Method
Parent Object:
TransientBRep
Description
Method that performs the specified Boolean operation between the blank and tool bodies.
Remarks
If successful, the blank body is modified as a result of the Boolean operation. Because of this the BlankBody must always be a transient SurfaceBody. The toolbody is not modified. This is analogous to a machining operation where you have the blank that is being machined and the tool that removes material.
Syntax
TransientBRep.
DoBoolean(
BlankBody As
SurfaceBody,
ToolBody As
SurfaceBody,
BooleanType As
BooleanTypeEnum )
Parameters
BlankBody |
SurfaceBody |
Input/Output SurfaceBody that will be modified as a result. |
ToolBody |
SurfaceBody |
Input SurfaceBody that is used to operate on the blank body. |
BooleanType |
BooleanTypeEnum |
Input BooleanTypeEnum that specifies the type of Boolean operation to perform. Valid values are kBooleanTypeDifference, kBooleanTypeUnion, and kBooleanTypeIntersect. |
Samples
Version
Introduced in version 2009