แปลง PLY เป็น USDZ ใน C# - ไลบรารีการเรนเดอร์ 3D ของ C#

Recently we published a blog post on how to convert PLY to OBJ in C#. Now, we will implement how to convert PLY to USDZ/USD in C# programmatically. Aspose.3D for .NET is a powerful C# 3D rendering library that offers a wide range of classes and methods to create, manipulate and convert 3D file formats. In addition, this .NET API is easy to set up and provides robust integration capabilities. So, follow this article thoroughly and do not miss any section as there are a few method calls that can make you develop a PLY file converter in a .NET application.

The following points will be covered:

  1. การติดตั้งไลบรารีการเรนเดอร์ 3D ของ C#
  2. แปลง PLY เป็น USDZ ใน C# - ตัวอย่างโค้ด
  3. เครื่องมือแปลงไฟล์ PLY - เครื่องมือออนไลน์

การติดตั้งไลบรารีการเรนเดอร์ 3D ของ C#

It is very easy to install Aspose.3D for .NET as you can install it by simply downloading the DLL file or running the following command into NuGet Package Manager:

Install-Package Aspose.3D 
การติดตั้งไลบรารีการเรนเดอร์ 3D ของ C#

Please follow this installation guide in case you find any difficulty.

แปลง PLY เป็น USDZ ใน C# - ตัวอย่างโค้ด

After a successful installation, we are ready for the implementation phase. For that purpose, please have a source PLY file and follow the following steps:

  • Define the directory path.
  • Create an object of the Scene class.
  • Invoke the Open method to load the Source PLY file.
  • Create an instance of the UsdSaveOptions class.
  • Call the Save method to save the output file in USD file format.

The following code sample demonstrates how to convert DWG to PDF in C# programmatically:

You can see the output in the image below:

แปลง PLY เป็น USDZ ใน C#

เครื่องมือแปลงไฟล์ PLY - เครื่องมือออนไลน์

In addition to this C# rendering library, there is an online tool powered by Aspose.3D for .NET. This online file format converter is used to convert PLY file to USD 3D format. Moreover, you can open this free application on any web browser. So, you can give it a quick try by just clicking the following image:

เครื่องมือแปลงไฟล์ PLY

สร้าง รูปแบบ USDZ/USD 3D - รับใบอนุญาตฟรี

Now, you can avail a free temporary license to try this C# 3D rendering library without evaluation limitations.

สรุป

This blog post covered how to convert PLY to USD/USDZ in C# programmatically. In addition, we implemented the functionality by writing a few lines of source code that converts PLY file to USD 3D format programmatically. Moreover, you can navigate to the documentation, API references and the GitHub repo for further exploration. Lastly, please stay in touch with aspose.com for regular updates.

ถามคำถาม

You can let us know about your questions or queries on our forum.

คำถามที่พบบ่อย – FAQs

ฉันจะเปลี่ยนไฟล์เป็น USDZ ได้อย่างไร?

You can convert popular 3D file formats to USDZ/USD 3D format by opting for Aspose.3D for .NET. Please see this link to learn about the steps and code snippet.

ดูเพิ่มเติม