Преобразование USD в PDF через C#
Экспорт USD и других файлов 3D с помощью .NET Framework, .NET Core и Mono
Экспорт сцены USD как PDF с помощью C#
- Загрузите файл USD с помощью конструктора Сцена класс2. Звонок Сцена.Сохранить метод
- Передайте имя выходного файла с расширением .pdf в качестве первого параметра.
- Укажите значение поля
PDF
из Формат файла класс
3D Преобразование формата API for .NET
Установите из командной строки как nuget install Aspose.3d
или через консоль диспетчера пакетов Visual Studio с Install-Package Aspose.3D
.
Кроме того, можно получить автономный установщик MSI или библиотеки DLL в файле ZIP из загрузки .
Код C# для преобразования USD в PDF
// загрузить USD в объект сцены
var scene = new Aspose.ThreeD.Scene("template.usd");
// сохранить USD как PDF
scene.Save("output.pdf", Aspose.ThreeD.FileFormat.PDF);
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 MorePDF What is PDF File Format?
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. PDF files can be opened in Adobe Acrobat Reader/Writer as well in most modern browsers like Chrome, Safari, Firefox via extensions/plug-ins. Most of the commercially available software suites also offer conversion of their documents to PDF file format without the requirement of any additional software component.
Read More