Aspose.3D
24.10.0
dotnet add package Aspose.3D --version 24.10.0
NuGet\Install-Package Aspose.3D -Version 24.10.0
<PackageReference Include="Aspose.3D" Version="24.10.0" />
paket add Aspose.3D --version 24.10.0
#r "nuget: Aspose.3D, 24.10.0"
// Install Aspose.3D as a Cake Addin #addin nuget:?package=Aspose.3D&version=24.10.0 // Install Aspose.3D as a Cake Tool #tool nuget:?package=Aspose.3D&version=24.10.0
.NET API for 3D File Formats
Aspose.3D for .NET empowers .NET applications to connect with 3D document formats. 3D .NET API lets engineers read, convert, build, alter, and control the substance of the 3D document formats without any 3D modeling and rendering software installed on the machine.
3D File Format Detection
Detect Format Programming Sample
Detect the format of 3D files using the Aspose.3D API, regardless of file extension.
Aspose.3D Document Object Model (DOM)
Scene Structure
Represents the root of the 3D scene hierarchy, serving as a container for all other elements.
Spatial Entities
Manages geometry types, primitive types, extrusion types, and curve types.
Material Types
Define the visual properties of 3D objects, such as color, texture, transparency, and reflection.
Animation Objects Relationship
Control movement and transformations within a scene through animations.
Working with 3D Meshes
Create 3D Mesh and Scene
Programmatically create a 3D mesh and scene using the API.
Generate UV
Generate UV mapping coordinates for meshes.
Triangulation of Simple Polygon
Convert polygons into triangles using the Triangulate method for further processing.
Generate Normal Data for All Meshes in a 3D File
Create normal data for all meshes in 3D models that lack it.
Split Mesh
Divide a mesh into sub-meshes based on materials.
Working with 3D Transformation
Adding Transformation to the Node
Apply transformations such as rotation, translation, and scaling to 3D nodes.
Concatenate Quaternions
Combine multiple rotation transformations into a single quaternion.
Simplify Creation of Transformation Matrix
Use the TransformBuilder class to simplify matrix creation through chain operations.
Working with 3D Meta Data
Add Asset Information to Scene
Add metadata information to the scene using Aspose.3D API.
Manipulate Custom Properties of a 3D Scene
Edit custom properties and metadata of a 3D scene programmatically.
Working with 3D Scene
Scene Graph
Manage the hierarchical structure of 3D objects within a scene.
Expose Geometric Transformation
Evaluate and expose the global geometric transformation of a scene.
Working with Scene Properties
Retrieve and manipulate properties of the 3D scene, such as its child nodes.
Working with 3D Animation
Add Animation Property
Set up keyframe animation for properties, such as position or rotation.
Setup Target Camera in 3D File
Ensure the camera or light source always faces a specified node during animation.
Working with 3D Objects
Merge Meshes in a 3D File
Combine multiple meshes from different nodes or scenes into a single valid mesh.
Create, Load, and Save 3D Scene Programmatically
Create, load, and save 3D scenes in various formats programmatically.
Working with 3D Modeling
Working with Cylinder
Customize various properties of 3D cylinders, such as the offset top or bottom, and create fan cylinders.
Working with Sphere Radius
Programmatically adjust the radius of a 3D sphere.
Working with 3D Rendering
Create Fisheye Lens Effect
Apply a fisheye lens effect to 3D scenes and save the output to supported image formats.
Working with 3D Web Renderer
Web-Based 3D Rendering
Render 3D scenes directly in web environments using the Aspose.3D Web Renderer.
Working with Textures
Apply Advanced Texture Mapping
Handle advanced texture mapping techniques, such as UV mapping, for 3D objects.
Watermark
Add Watermark to 3D Scene
Embed watermarks into 3D scenes using Aspose.3D, ensuring protection of intellectual property.
Supported 3D File Formats
Format | Description | Load | Save | Remarks |
---|---|---|---|---|
3DS | 3D Studio | ✔️ | ✔️ | |
3MF | Microsoft 3D Manufacturing Format | ✔️ | ||
AMF | Additive manufacturing file format | ✔️ | ✔️ | |
ASE | 3D Studio Max’s ASCII Scene Exporter format | ✔️ | ||
RVM | Aveva Plant Design Management System Model | ✔️ | ✔️ | |
DAE | Collada | ✔️ | ✔️ | |
DRC | Google Draco | ✔️ | ✔️ | Including mesh/point cloud support |
DXF | AutoCAD DXF | ✔️ | ||
FBX | Autodesk FBX format. | ✔️ | ✔️ | From 7.2 to 7.5, both ASCII/Binary |
glTF | Khronos Group’s glTF | ✔️ | ✔️ | Including 1.0 ASCII/ Binary, 2.0 ASCII/Binary, 2.0 ASCII/Binary with Draco extension |
OBJ | Wavefront Obj | ✔️ | ✔️ | Including mesh/point cloud support |
3D PDF | ✔️ | ✔️ | Only supports standard U3D embedded 3D content in PDF. PRC and U3D with RH Mesh extension are not supported yet | |
HTML | Hyper-Text Markup Language | ✔️ | ||
MA | Autodesk Maya ASCII format | ✔️ | ||
MB | Autodesk Maya Binary format | ✔️ | ||
PLY | Polygon File Format or Stanford Triangle Format | ✔️ | ✔️ | Including mesh/point cloud support |
JT | Siemens JT File | ✔️ | Only supports version 8 and 9 | |
STL | Standard Triangle Language | ✔️ | ✔️ | |
U3D | Universal3D | ✔️ | ✔️ | |
USD | Universal Scene Description | ✔️ | ✔️ | |
USDZ | Universal Scene Description Archive | ✔️ | ✔️ | |
VRML 1.0 | The Virtual Reality Modeling Language | ✔️ | Only supports 1.0 ASCII | |
X | DirectX’s X file | ✔️ | Including ASCII/Binary |
System Requirements for Aspose.3D for .NET
Overview
Aspose.3D for .NET allows building and manipulating 3D file formats without the need for external modeling or rendering software. The API also includes a document generation engine.
Supported Operating Systems
Windows
Windows 2003 to 2019 Server, XP, Vista, 7, 8, 10, and Azure
macOS
Mac OS X (10.12+)
Linux
Supports various Linux distributions with .NET 4.0 Framework via Mono or .NET Core compatibility.
Rendering Support
OpenGL: Requires OpenGL 4.3 hardware support, compatible with:
- NVIDIA Ge-Force 400 series and newer
- AMD Radeon HD 5000 series and newer
- Intel HD Graphics (Haswell processors and newer)
Vulkan: Supports x64 platform only, with hardware compatibility for:
- AMD Radeon 7700 series and newer
- NVIDIA GeForce 600 series and newer
- Intel Skylake and newer
Development Environments
- Microsoft Visual Studio 2010 - 2019
Supported .NET Framework Versions
- .NET Framework 4.0 and later
- .NET Standard 2.0 (for .NET Core 2.0/2.1)
Development Environments
- Microsoft Visual Studio 2010/2011/2012/2013/2015/2017/2019
Supported .NET Framework Versions
- .NET Framework 4.0 to 4.7.2
- .NET Standard 2.0 (including .NET Core 2.0/2.1)
Get Started
Are you ready to give Aspose.3D for .NET a try? Simply execute Install-Package Aspose.3D
from the Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.3D for .NET and want to upgrade the version, please execute Update-Package Aspose.3D
to get the latest version.
Build a Scene with Primitive 3D Models using C# Code
You can execute the below code snippet to see how Aspose.3D performs in your environment or check the GitHub Repository for other common usage scenarios.
// initialize a Scene object
Scene scene = new Scene();
// create a Box model
scene.RootNode.CreateChildNode("box", new Box());
// create a Cylinder model
scene.RootNode.CreateChildNode("cylinder", new Cylinder());
// save drawing in FBX format
scene.Save(dir + "output.fbx", FileFormat.FBX7500ASCII);
Export 3D Scene to Compressed AMF via C# Code
Aspose.3D for .NET enables you to save 3D meshes in custom binary format, get all property values of 3D scenes as well as flip their coordinate system. The following example demonstrates the conversion of a 3D scene to AMF format while applying compression to it.
// load a scene
Scene scene = new Scene();
var box = new Box();
var tr = scene.RootNode.CreateChildNode(box).Transform;
tr.Scale = new Vector3(12, 12, 12);
tr.Translation = new Vector3(10, 0, 0);
tr = scene.RootNode.CreateChildNode(box).Transform;
// scale transform
tr.Scale = new Vector3(5, 5, 5);
// set Euler angles
tr.EulerAngles = new Vector3(50, 10, 0);
scene.RootNode.CreateChildNode();
scene.RootNode.CreateChildNode().CreateChildNode(box);
scene.RootNode.CreateChildNode().CreateChildNode(box);
// save compressed AMF file
scene.Save(dir + "output.amf", new AMFSaveOptions() {
EnableCompression = true
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Aspose.3D:
Package | Downloads |
---|---|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
nilnul.geometry._stereo_._LIB_
cubic/3dimension geometry |
|
Aspose.3D.Codec.SkiaSharp
This plugin allows you to use SkiaSharp's image codec to encode and decode textures. |
|
Pilz.Simple3DFileParser
Package Description |
|
nilnul._physic_._DLL_
physics fundamentals, including force, mass, gravity, heating, etc |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 986 | 10/30/2024 |
24.9.0 | 2,634 | 9/29/2024 |
24.8.0 | 2,433 | 8/30/2024 |
24.7.1 | 1,008 | 8/7/2024 |
24.7.0 | 117 | 7/31/2024 |
24.6.0 | 5,552 | 7/1/2024 |
24.5.0 | 5,697 | 5/29/2024 |
24.4.0 | 3,446 | 4/29/2024 |
24.3.0 | 5,263 | 3/26/2024 |
24.2.0 | 3,958 | 2/28/2024 |
24.1.0 | 5,003 | 1/30/2024 |
23.12.0 | 7,561 | 12/28/2023 |
23.11.1 | 1,270 | 12/8/2023 |
23.11.0 | 7,815 | 11/29/2023 |
23.10.0 | 8,951 | 10/30/2023 |
23.9.0 | 8,056 | 9/27/2023 |
23.8.0 | 10,240 | 8/25/2023 |
23.7.0 | 10,790 | 7/26/2023 |
23.6.0 | 9,782 | 6/26/2023 |
23.5.0 | 7,211 | 5/26/2023 |
23.4.0 | 8,575 | 4/13/2023 |
23.3.0 | 8,268 | 3/16/2023 |
23.2.0 | 7,888 | 2/14/2023 |
23.1.0 | 13,638 | 1/18/2023 |
22.12.0 | 11,018 | 12/21/2022 |
22.11.0 | 11,600 | 11/17/2022 |
22.10.0 | 12,375 | 10/14/2022 |
22.9.0 | 8,463 | 9/9/2022 |
22.8.0 | 23,682 | 8/3/2022 |
22.7.0 | 7,510 | 7/8/2022 |
22.6.0 | 12,008 | 6/10/2022 |
22.5.0 | 13,735 | 5/9/2022 |
22.4.0 | 8,066 | 4/13/2022 |
22.3.0 | 20,195 | 3/4/2022 |
22.2.0 | 9,757 | 2/7/2022 |
22.1.0 | 10,683 | 1/5/2022 |
21.12.0 | 2,646 | 12/3/2021 |
21.11.0 | 9,923 | 11/11/2021 |
21.10.0 | 7,990 | 10/9/2021 |
21.9.0 | 13,933 | 9/6/2021 |
21.8.0 | 16,383 | 8/6/2021 |
21.7.0 | 14,301 | 7/5/2021 |
21.6.0 | 4,473 | 6/7/2021 |
21.5.0 | 11,410 | 5/6/2021 |
21.4.0 | 11,838 | 4/2/2021 |
21.3.0 | 8,747 | 3/4/2021 |
21.2.1 | 11,529 | 2/14/2021 |
21.2.0 | 1,811 | 2/7/2021 |
21.1.0 | 3,624 | 1/8/2021 |
20.12.2 | 3,792 | 12/10/2020 |
20.12.0 | 1,735 | 12/5/2020 |
20.11.0 | 8,759 | 11/3/2020 |
20.9.0 | 4,148 | 9/4/2020 |
20.8.0 | 3,264 | 8/11/2020 |
20.7.0 | 3,283 | 7/3/2020 |
20.6.1 | 2,647 | 6/16/2020 |
20.6.0 | 3,367 | 6/8/2020 |
20.5.0 | 10,295 | 5/12/2020 |
20.4.0 | 4,884 | 4/9/2020 |
20.3.0 | 4,274 | 3/3/2020 |
20.2.1 | 3,597 | 2/14/2020 |
20.2.0 | 2,076 | 2/10/2020 |
20.1.0 | 5,081 | 1/2/2020 |
19.12.2 | 3,697 | 12/10/2019 |
19.12.0 | 1,742 | 12/9/2019 |
19.11.0 | 2,300 | 11/5/2019 |
19.10.0 | 44,730 | 10/9/2019 |
19.9.0 | 2,385 | 9/9/2019 |
19.8.0 | 2,225 | 8/2/2019 |
19.7.0 | 2,373 | 7/8/2019 |
19.6.0 | 2,968 | 6/5/2019 |
19.5.0 | 2,635 | 5/12/2019 |
19.4.0 | 2,202 | 4/4/2019 |
19.3.0 | 2,205 | 3/8/2019 |
19.2.0 | 2,897 | 2/2/2019 |
19.1.0 | 2,083 | 1/9/2019 |
18.12.0 | 2,308 | 12/6/2018 |
18.11.0 | 2,357 | 11/6/2018 |
18.10.0 | 2,248 | 10/9/2018 |
18.9.0 | 2,657 | 9/6/2018 |
18.8.0 | 2,234 | 8/8/2018 |
18.7.0 | 2,616 | 7/11/2018 |
18.6.0 | 3,249 | 6/11/2018 |
18.5.0 | 2,670 | 5/10/2018 |
18.4.0 | 2,551 | 4/16/2018 |
18.3.0 | 2,350 | 3/14/2018 |
18.2.0 | 2,407 | 2/8/2018 |
18.1.0 | 2,593 | 1/8/2018 |
17.12.0 | 2,345 | 12/8/2017 |
17.11.0 | 2,806 | 11/6/2017 |
17.10.0 | 2,286 | 10/10/2017 |
17.9.0 | 2,340 | 9/7/2017 |
17.8.0 | 2,267 | 8/8/2017 |
17.7.0 | 2,364 | 7/17/2017 |
17.6.0 | 2,961 | 6/5/2017 |
17.5.0 | 2,547 | 5/8/2017 |
17.4.0 | 2,451 | 4/5/2017 |
17.3.0 | 2,312 | 3/6/2017 |
17.2.0 | 2,345 | 2/15/2017 |
17.1.0 | 2,406 | 1/5/2017 |
16.12.0 | 2,633 | 12/4/2016 |
16.11.0 | 2,498 | 11/1/2016 |
16.9.0 | 2,342 | 9/29/2016 |
2.1.0 | 2,378 | 8/30/2016 |
2.0.0 | 2,504 | 8/2/2016 |
1.7.0 | 2,338 | 6/29/2016 |
1.6.1 | 2,670 | 5/26/2016 |
1.5.0 | 2,453 | 4/27/2016 |
1.4.0 | 2,450 | 4/1/2016 |
1.3.0 | 2,472 | 2/23/2016 |
1.2.0 | 2,479 | 12/18/2015 |
1.1.0 | 2,636 | 11/27/2015 |
1.0.0 | 2,566 | 10/26/2015 |