Bitbybit Docs
    Preparing search index...

    Class Offset3DWireDto<T> (Inputs.OCCT)

    A wire, an offset and a direction for operations.offset3DWire, which offsets a wire that does not lie in one plane across that direction.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaloffset: number
      • Optionaldirection: Vector3

      Returns Offset3DWireDto<T>

    Properties

    shape: T

    The wire to offset; smooth wires work best, so fillet sharp corners first.

    undefined
    
    offset?: number

    How far every point moves, in model units. A positive offset moves a loop that runs counterclockwise, seen from the tip of direction, inwards.

    1
    

    -Infinity

    Infinity

    0.1

    direction?: Vector3

    The direction the offset is taken across: every point moves at right angles to both it and the wire. It must cross the wire everywhere, never running along it.

    [0, 1, 0]