Aspose.3D 17.12.0

Aspose.3D for .NET

Aspose.3D is a class library for working with 3D files. It allows developers to create/manipulate/render 3D scene and work with FBX,STL,OBJ,3DS,U3D,DAE,PDF,DRC,GLTF files. It allows you to open files and manipulate the elements in the 3D scene, from line,mesh,nurbs curve, to more complex elements animation, and then export to FBX ASCII, FBX binary, STL ASCII, STL binary, Collada, Wavefront .obj, 3DS, PDF formats, glTF, glTF2, Google Draco.

Install-Package Aspose.3D -Version 17.12.0
dotnet add package Aspose.3D --version 17.12.0
paket add Aspose.3D --version 17.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This page contains release notes for Aspose.3D for .NET 17.12.

                   
   
Other Improvements and Changes
Key Summary Category

THREEDNET-304 Add support of exporting RVM (AVEVA PDMS)
New feature


THREEDNET-312 Add shorthand way to scale geometries Improvement

THREEDNET-314 Add support of exporting custom property/ID to nodes in GLTF format Improvement

Public API and Backwards Incompatible Changes
See the list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.3D for .NET. If you have concerns about any change listed, please raise it on the Aspose.3D support forum.
Adds SaveExtras property to Aspose.ThreeD.Formats.GLTFSaveOptions class

The default value of SaveExtras property is false, if you want Aspose.3D for .NET API to export customized properties of the object, you can assign it to true.
C#

public bool SaveExtras{ get;set;}

   
                           
               
                           
The customized properties will be saved into an 'extra' field due to the glTF's specification. A code example is narrated below.

                   
   
Adds three members to Aspose.ThreeD.A3DObject class

RemoveProperty, GetProperty, SetProperty are a set of short-handed methods to manipulate customized properties of the object. The old methods like FindProperty and CreateDynamicProperty are too verbose, and planned to be removed in the future. The customized properties are supported by FBX/glTF (All versions).
C#

public bool RemoveProperty(string property)
public object GetProperty(string property)
public void SetProperty(string property, object value)


Sample code:
C#

Scene scene = new Scene();
var box = scene.RootNode.CreateChildNode("box", new Box());
box.SetProperty("obj-id", "box-id");
scene.Save("test.fbx", FileFormat.FBX7400ASCII);
scene.Save("test.gltf", new GLTFSaveOptions(FileFormat.GLTF){SaveExtras = true});
scene.Save("test-2.gltf", new GLTFSaveOptions(FileFormat.GLTF2){SaveExtras = true});


This sample code will save the scene with the customized properties into FBX, glTF and glTF 2.0.

Adds two members to Aspose.ThreeD.Entities.PolygonModifier class

These members are handy, if developers do not want to change the node's transform but want to scale the geometries and only applicable to geometries.
C#

public static void Scale(Aspose.ThreeD.Scene scene, Aspose.ThreeD.Utilities.Vector3 scale)
public static void Scale(Aspose.ThreeD.Node node, Aspose.ThreeD.Utilities.Vector3 scale)


Sample code:
C#

// scale the model in huge-scene.obj by 0.01 and save it to another file:
Scene scene = new Scene("huge-scene.obj");
PolygonModifier.Scale(scene, new Vector3(0.01));
scene.Save("scaled-scene.obj", FileFormat.WavefrontOBJ);


Adds FindNode method to Aspose.ThreeD.Node class

This is a handy method to find a child node by the name, it will return null if could not find a node.
C#

Scene scene = new Scene();
scene.RootNode.CreateChildNode("child", new Box());
Node child = scene.RootNode.FindNode("child");


Usage Examples
Please check the list of help topics added or updated in the Aspose.3D Wiki docs:

   
       

       
https://docs.aspose.com/display/3dnet/Aspose.3D+for+.NET+17.12+-+December+2017

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
17.12.0 (current version) 31 12/8/2017
17.11.0 101 11/6/2017
17.10.0 88 10/10/2017
17.9.0 151 9/7/2017
17.8.0 108 8/8/2017
17.7.0 115 7/17/2017
17.6.0 705 6/5/2017
17.5.0 139 5/8/2017
17.4.0 163 4/5/2017
17.3.0 161 3/6/2017
17.2.0 135 2/15/2017
17.1.0 206 1/5/2017
16.12.0 164 12/4/2016
16.11.0 189 11/1/2016
16.9.0 157 9/29/2016
2.1.0 138 8/30/2016
2.0.0 148 8/2/2016
1.7.0 156 6/29/2016
1.6.1 322 5/26/2016
1.5.0 158 4/27/2016
1.4.0 187 4/1/2016
1.3.0 189 2/23/2016
1.2.0 270 12/18/2015
1.1.0 176 11/27/2015
1.0.0 209 10/26/2015