Method that computes the offset for a planar wire. A BRepBody containing the resulting BRepWire object(s) is returned. It's possible that the offset result of a single wire can result in multiple wires.
"bRepWire_var" is a variable referencing a BRepWire object.
|
"bRepWire_var" is a variable referencing a BRepWire object.
|
Type | Description |
BRepBody | Returns a new temporary BRepBody that contains one or more wires that represent the offset. |
Name | Type | Description |
planeNormal | Vector3D | Input Vector3D object that defines the positive direction of the plane the plane the wire lies on. This vector must be normal to the plane and is used to determine the side to offset the curves to. A positive offset distance is in the direction of the cross product (wire_tangent x wire_plane_normal). A negative offset is in the opposite direction. |
distance | double | The offset distance in centimeters. See the description for the Normal argument to see how a positive or negative value for the distance specifies the direction of the offset. |
cornerType | OffsetCornerTypes | Specifies how the corners are connected when offsetting the curves results in gaps in the corners. See the documentation of the enum for a detailed description of each option. |
Name | Description |
BrepWire Sample | BrepWires and BrepWire related functions |