Bitbybit Docs
    Preparing search index...

    Class ShapeToDxfPathsDto<T> (Inputs.OCCT)

    A shape and deflection settings for io.shapeToDxfPaths, which traces the shape's wires into DXF path records.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalangularDeflection: number
      • OptionalcurvatureDeflection: number
      • OptionalminimumOfPoints: number
      • OptionaluTolerance: number
      • OptionalminimumLength: number

      Returns ShapeToDxfPathsDto<T>

    Properties

    shape: T

    The shape whose wires are traced; it must lie flat on the XZ ground plane.

    undefined
    
    angularDeflection: number

    The largest angle, in radians, the traced polyline may turn between two points; smaller follows curves more closely.

    0.1
    

    0

    Infinity

    0.01

    curvatureDeflection: number

    The largest distance, in model units, the traced polyline may stray from the curve; smaller follows it more closely.

    0.1
    

    0

    Infinity

    0.001

    minimumOfPoints: number

    The fewest points any edge is traced with, however straight.

    2
    

    0

    Infinity

    1

    uTolerance: number

    How close two parameter values must be to count as the same point.

    1.0e-9
    

    0

    Infinity

    1.0e-9

    minimumLength: number

    Edges shorter than this, in model units, are traced with the minimum number of points.

    1.0e-7
    

    0

    Infinity

    1.0e-7