Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for generating STL data from a Babylon scene.

Hierarchy

  • STLExport

Index

Constructors

Methods

Constructors

Methods

  • CreateSTL(meshes: Mesh[], download?: boolean, fileName?: string, binary?: boolean, isLittleEndian?: boolean, doNotBakeTransform?: boolean): any
  • Exports the geometry of a Mesh array in .STL file format (ASCII)

    Parameters

    • meshes: Mesh[]

      list defines the mesh to serialize

    • Optional download: boolean

      triggers the automatic download of the file.

    • Optional fileName: string

      changes the downloads fileName.

    • Optional binary: boolean

      changes the STL to a binary type.

    • Optional isLittleEndian: boolean

      toggle for binary type exporter.

    • Optional doNotBakeTransform: boolean

      toggle if meshes transforms should be baked or not.

    Returns any

    the STL as UTF8 string

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme