OptionalstlData: string | ArrayBuffer | Uint8Array<ArrayBufferLike> | Blob | FileOptionalasFaces: booleanOptionaladjustZtoY: booleanOptionalupAxis: upAxisConversionEnumThe STL file, ASCII or binary: the text of an ASCII file, or the file as ArrayBuffer, Uint8Array, File or Blob.
OptionalasWhen true, each triangle becomes a planar face that sewing can join into a shell; when false, one face carries the whole mesh, light to draw but not for modelling.
OptionalupWhether the shape turns: zUpToYUp turns the file's Z-up into this library's Y-up, and keep
leaves the file's axes. yUpToZUp is refused.
OptionaladjustWhen false, the shape keeps its axes as keep does; true, its old default, decides nothing.
False wins over upAxis at its default; beside another chosen turn it is refused.
An STL file for
io.loadStl, which reads its triangles into a shape: one planar face per triangle, or one face that carries the whole mesh.