Bitbybit Docs
    Preparing search index...

    Class Offset3DWireDto<T> (Inputs.OCCT)

    用于 operations.offset3DWire 的线框、偏移量和拉伸方向,它偏移一个不在同一平面内的线框。

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

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

      Returns Offset3DWireDto<T>

    Properties

    shape: T

    要偏移的线框;光滑的线框效果最好,因此先对尖角进行圆角。

    undefined
    
    offset: number

    偏移距离,以模型单位表示。

    1
    

    -Infinity

    Infinity

    0.1

    direction: Vector3

    为构建偏移而拉伸线框的方向;它不得与线框平行。

    [0, 1, 0]