Ürünlerimize göz atın

Python via .NET 22.6 Release Notes için Aspose.3D

Improvements ve Changes

KeySummaryCategory
THREEDNET-1152Dosya formatını belirtmeden Allow 3D sahnesini kaydetEw ew Feature
THREEDNET-1157SdfValuelock lock USDZ ithalatında desteklenmiyorVement mprovement
THREEDNET-1156GLF Exception: FglTF ithal etmek için ailed, byteOffset accessor tanımlanmamıştırBug düzeltme
THREEDNET-1154Aspose.ThreeD.ExportException: Spec DAE-USDZ dönüşümü arasında çoğaltıldıBug düzeltme
THREEDNET-1153Exception USDZ ila GLTF tasarruf ederken oluşurBug düzeltme

API değişiklikleri

A07yeni yöntem aspose.threed.FileFormat sınıfına

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

Ou ou uzatma adı, örnek kod ile bir Fileiormat örneği alabilir:

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)

A07yeni yöntem aspose.threed.Scene sınıfına

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

The yeni yöntem, bir dosya formatı sağlamadan sahneyi 3D dosyasına kaydetmenizi sağlar.

Example kodu:

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


 
 Türkçe