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

    Class SaveStlDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalfileName: string
      • Optionalprecision: number
      • OptionaladjustYtoZ: boolean
      • OptionaltryDownload: boolean
      • Optionalbinary: boolean

      Returns SaveStlDto<T>

    Properties

    shape: T

    Shape to save

    undefined
    
    fileName: string

    File name

    shape.stl
    
    precision: number

    Precision of the mesh - lower means higher res

    0.01
    
    adjustYtoZ: boolean

    Adjust Y (up) coordinate system to Z (up) coordinate system

    false
    
    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
    
    binary?: boolean

    Generate binary STL file

    true