Converti USD in STL tramite C#
Esporta file USD e altri 3D utilizzando .NET Framework, .NET Core e Mono
Esporta USD scena come STL con C#
- Carica il file USD utilizzando un costruttore di Scena classe2. Chiama Scene.Salva metodo
- Passare il nome del file di output con estensione .stl come primo parametro
- Specificare il valore del campo
STLASCII
da Formato del file classe
3D Conversione formato API for .NET
Installa dalla riga di comando come nuget install Aspose.3d
o tramite Package Manager Console di Visual Studio con Install-Package Aspose.3D
.
In alternativa, ottieni il programma di installazione MSI offline o le DLL in un file ZIP da download .
C# Codice per la conversione da USD a STL
// carica USD in un oggetto di Scene
var scene = new Aspose.ThreeD.Scene("template.usd");
// salva USD come STL
scene.Save("output.stl", Aspose.ThreeD.FileFormat.STLASCII);
Other Conversion Options
USD What is USD File Format?
A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation.
Read MoreSTL What is STL File Format?
STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. It represents a surface as a series of small triangles, known as facets, where each facet is described by a perpendicular direction and three points representing the vertices of the triangle. Resultant data is used by applications to determine the cross section of the 3D shape to be built by the fabber. There is no information available in the STL file format for representation of colour, texture or other common CAD model attributes.
Read More