Aspose.3D 18.1.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 18.1.0
dotnet add package Aspose.3D --version 18.1.0
paket add Aspose.3D --version 18.1.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 18.1.

                   
   
Other Improvements and Changes
Key Summary Category

THREEDNET-331 Add new entity - Rectangular torus support
New feature


THREEDNET-323 Import an ASE document New feature

THREEDNET-327 Invalid transform for RVM file with multiple primitives under same node. Bug

THREEDNET-325 RVM file with sloped cylinder is not supported. Bug

THREEDNET-324 Cannot import an RVM file Bug

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 ASE member to Aspose.ThreeD.FileFormat class

This is used to identify the input format of the file while loading a scene from stream or file name.
C#

public static readonly Aspose.ThreeD.FileFormat ASE;

   
                           
               
                           
Aspose.3D can auto detect if a file's type is ASE or other formats, this is usually not needed when you call Scene.Open method.

                   
   
Sample code

Scene scene = new Scene();
scene.Open("test.ase", FileFormat.ASE);


Adds CenterScene property to Aspose.ThreeD.A3DObject class

The default value is false, if this is true, then Aspose.3D API will try to center the scene by moving the root node.
C#

Scene scene = new Scene();
scene.Open("test.rvm", new RvmLoadOptions() {CenterScene = true});


Adds a new class Aspose.ThreeD.Entities.RectangularTorus

It allow user to place a parameterized rectangular torus into the scene, this can be converted to ordinal mesh/triangle mesh during saving the scene into different supported file formats.
C#

/// <summary>
/// Parameterized rectangular torus.
/// </summary>
public class RectangularTorus : Primitive
{
   /// <summary>
   /// The inner radius of the rectangular torus
   /// Default value is 17
   /// </summary>
   public double InnerRadius { get; set; }
   /// <summary>
   /// The outer radius of the rectangular torus
   /// Default value is 20
   /// </summary>
   public double OuterRadius { get; set; }
   /// <summary>
   /// The height of the rectangular torus.
   /// Default value is 20
   /// </summary>
   public double Height { get; set; }
   /// <summary>
   /// The total angle of the arc, measured in radian.
   /// Default value is PI
   /// </summary>
   public double Arc { get; set; }
   /// <summary>
   /// The start angle of the arc, measured in radian.
   /// Default value is 0
   /// </summary>
   public double AngleStart { get; set; }
   /// <summary>
   /// The radial segments, default value is 10
   /// </summary>
   public int RadialSegments { get; set; }
   /// <summary>
   /// Constructor of <see cref="RectangularTorus"/>
   /// </summary>
   public RectangularTorus();
   /// <summary>
   /// Constructor of <see cref="RectangularTorus"/>
   /// </summary>
   public RectangularTorus(string name);
   /// <summary>
   /// Convert this primitive to <see cref="Mesh"/>
   /// </summary>
   /// <returns></returns>
   public Mesh ToMesh();
}


Sample code:
C#

RectangularTorus rt = new RectangularTorus();
rt.InnerRadius = 17;
rt.OuterRadius = 22;
rt.Height = 30;
rt.Arc = Math.PI * 0.5;
Scene scene = new Scene();
scene.RootNode.CreateChildNode(rt);
scene.Save("rtorus.obj", FileFormat.WavefrontOBJ);


The generated rtorus.obj looks like:



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+18.1+-+December+2018

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
18.1.0 (current version) 82 1/8/2018
17.12.0 98 12/8/2017
17.11.0 129 11/6/2017
17.10.0 101 10/10/2017
17.9.0 182 9/7/2017
17.8.0 117 8/8/2017
17.7.0 125 7/17/2017
17.6.0 772 6/5/2017
17.5.0 147 5/8/2017
17.4.0 181 4/5/2017
17.3.0 171 3/6/2017
17.2.0 147 2/15/2017
17.1.0 215 1/5/2017
16.12.0 172 12/4/2016
16.11.0 198 11/1/2016
16.9.0 166 9/29/2016
2.1.0 145 8/30/2016
2.0.0 157 8/2/2016
1.7.0 167 6/29/2016
1.6.1 330 5/26/2016
1.5.0 166 4/27/2016
1.4.0 196 4/1/2016
1.3.0 196 2/23/2016
1.2.0 277 12/18/2015
1.1.0 184 11/27/2015
1.0.0 216 10/26/2015