Aspose.3D for .NET 24.8 (DLLs) brings vital enhancements that elevate 3D file manipulation across platforms. This version adds utility functions for axis system transformation, improved JT 9.5 metadata handling, and crucial bug fixes.
New methods in this version of the .NET API for 3D files allow transformations between different axis systems which enhances flexibility in handling complex 3D data.
Code example:
Scene scene = Scene.FromFile("test.fbx");
//Create a new axis sytem with up vector to +Y axis and front to +X axis.
var target = new AxisSystem(CoordinateSystem.LeftHanded, Axis.YAxis, Axis.XAxis);
//Create a transform matrix from scene's current axis sytem to our custom axis sytem
var transform = AxisSystem.FromAssetInfo(scene.AssetInfo).TransformTo(target);
//Apply the transform to all geometries in the scene.
PolygonModifier.ApplyTransform(scene.RootNode, transform);
Source*
We have improved support for JT format with added metadata and PMI handling in Aspose.3D for .NET 24.8. This update allows developers to take their cross-platform 3D file manipulation solutions to the next level.
Code example:
var opt = new JtLoadOptions();
opt.LoadProperties = true;
var s = Scene.FromFile("test.jt", opt);
foreach (var prop in s.RootNode.ChildNodes[0].Properties)
{
Console.WriteLine($"{prop.Name} = {prop.Value}");
}
Source*
XZ Stream Implementation
The latest release of the C# library offers full support for XZ streams, enabling more efficient data handling in large-scale 3D projects on Windows, Linux, and macOS.
Refined PolygonModifier
You can now apply transformation matrices effortlessly to all control points in geometries using version 24.8 of Aspose.3D for .NET.
Code example:
Scene scene = Scene.FromFile("test.fbx");
//Create a new axis sytem with up vector to +Y axis and front to +X axis.
var target = new AxisSystem(CoordinateSystem.LeftHanded, Axis.YAxis, Axis.XAxis);
//Create a transform matrix from scene's current axis sytem to our custom axis sytem
var transform = AxisSystem.FromAssetInfo(scene.AssetInfo).TransformTo(target);
//Apply the transform to all geometries in the scene.
PolygonModifier.ApplyTransform(scene.RootNode, transform);
Source*
Bug Fixes
- Fixed the issue with the “cannot open this file” error for 3MF files.
- Corrected rotation problem in GLB models.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.3D for .NET 24.8 Release Notes.