Chuyển đổi USDZ sang PDF qua C#

Xuất các tệp USDZ và 3D khác bằng cách sử dụng .NET Framework, .NET Core và Mono

Xuất USDZ Cảnh dưới dạng PDF với C#

  1. Tải tệp USDZ bằng cách sử dụng hàm tạo của Bối cảnh lớp2. Gọi Scene.Save phương pháp
  2. Chuyển tên tệp đầu ra có phần mở rộng .pdf làm tham số đầu tiên
  3. Chỉ định giá trị trường PDF từ FileFormat lớp

3D Chuyển đổi Định dạng API for .NET

Cài đặt từ dòng lệnh dưới dạng nuget install Aspose.3d '' 'hoặc qua Bảng điều khiển Trình quản lý Gói của Visual Studio với Gói cài đặt Aspose.3D’ ‘.

Ngoài ra, tải trình cài đặt MSI ngoại tuyến hoặc DLL trong tệp ZIP từ tải xuống .

C# Mã cho Chuyển đổi USDZ sang PDF

// tải USDZ trong một đối tượng của Scene 
var scene = new Aspose.ThreeD.Scene("template.usdz");
// lưu USDZ dưới dạng PDF 
scene.Save("output.pdf", Aspose.ThreeD.FileFormat.PDF);

Other Conversion Options

USDZ TO 3MF (3D Manufacturing File)
USDZ TO DRC (Google Draco File Format)
USDZ TO DXF (Autodesk Drawing Exchange Format)
USDZ TO JT (JT Open CAD File)
USDZ TO PLY (Polygon File Format)
USDZ TO GLTF (GL Transmission Format File)
USDZ TO FBX (Autodesk FBX Interchange File)
USDZ TO ASE (Adobe Swatch Exchange File)

USDZ What is USDZ File Format?

A file with .usdz is an uncompressed and unencrypetd ZIP archive for the USD (Universal Scene Description) file format that contains and proxies for files of other formats (such as textures, and animations) embedded within the archive and runs them directly with the USD run-time without any need of unpacking. USDZ files are packages whose design is based on the new Ar-level abstraction of a package. Usdz was registered with IANA and has media type name of model and a subtype name of vnd.usd+zip and its details can be found as on IANA registration page.

Read More

PDF 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