Μετατροπή USD σε DAE μέσω C#

Εξαγωγή USD και άλλων 3D αρχείων χρησιμοποιώντας .NET Framework, .NET Core και Mono

Εξαγωγή σκηνής USD ως DAE με C#

  1. Φόρτωση αρχείου USD χρησιμοποιώντας έναν κατασκευαστή του Σκηνή τάξη2. Καλέστε Σκηνή.Αποθήκευση μέθοδος
  2. Περάστε το όνομα αρχείου εξόδου με την επέκταση .dae ως πρώτη παράμετρο
  3. Καθορίστε την τιμή του πεδίου “Collada” από Μορφή αρχείου τάξη

3D Μετατροπή μορφής API for .NET

Εγκατάσταση από τη γραμμή εντολών ως nuget install Aspose.3d ή μέσω της Κονσόλας Package Manager του Visual Studio με το Install-Package Aspose.3D.

Εναλλακτικά, αποκτήστε το πρόγραμμα εγκατάστασης MSI εκτός σύνδεσης ή τα αρχεία DLL σε ένα αρχείο ZIP από λήψεις .

C# Κωδικός για μετατροπή USD σε DAE

// φορτώστε το USD σε ένα αντικείμενο της σκηνής 
var scene = new Aspose.ThreeD.Scene("template.usd");
// αποθήκευση USD ως DAE 
scene.Save("output.dae", Aspose.ThreeD.FileFormat.Collada);

Other Conversion Options

USD TO FBX (Autodesk FBX Interchange File)
USD TO OBJ (Wavefront 3D Object File)
USD TO DXF (Autodesk Drawing Exchange Format)
USD TO HTML (Hyper Text Markup Language)
USD TO DAE (Digital Asset Exchange File)
USD TO STL (Stereolithography File)
USD TO RVM (AVEVA RVM)
USD TO DRC (Google Draco File Format)

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 More

DAE What is DAE File Format?

A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. This file format is based on the COLLADA (COLLAborative Design Activity) XML schema which is an open standard XML schema for the exchange of digital assets among graphics software applications. It has been adopted by ISO as a publicly available specification, ISO/pAS 17506. DAE files can be opened in applications such as Adobe Photoshop, AutoDesk Maya, AutoDesk AutoCAD, and APIs such as Aspose.CAD.

Read More