Aspose.3D 17.11.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.3D -Version 17.11.0
dotnet add package Aspose.3D --version 17.11.0
<PackageReference Include="Aspose.3D" Version="17.11.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.3D --version 17.11.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.11.

                   
   
Other Improvements and Changes
Key Summary Category

THREEDNET-303 Add support of importing RVM-binary (AVEVA PDMS)
New feature


THREEDNET-305 Add support of merging meshes New feature

THREEDNET-306 FBX to GLTF - incorrect material opacity in GLTF 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 RvmText and RvmBinary members to Aspose.ThreeD.FileFormat class
C#

/// <summary>
/// AVEVA Plant Design Management System Model in text format
/// </summary>
public static readonly FileFormat RvmText;
/// <summary>
/// AVEVA Plant Design Management System Model in binary format
/// </summary>
public static readonly FileFormat RvmBinary;


Auto format detection is supported for PDMS RVM file, so developers can import it directly with the constructor of Scene class without explicitly specifying the FileFormat.
C#

Scene scene = new Scene("stablizer.rvm");

   
                           
               
                           
The primitives in RVM files will be converted to meshes during the import.

                   
   
Adds Aspose.ThreeD.Formats.RvmLoadOptions class

The properties CylinderRadialSegments, DishLongitudeSegments, DishLatitudeSegments and TorusTubularSegments are used to control the way of converting the primitives defined in Rvm files into meshes. Details can be found in classes Aspose.ThreeD.Entities.Cylinder and Aspose.ThreeD.Entities.Torus 
C#

/// <summary>
/// Load options for AVEVA Plant Design Management System&#39;s RVM file.
/// </summary>
public class RvmLoadOptions : LoadOptions
{
   /// <summary>
   /// The RVM file contains no material information, but the Aspose.3D can generate materials for each objects.
   /// Default value is true
   /// </summary>
   public bool GenerateMaterials { get; set; }

   /// <summary>
   /// Gets or sets the number of cylinder&#39;s radial segments, default value is 16
   /// </summary>
   public int CylinderRadialSegments { get; set; }

   /// <summary>
   /// Gets or sets the number of dish&#39;s longitude segments, default value is 12
   /// </summary>
   public int DishLongitudeSegments { get; set; }
   /// <summary>
   /// Gets or sets the number of dish&#39;s latitude segments, default value is 8
   /// </summary>
   public int DishLatitudeSegments { get; set; }

   /// <summary>
   /// Gets or sets the number of torus&#39;s tubular segments, default value is 20
   /// </summary>
   public int TorusTubularSegments { get; set; }

   /// <summary>
   /// Construct a <see cref="RvmLoadOptions"/> instance
   /// </summary>
   /// <param name="contentType"></param>
   public RvmLoadOptions(FileContentType contentType);

   /// <summary>
   /// Construct a <see cref="RvmLoadOptions"/> instance
   /// </summary>
   public RvmLoadOptions();
}


Sample code:
C#

Scene scene = new Scene();
var opt = new RvmLoadOptions()
{
   CylinderRadialSegments = 32,
   DishLatitudeSegments = 16,
   DishLongitudeSegments = 24,
   TorusTubularSegments = 40
};
scene.Open("LAD-TOP.rvm", opt);
scene.Save("LAD-TOP.obj", FileFormat.WavefrontOBJ);


3 members are added into Aspose.ThreeD.Entities.PolygonModifier class

The properties CylinderRadialSegments, DishLongitudeSegments, DishLatitudeSegments and TorusTubularSegments are used to control the way of converting the primitives defined in Rvm files into meshes. Details can be found in classes Aspose.ThreeD.Entities.Cylinder and Aspose.ThreeD.Entities.Torus 
C#

/// <summary>
/// Convert a whole node to a single transformed mesh
/// Vertex elements like normal/texture coordinates are not supported yet
/// </summary>
/// <param name="node">The node to merge</param>
/// <returns>Merged mesh</returns>
public static Mesh MergeMesh(Node node)
/// <summary>
/// Convert a whole scene to a single transformed mesh
/// Vertex elements like normal/texture coordinates are not supported yet
/// </summary>
/// <param name="scene">The scene to merge</param>
/// <returns>The merged mesh</returns>
public static Mesh MergeMesh(Scene scene);

/// <summary>
/// Convert a whole node to a single transformed mesh
/// Vertex elements like normal/texture coordinates are not supported yet
/// </summary>
/// <param name="nodes">The nodes to merge</param>
/// <returns>Merged mesh</returns>
public static Mesh MergeMesh(IList<Node> nodes);


Sample code:
C#

Scene scene = new Scene("LAD-TOP.rvm");
Mesh mesh = PolygonModifier.MergeMesh(scene);
FileFormat.PLY.EncodeMesh(mesh, "LAD-TOP.ply");


Transparency member is added to Aspose.ThreeD.Shading.PbrMaterial class

Only GLTF 2.0 supports PBR material, so this improvement only affects the GLTF 2.0 export.
C#

/// <summary>
///  Gets or sets the transparency factor.
/// The factor should be ranged between 0(0%, fully opaque) and 1(100%, fully transparent)
/// Any invalid factor value will be clampped.
/// </summary>
/// <value>The transparency factor.</value>
public double Transparency { get; set; }


Sample code:
C#

Scene scene = new Scene();
scene.RootNode.CreateChildNode("box", new Box()).Material = new PbrMaterial() {Transparency = 0.5, Albedo = new Vector3(Color.AliceBlue)};
scene.Save("box.gltf", FileFormat.GLTF2);



   
       

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

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.12.2 60 12/10/2019
19.12.0 27 12/9/2019
19.11.0 397 11/5/2019
19.10.0 240 10/9/2019
19.9.0 414 9/9/2019
19.8.0 328 8/2/2019
19.7.0 488 7/8/2019
19.6.0 693 6/5/2019
19.5.0 509 5/12/2019
19.4.0 264 4/4/2019
19.3.0 458 3/8/2019
19.2.0 758 2/2/2019
19.1.0 263 1/9/2019
18.12.0 309 12/6/2018
18.11.0 491 11/6/2018
18.10.0 275 10/9/2018
18.9.0 781 9/6/2018
18.8.0 287 8/8/2018
18.7.0 646 7/11/2018
18.6.0 386 6/11/2018
18.5.0 683 5/10/2018
18.4.0 514 4/16/2018
18.3.0 395 3/14/2018
18.2.0 396 2/8/2018
18.1.0 575 1/8/2018
17.12.0 338 12/8/2017
17.11.0 733 11/6/2017
17.10.0 302 10/10/2017
17.9.0 421 9/7/2017
17.8.0 342 8/8/2017
17.7.0 353 7/17/2017
17.6.0 1,015 6/5/2017
17.5.0 597 5/8/2017
17.4.0 440 4/5/2017
17.3.0 432 3/6/2017
17.2.0 406 2/15/2017
17.1.0 459 1/5/2017
16.12.0 652 12/4/2016
16.11.0 427 11/1/2016
16.9.0 373 9/29/2016
2.1.0 371 8/30/2016
2.0.0 387 8/2/2016
1.7.0 411 6/29/2016
1.6.1 605 5/26/2016
1.5.0 402 4/27/2016
1.4.0 444 4/1/2016
1.3.0 507 2/23/2016
1.2.0 540 12/18/2015
1.1.0 478 11/27/2015
1.0.0 502 10/26/2015
Show less