Browse our Products

Aspose.3D for Python via .NET 22.6 Release Notes

Improvements and Changes

KeySummaryCategory
THREEDNET-1152Allow save 3D scene without specify the file formatNew Feature
THREEDNET-1157SdfValueBlock is not supported in USDZ importImprovement
THREEDNET-1156GLF Exception: Failed to import glTF, byteOffset is not defined in accessorBug fix
THREEDNET-1154Aspose.ThreeD.ExportException: Spec duplicated while DAE to USDZ conversionBug fix
THREEDNET-1153Exception occurs while saving USDZ to GLTFBug fix

API changes

Added new method to class aspose.threed.FileFormat

    
    # Gets the preferred file format from the file extension name
    # The extension name should starts with a dot('.').
    def get_format_by_extension(extensionName)

You can get a FileFormat instance by extension name, example code:

scene = Scene(Box())
format = FileFormat.get_format_by_extension(".fbx")
# save the scene to memory stream using FileFormat returned by GetFormatByExtension
stream = BytesIO()
scene.save(stream, format)

Added new method to class aspose.threed.Scene

    # Saves the scene to specified path using specified file format.
    def save(fileName)

The new method allows you to save the scene to a 3D file without providing a file format.

Example code:

scene = Scene.from_file("Input.fbx")
scene.save("Output.usdz)


 
 English