Aspose.3D 24.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.3D --version 24.9.0                
NuGet\Install-Package Aspose.3D -Version 24.9.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.3D" Version="24.9.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.3D --version 24.9.0                
#r "nuget: Aspose.3D, 24.9.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.3D as a Cake Addin
#addin nuget:?package=Aspose.3D&version=24.9.0

// Install Aspose.3D as a Cake Tool
#tool nuget:?package=Aspose.3D&version=24.9.0                

.NET API for 3D File Formats

Version 24.9.0 NuGet .NET

banner


Docs API Ref Examples Blog Releases Support License


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
PDF 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
});

Docs API Ref Examples Blog Releases Support License


Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.0 58 11/30/2024
24.10.0 2,245 10/30/2024
24.9.0 2,844 9/29/2024
24.8.0 2,545 8/30/2024
24.7.1 1,015 8/7/2024
24.7.0 122 7/31/2024
24.6.0 5,612 7/1/2024
24.5.0 5,831 5/29/2024
24.4.0 3,545 4/29/2024
24.3.0 5,374 3/26/2024
24.2.0 4,028 2/28/2024
24.1.0 5,244 1/30/2024
23.12.0 7,689 12/28/2023
23.11.1 1,274 12/8/2023
23.11.0 8,057 11/29/2023
23.10.0 9,104 10/30/2023
23.9.0 8,183 9/27/2023
23.8.0 10,364 8/25/2023
23.7.0 10,942 7/26/2023
23.6.0 9,858 6/26/2023
23.5.0 7,364 5/26/2023
23.4.0 8,639 4/13/2023
23.3.0 8,376 3/16/2023
23.2.0 7,954 2/14/2023
23.1.0 13,880 1/18/2023
22.12.0 11,091 12/21/2022
22.11.0 11,781 11/17/2022
22.10.0 12,471 10/14/2022
22.9.0 8,544 9/9/2022
22.8.0 24,036 8/3/2022
22.7.0 7,543 7/8/2022
22.6.0 12,077 6/10/2022
22.5.0 13,872 5/9/2022
22.4.0 8,248 4/13/2022
22.3.0 20,421 3/4/2022
22.2.0 9,809 2/7/2022
22.1.0 10,743 1/5/2022
21.12.0 2,650 12/3/2021
21.11.0 9,999 11/11/2021
21.10.0 8,036 10/9/2021
21.9.0 13,988 9/6/2021
21.8.0 16,470 8/6/2021
21.7.0 14,369 7/5/2021
21.6.0 4,477 6/7/2021
21.5.0 11,456 5/6/2021
21.4.0 11,892 4/2/2021
21.3.0 8,794 3/4/2021
21.2.1 11,589 2/14/2021
21.2.0 1,817 2/7/2021
21.1.0 3,633 1/8/2021
20.12.2 3,796 12/10/2020
20.12.0 1,739 12/5/2020
20.11.0 8,800 11/3/2020
20.9.0 4,154 9/4/2020
20.8.0 3,268 8/11/2020
20.7.0 3,291 7/3/2020
20.6.1 2,651 6/16/2020
20.6.0 3,373 6/8/2020
20.5.0 10,299 5/12/2020
20.4.0 4,906 4/9/2020
20.3.0 4,278 3/3/2020
20.2.1 3,619 2/14/2020
20.2.0 2,082 2/10/2020
20.1.0 5,090 1/2/2020
19.12.2 3,716 12/10/2019
19.12.0 1,746 12/9/2019
19.11.0 2,306 11/5/2019
19.10.0 45,077 10/9/2019
19.9.0 2,389 9/9/2019
19.8.0 2,231 8/2/2019
19.7.0 2,377 7/8/2019
19.6.0 2,998 6/5/2019
19.5.0 2,657 5/12/2019
19.4.0 2,218 4/4/2019
19.3.0 2,209 3/8/2019
19.2.0 2,901 2/2/2019
19.1.0 2,087 1/9/2019
18.12.0 2,312 12/6/2018
18.11.0 2,361 11/6/2018
18.10.0 2,262 10/9/2018
18.9.0 2,661 9/6/2018
18.8.0 2,238 8/8/2018
18.7.0 2,620 7/11/2018
18.6.0 3,253 6/11/2018
18.5.0 2,674 5/10/2018
18.4.0 2,555 4/16/2018
18.3.0 2,354 3/14/2018
18.2.0 2,411 2/8/2018
18.1.0 2,597 1/8/2018
17.12.0 2,349 12/8/2017
17.11.0 2,811 11/6/2017
17.10.0 2,290 10/10/2017
17.9.0 2,344 9/7/2017
17.8.0 2,271 8/8/2017
17.7.0 2,368 7/17/2017
17.6.0 2,967 6/5/2017
17.5.0 2,551 5/8/2017
17.4.0 2,455 4/5/2017
17.3.0 2,316 3/6/2017
17.2.0 2,349 2/15/2017
17.1.0 2,410 1/5/2017
16.12.0 2,637 12/4/2016
16.11.0 2,502 11/1/2016
16.9.0 2,346 9/29/2016
2.1.0 2,382 8/30/2016
2.0.0 2,508 8/2/2016
1.7.0 2,342 6/29/2016
1.6.1 2,674 5/26/2016
1.5.0 2,457 4/27/2016
1.4.0 2,454 4/1/2016
1.3.0 2,476 2/23/2016
1.2.0 2,483 12/18/2015
1.1.0 2,640 11/27/2015
1.0.0 2,576 10/26/2015