StlPlugin

Overview

StlPlugin registers STL (.stl) I/O support in the Aspose.3D for TypeScript runtime. It wires together the format detector, importer, and exporter components for the STL (.stl) format so that Scene.open() and Scene.save() can transparently read and write .stl files without any explicit format configuration by the caller. Plugins are initialised automatically when the @aspose-3d/api package is loaded at application startup; you do not need to instantiate or register them directly in your own code.

Description

StlPlugin is a class in the Aspose.3D FOSS library for TypeScript that exposes 7 methods and 0 properties for programmatic use. It extends Plugin, inheriting shared functionality from its parent type.

Instances are created through a single constructor that initializes the object with default values.

Methods

SignatureDescription
constructor()
getInstance()StlPlugin
getFileFormat()StlFormat, getImporter(), getExporter(), and getFormatDetector()` provide access to the STL format, its importer, exporter, and format detector respectively
getImporter()StlImporterReturns an StlImporter used to read STL files
getExporter()StlExporterReturns an StlExporter used to write STL files
getFormatDetector()StlFormatDetectorReturns an StlFormatDetector that can identify STL files
createLoadOptions()StlLoadOptionsCreates a default StlLoadOptions object for importing
createSaveOptions()StlSaveOptionsCreates a default StlSaveOptions object for exporting

See Also