.NET developers can streamline 3D file handling and manipulation using the newly released Aspose.3D for .NET 24.8 (MSI). This version enhances JT file format support, introduces new internal utilities for axis systems, and addresses critical bugs.
Internal Axis System Utilities
With the latest C# 3D API release, you can access new utilities for manipulating axis systems efficiently within 3D models.
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*
XZ Stream Support
Full support for XZ streams is now available and it enables seamless integration of this functionality into .NET 3D workflows.
Expanded JT file format support in Aspose.3D for .NET 24.8 guarantees better handling of metadata and PMI (Product Manufacturing Information).
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*
GLB Model Rotation Fix
The issues with GLB model rotations have now been resolved to ensure correct rendering in your C# and VB.NET applications across different devices.
Upgraded PolygonModifier
Seamlessly apply transformation matrices to all control points in geometries using the latest method addition to the C# 3D library.
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.