Aspose.3D
24.11.1
dotnet add package Aspose.3D --version 24.11.1
NuGet\Install-Package Aspose.3D -Version 24.11.1
<PackageReference Include="Aspose.3D" Version="24.11.1" />
paket add Aspose.3D --version 24.11.1
#r "nuget: Aspose.3D, 24.11.1"
// Install Aspose.3D as a Cake Addin #addin nuget:?package=Aspose.3D&version=24.11.1 // Install Aspose.3D as a Cake Tool #tool nuget:?package=Aspose.3D&version=24.11.1
.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.11.1 | 102 | 12/19/2024 |
24.11.0 | 1,355 | 11/30/2024 |
24.10.0 | 3,295 | 10/30/2024 |
24.9.0 | 3,206 | 9/29/2024 |
24.8.0 | 2,720 | 8/30/2024 |
24.7.1 | 1,021 | 8/7/2024 |
24.7.0 | 130 | 7/31/2024 |
24.6.0 | 5,725 | 7/1/2024 |
24.5.0 | 6,056 | 5/29/2024 |
24.4.0 | 3,764 | 4/29/2024 |
24.3.0 | 5,528 | 3/26/2024 |
24.2.0 | 4,147 | 2/28/2024 |
24.1.0 | 5,439 | 1/30/2024 |
23.12.0 | 7,927 | 12/28/2023 |
23.11.1 | 1,276 | 12/8/2023 |
23.11.0 | 8,380 | 11/29/2023 |
23.10.0 | 9,306 | 10/30/2023 |
23.9.0 | 8,358 | 9/27/2023 |
23.8.0 | 10,535 | 8/25/2023 |
23.7.0 | 11,161 | 7/26/2023 |
23.6.0 | 10,042 | 6/26/2023 |
23.5.0 | 7,534 | 5/26/2023 |
23.4.0 | 8,758 | 4/13/2023 |
23.3.0 | 8,469 | 3/16/2023 |
23.2.0 | 8,048 | 2/14/2023 |
23.1.0 | 14,518 | 1/18/2023 |
22.12.0 | 11,178 | 12/21/2022 |
22.11.0 | 11,900 | 11/17/2022 |
22.10.0 | 12,629 | 10/14/2022 |
22.9.0 | 8,641 | 9/9/2022 |
22.8.0 | 24,214 | 8/3/2022 |
22.7.0 | 7,579 | 7/8/2022 |
22.6.0 | 12,220 | 6/10/2022 |
22.5.0 | 14,038 | 5/9/2022 |
22.4.0 | 8,302 | 4/13/2022 |
22.3.0 | 20,874 | 3/4/2022 |
22.2.0 | 9,879 | 2/7/2022 |
22.1.0 | 10,813 | 1/5/2022 |
21.12.0 | 2,652 | 12/3/2021 |
21.11.0 | 10,073 | 11/11/2021 |
21.10.0 | 8,076 | 10/9/2021 |
21.9.0 | 14,040 | 9/6/2021 |
21.8.0 | 16,580 | 8/6/2021 |
21.7.0 | 14,478 | 7/5/2021 |
21.6.0 | 4,479 | 6/7/2021 |
21.5.0 | 11,555 | 5/6/2021 |
21.4.0 | 11,943 | 4/2/2021 |
21.3.0 | 8,877 | 3/4/2021 |
21.2.1 | 11,661 | 2/14/2021 |
21.2.0 | 1,820 | 2/7/2021 |
21.1.0 | 3,637 | 1/8/2021 |
20.12.2 | 3,798 | 12/10/2020 |
20.12.0 | 1,741 | 12/5/2020 |
20.11.0 | 8,849 | 11/3/2020 |
20.9.0 | 4,155 | 9/4/2020 |
20.8.0 | 3,271 | 8/11/2020 |
20.7.0 | 3,296 | 7/3/2020 |
20.6.1 | 2,652 | 6/16/2020 |
20.6.0 | 3,381 | 6/8/2020 |
20.5.0 | 10,301 | 5/12/2020 |
20.4.0 | 4,939 | 4/9/2020 |
20.3.0 | 4,290 | 3/3/2020 |
20.2.1 | 3,641 | 2/14/2020 |
20.2.0 | 2,087 | 2/10/2020 |
20.1.0 | 5,094 | 1/2/2020 |
19.12.2 | 3,733 | 12/10/2019 |
19.12.0 | 1,750 | 12/9/2019 |
19.11.0 | 2,311 | 11/5/2019 |
19.10.0 | 46,341 | 10/9/2019 |
19.9.0 | 2,411 | 9/9/2019 |
19.8.0 | 2,234 | 8/2/2019 |
19.7.0 | 2,382 | 7/8/2019 |
19.6.0 | 3,015 | 6/5/2019 |
19.5.0 | 2,662 | 5/12/2019 |
19.4.0 | 2,231 | 4/4/2019 |
19.3.0 | 2,213 | 3/8/2019 |
19.2.0 | 2,904 | 2/2/2019 |
19.1.0 | 2,091 | 1/9/2019 |
18.12.0 | 2,319 | 12/6/2018 |
18.11.0 | 2,366 | 11/6/2018 |
18.10.0 | 2,271 | 10/9/2018 |
18.9.0 | 2,671 | 9/6/2018 |
18.8.0 | 2,245 | 8/8/2018 |
18.7.0 | 2,627 | 7/11/2018 |
18.6.0 | 3,260 | 6/11/2018 |
18.5.0 | 2,680 | 5/10/2018 |
18.4.0 | 2,561 | 4/16/2018 |
18.3.0 | 2,359 | 3/14/2018 |
18.2.0 | 2,417 | 2/8/2018 |
18.1.0 | 2,605 | 1/8/2018 |
17.12.0 | 2,355 | 12/8/2017 |
17.11.0 | 2,818 | 11/6/2017 |
17.10.0 | 2,298 | 10/10/2017 |
17.9.0 | 2,350 | 9/7/2017 |
17.8.0 | 2,277 | 8/8/2017 |
17.7.0 | 2,374 | 7/17/2017 |
17.6.0 | 2,973 | 6/5/2017 |
17.5.0 | 2,557 | 5/8/2017 |
17.4.0 | 2,461 | 4/5/2017 |
17.3.0 | 2,322 | 3/6/2017 |
17.2.0 | 2,356 | 2/15/2017 |
17.1.0 | 2,415 | 1/5/2017 |
16.12.0 | 2,643 | 12/4/2016 |
16.11.0 | 2,509 | 11/1/2016 |
16.9.0 | 2,351 | 9/29/2016 |
2.1.0 | 2,389 | 8/30/2016 |
2.0.0 | 2,514 | 8/2/2016 |
1.7.0 | 2,349 | 6/29/2016 |
1.6.1 | 2,681 | 5/26/2016 |
1.5.0 | 2,463 | 4/27/2016 |
1.4.0 | 2,460 | 4/1/2016 |
1.3.0 | 2,482 | 2/23/2016 |
1.2.0 | 2,489 | 12/18/2015 |
1.1.0 | 2,647 | 11/27/2015 |
1.0.0 | 2,583 | 10/26/2015 |