Bitbybit Docs
    Preparing search index...

    Class RebuildCurveDegreeDto<T> (Inputs.OCCT)

    A wire or edge, a degree and a tolerance for shapes.wire.rebuildWireDegree and shapes.edge.rebuildEdgeDegree.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldegree: number
      • Optionaltolerance: number

      Returns RebuildCurveDegreeDto<T>

    Properties

    shape: T

    The wire or edge whose curve is rebuilt.

    undefined
    
    degree: number

    The degree to rebuild to; lowering smooths the curve within the tolerance, raising keeps it exact, and 3 is the practical minimum.

    3
    

    1

    Infinity

    1

    tolerance: number

    How far the rebuilt curve may stray from the old one when the degree is lowered, in model units.

    0.0001
    

    0

    Infinity

    0.0001