Bitbybit Docs
    Preparing search index...

    Class BasicShapeRepairDto<T> (Inputs.OCCT)

    A shape and tolerance bounds for shapeFix.basicShapeRepair, the kernel's general repair.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalprecision: number
      • OptionalmaxTolerance: number
      • OptionalminTolerance: number

      Returns BasicShapeRepairDto<T>

    Properties

    shape: T

    The shape to repair; it stays as it is and a repaired copy comes back.

    undefined
    
    precision: number

    The size of defect the repair looks for, in model units.

    0.001
    

    0

    Infinity

    0.0000000001

    maxTolerance: number

    The largest tolerance the repair may give a part of the shape while closing gaps, in model units; a gap needing more stays open.

    0.01
    

    0

    Infinity

    0.0000000001

    minTolerance: number

    The smallest tolerance the repair may use, in model units; edges shorter than this are removed.

    0.0001
    

    0

    Infinity

    0.0000000001