StlPlugin

Vue d’ensemble

‘StlPlugin’ enregistre STL (.stl) I/O support dans l’Aspose.3D pour TypeScript runtime. Il connecte le détecteur de format, importateur et composants exportateurs pour le format ST L ( .stL) afin que Scene.open() et Scene.open() sans aucune configuration explicite du format par le requérant. Plugins sont initialisés automatiquement lorsque le package ‘@aspose-3d/api` est chargé à la start-up d’application; vous n’avez pas besoin d’instantaner ou de les enregistrer directement dans votre propre code.

Description

‘StlPlugin’ est une classe dans la bibliothèque Aspose.3D FOSS pour TypeScript qui expose 7 méthodes et 0 propriétés pour l’utilisation programmatique.

Les instances sont créées à travers un constructeur unique qui initialisera l’objet avec des valeurs par défaut.

méthodes

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

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français