bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class SaveDxfDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalfileName: string
      • OptionaltryDownload: boolean
      • OptionalangularDeflection: number
      • OptionalcurvatureDeflection: number
      • OptionalminimumOfPoints: number
      • OptionaluTolerance: number
      • OptionalminimumLength: number

      Returns SaveDxfDto<T>

    Properties

    shape: T

    Shape to save

    undefined
    
    fileName: string

    File name

    shape.dxf
    
    tryDownload?: boolean

    Will attempt to download the file if that is possible, keep in mind that you might need to implement this yourself. In bitbybit this is handled by worker layers which only run in browsers.

    true
    
    angularDeflection: number

    The angular deflection

    0.1
    

    0

    Infinity

    0.01

    curvatureDeflection: number

    The curvature deflection

    0.1
    

    0

    Infinity

    0.001

    minimumOfPoints: number

    Minimum of points

    2
    

    0

    Infinity

    1

    uTolerance: number

    U tolerance

    1.0e-9
    

    0

    Infinity

    1.0e-9

    minimumLength: number

    Minimum length

    1.0e-7
    

    0

    Infinity

    1.0e-7