OCCNurbsCurve.offset
- OCCNurbsCurve.offset(distance, direction)[source]
Offset the curve over the specified distance in the given direction.
- Parameters
distance (float) – The offset distance.
direction (
compas.geometry.Vector
) – The offset direction. Note that this direction defines the normal of the offset plane. At every point of the curve, a positive offset ditance will generate a corresponding offset point in the direction of the cross product vector of the curve tangent and the offset plane normal.
- Returns
None