Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • SaveStlDto

Index

Constructors

constructor

  • new SaveStlDto<T>(shape?: T, fileName?: string, precision?: number, adjustYtoZ?: boolean, tryDownload?: boolean, binary?: boolean): SaveStlDto<T>
  • Type parameters

    • T

    Parameters

    • Optional shape: T
    • Optional fileName: string
    • Optional precision: number
    • Optional adjustYtoZ: boolean
    • Optional tryDownload: boolean
    • Optional binary: boolean

    Returns SaveStlDto<T>

Properties

adjustYtoZ

adjustYtoZ: boolean

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

default

false

Optional binary

binary: boolean

Generate binary STL file

default

true

fileName

fileName: string

File name

default

shape.stl

precision

precision: number

Precision of the mesh - lower means higher res

default

0.01

shape

shape: T

Shape to save

default

undefined

Optional tryDownload

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.

default

true

Generated using TypeDoc