Aspose.3D for .NET 22.1 Release Notes

Improvements and Changes

THREEDNET-1017Restored the support of netstandard2.0Task
THREEDNET-1016Failed to open usdz files to convert to glbBug fix
THREEDNET-1018Odd FBX issue causing Mesh to disappearBug fix
THREEDNET-1020Add primitive entities encoding support in USD exporterNew feature
THREEDNET-1021Add primitive entities decoding support in USD exporterNew feature
THREEDNET-1023String handling was incorrect in USD importer/exporterBug fix
THREEDNET-1022USD file with customData cannot be openedBug fix
THREEDNET-1040Multiple objects with manually assigned object id may cause export to FBX failedBug fix

API changes

In the 22.1 we’ve fixed some bugs in FBX and USD, and added primitive export/export to USD.

USD only support a few primitives like Sphere, Cube, Cylinder, we export other primitives through USD’s customData, then USD scenes converted from CAD files like RVM can have much smaller file size.

And in 22.1 the web renderer can support USDZ file directly without converting to A3DW format now.

Added class Aspose.ThreeD.Formats.UsdSaveOptions

UsdSaveOptions allow you to specify how to treat the primitives during the export, convert it to mesh for best compatibility or save them as parameterized geometries for smallest file size, our web renderer supports the parameterized geometries exported by Aspose.3D USDZ exporter, it’s a best option for you to present 3D content using our web renderer.

        var scene = new Scene();
        scene.RootNode.CreateChildNode(new Cylinder());
        var opt = new UsdSaveOptions(FileFormat.USDZ);
        //default value is true for back compatibility, set it to false so we can generate smaller usdz file.
        opt.PrimitiveToMesh = false;
        scene.Save("test.usdz", opt);