Method that finds regions of faces on two bodies which overlap and creates new bodies where the faces are split at the edges of the overlaps. This does not modify the original bodies but creates new temporary bodies that contain the imprints.
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.
|
|
Type | Description |
boolean | Returns true if the imprint calculation was successful. |
Name | Type | Description |
bodyOne | BRepBody | Input BRepBody that will participate in the imprint operation. This body can be either a parametric or temporary body. |
bodyTwo | BRepBody | Input BRepBody that will participate in the imprint operation. This body can be either a parametric or temporary body. |
imprintCoincidentEdges | boolean | Input Boolean that indicates if overlapping edges should be included in the result. The picture below shows an example of when this argument will make a difference. The two bodies have overlapping faces and there is also an overlapping edge. If this argument is true, then the edge shown in red below will be included in the output as an overlapping edge. If False it will not be included and only the edges of the overlapping faces will be in the overlapping faces collections. |
resultBodyOne | BRepBody | Output temporary BRepBody that contains the imprinted body that corresponds to the body provided through the bodyOne argument. |
resultBodyTwo | BRepBody | Output temporary BRepBody that contains the imprinted body that corresponds to the body provided through the bodyTwo argument. |
bodyOneOverlappingFaces | BRepFace[] | Output array of BRepFace objects that represent the overlapping faces that are part of resultBodyOne. Faces at the same index within the collection returned here and that returned by the bodyTwoOverlappingFaces are overlapping. |
bodyTwoOverlappingFaces | BRepFace[] | Output array of BRepFace objects that represent the overlapping faces that are part of resultBodyTwo. Faces at the same index within the collection returned here and that returned by the bodyOneOverlappingFaces are overlapping. |
bodyOneOverlappingEdges | BRepEdge[] | Output array of BRepEdge objects that represent the overlapping edges that are part of resultBodyOne. Edges at the same index within the collection returned here and that returned by the bodyTwoOverlappingEdges are overlapping. |
bodyTwoOverlappingEdges | BRepEdge[] | Output array of BRepEdge objects that represent the overlapping edges that are part of resultBodyTwo. Edges at the same index within the collection returned here and that returned by the bodyOneOverlappingEdges are overlapping. |
tolerance | double | Optional Input double that specifies the tolerance, in centimeters, to use when comparing the bodies. If not specified, or a value of zero is specified, the internal modeling tolerance will be used. This is an optional argument whose default value is 0.0. |
Name | Description |
TemporaryBRepManager API Sample | TemporaryBRepManager related functions |