Bitbybit Docs
    Preparing search index...

    Class OffsetDto<T, U> (Inputs.OCCT)

    用于 operations.offset 的形状和距离,它以圆角将形状的边界向外或向内移动。

    Type Parameters

    • T
    • U
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalshape: T
      • Optionalface: U
      • Optionaldistance: number
      • Optionaltolerance: number

      Returns Bit.Inputs.OCCT.OffsetDto<T, U>

    Properties

    shape: T

    要偏移的形状:线框、边、面、壳体或实体。

    undefined
    
    face?: U

    对于线框或边,偏移所绘制在其曲面上的面;省略则在线框自身的平面内偏移。

    undefined
    

    true

    distance: number

    边界移动多远,以模型单位表示;负值向内移动,0 原样返回形状。

    0.2
    

    -Infinity

    Infinity

    0.1

    tolerance: number

    构建偏移时,两个点必须多近才算作同一个点,以模型单位表示。

    0.1
    

    0

    Infinity

    0.01