StlPlugin

Panoramica

StlPlugin registra il supporto I/O STL (.stl) nel Aspose.3D per il runtime TypeScript. Collega insieme il rilevatore di formato, l’importatore e l’esportatore per il formato STL (.stl) in modo che Scene.open() e Scene.save() possano leggere e scrivere file .stl in modo trasparente senza alcuna configurazione esplicita del formato da parte del chiamante. I plugin vengono inizializzati automaticamente quando il pacchetto @aspose-3d/api viene caricato all’avvio dell’applicazione; non è necessario istanziarli o registrarli direttamente nel proprio codice.

Descrizione

StlPlugin è una classe nella libreria FOSS Aspose.3D per TypeScript che espone 7 metodi e 0 proprietà per l’uso programmatico. Estende Plugin, ereditando la funzionalità condivisa dal suo tipo genitore.

Le istanze vengono create tramite un unico costruttore che inizializza l’oggetto con valori predefiniti.

Metodi

FirmaDescrizione
constructor()
getInstance() → StlPlugin
getFileFormat() → StlFormat, getImporter(), getExporter(), and getFormatDetector()` forniscono l’accesso al formato STL, al suo importatore, esportatore e rilevatore di formato rispettivamente
getImporter() → StlImporterRestituisce un StlImporter utilizzato per leggere i file STL
getExporter() → StlExporterRestituisce un StlExporter utilizzato per scrivere i file STL
getFormatDetector() → StlFormatDetectorRestituisce un StlFormatDetector che può identificare i file STL
createLoadOptions() → StlLoadOptionsCrea un oggetto StlLoadOptions predefinito per l’importazione
createSaveOptions() → StlSaveOptionsCrea un oggetto StlSaveOptions predefinito per l’esportazione

Vedi anche

 Italiano