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

Try download the file if that is possible

default

true

Generated using TypeDoc