Aspose.3D 24.10.0

dotnet add package Aspose.3D --version 24.10.0                
NuGet\Install-Package Aspose.3D -Version 24.10.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.10.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.3D --version 24.10.0                
#r "nuget: Aspose.3D, 24.10.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.10.0

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

.NET API for 3D File Formats

Version 24.10.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.10.0 1,649 10/30/2024
24.9.0 2,761 9/29/2024
24.8.0 2,473 8/30/2024
24.7.1 1,012 8/7/2024
24.7.0 120 7/31/2024
24.6.0 5,593 7/1/2024
24.5.0 5,771 5/29/2024
24.4.0 3,493 4/29/2024
24.3.0 5,318 3/26/2024
24.2.0 3,988 2/28/2024
24.1.0 5,130 1/30/2024
23.12.0 7,623 12/28/2023
23.11.1 1,272 12/8/2023
23.11.0 7,942 11/29/2023
23.10.0 9,050 10/30/2023
23.9.0 8,125 9/27/2023
23.8.0 10,300 8/25/2023
23.7.0 10,860 7/26/2023
23.6.0 9,816 6/26/2023
23.5.0 7,297 5/26/2023
23.4.0 8,607 4/13/2023
23.3.0 8,338 3/16/2023
23.2.0 7,912 2/14/2023
23.1.0 13,758 1/18/2023
22.12.0 11,054 12/21/2022
22.11.0 11,724 11/17/2022
22.10.0 12,394 10/14/2022
22.9.0 8,503 9/9/2022
22.8.0 23,828 8/3/2022
22.7.0 7,520 7/8/2022
22.6.0 12,037 6/10/2022
22.5.0 13,790 5/9/2022
22.4.0 8,162 4/13/2022
22.3.0 20,332 3/4/2022
22.2.0 9,792 2/7/2022
22.1.0 10,720 1/5/2022
21.12.0 2,648 12/3/2021
21.11.0 9,980 11/11/2021
21.10.0 8,007 10/9/2021
21.9.0 13,971 9/6/2021
21.8.0 16,434 8/6/2021
21.7.0 14,341 7/5/2021
21.6.0 4,475 6/7/2021
21.5.0 11,434 5/6/2021
21.4.0 11,866 4/2/2021
21.3.0 8,782 3/4/2021
21.2.1 11,562 2/14/2021
21.2.0 1,813 2/7/2021
21.1.0 3,629 1/8/2021
20.12.2 3,794 12/10/2020
20.12.0 1,737 12/5/2020
20.11.0 8,780 11/3/2020
20.9.0 4,150 9/4/2020
20.8.0 3,266 8/11/2020
20.7.0 3,287 7/3/2020
20.6.1 2,649 6/16/2020
20.6.0 3,371 6/8/2020
20.5.0 10,297 5/12/2020
20.4.0 4,892 4/9/2020
20.3.0 4,276 3/3/2020
20.2.1 3,617 2/14/2020
20.2.0 2,078 2/10/2020
20.1.0 5,087 1/2/2020
19.12.2 3,705 12/10/2019
19.12.0 1,744 12/9/2019
19.11.0 2,304 11/5/2019
19.10.0 44,918 10/9/2019
19.9.0 2,387 9/9/2019
19.8.0 2,227 8/2/2019
19.7.0 2,375 7/8/2019
19.6.0 2,984 6/5/2019
19.5.0 2,655 5/12/2019
19.4.0 2,211 4/4/2019
19.3.0 2,207 3/8/2019
19.2.0 2,899 2/2/2019
19.1.0 2,085 1/9/2019
18.12.0 2,310 12/6/2018
18.11.0 2,359 11/6/2018
18.10.0 2,252 10/9/2018
18.9.0 2,659 9/6/2018
18.8.0 2,236 8/8/2018
18.7.0 2,618 7/11/2018
18.6.0 3,251 6/11/2018
18.5.0 2,672 5/10/2018
18.4.0 2,553 4/16/2018
18.3.0 2,352 3/14/2018
18.2.0 2,409 2/8/2018
18.1.0 2,595 1/8/2018
17.12.0 2,347 12/8/2017
17.11.0 2,808 11/6/2017
17.10.0 2,288 10/10/2017
17.9.0 2,342 9/7/2017
17.8.0 2,269 8/8/2017
17.7.0 2,366 7/17/2017
17.6.0 2,965 6/5/2017
17.5.0 2,549 5/8/2017
17.4.0 2,453 4/5/2017
17.3.0 2,314 3/6/2017
17.2.0 2,347 2/15/2017
17.1.0 2,408 1/5/2017
16.12.0 2,635 12/4/2016
16.11.0 2,500 11/1/2016
16.9.0 2,344 9/29/2016
2.1.0 2,380 8/30/2016
2.0.0 2,506 8/2/2016
1.7.0 2,340 6/29/2016
1.6.1 2,672 5/26/2016
1.5.0 2,455 4/27/2016
1.4.0 2,452 4/1/2016
1.3.0 2,474 2/23/2016
1.2.0 2,481 12/18/2015
1.1.0 2,638 11/27/2015
1.0.0 2,572 10/26/2015