Bitbybit Docs
    Preparing search index...

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

    Edges or wires, a shape with faces and the fitting settings for shapes.wire.projectNormal, which lays the curves onto the faces along their normals.

    Type Parameters

    • T
    • U
    Index

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalwires: T[]
      • Optionalshape: U
      • Optionaltolerance: number
      • OptionalmaxDistance: number

      Returns ProjectNormalDto<T, U>

    Properties

    wires: T[]

    The edges or wires to lay onto the shape.

    undefined
    
    shape: U

    The shape whose faces the curves land on, within the faces' edges.

    undefined
    
    tolerance?: number

    How far the fitted curves may stray from the exact projection, in model units.

    1e-4
    

    0

    true

    Infinity

    0.00001

    maxDistance?: number

    Drops the parts of the projection lying farther than this from the curves they come from, in model units; 0 keeps everything.

    0
    

    0

    Infinity

    0.1