StlLoadOptions

Overview

StlLoadOptions configures how a STL (.stl) file is imported into a Scene. Construct an instance, set the desired properties, and pass it to Scene.open() alongside the file path to override the format defaults. Common settings cover which node hierarchies to load, how embedded materials are resolved, and whether animation data is included in the import. When no StlLoadOptions is supplied, Scene.open() applies the STL (.stl) defaults defined by StlFormat.

Properties

NameTypeAccessDescription
flipCoordinateSystembooleanReadAnd scale let developers flip the Y/Z axes and apply a uniform scaling factor when loading STL files
scalenumberReadDefines a uniform scaling factor applied to the imported STL geometry

Methods

SignatureDescription
constructor()

See Also