Spara ett 3D Dokument

Spara en 3D Scene

Kodprovet nedan visar hur man sparar ett dokument i en ström.

import aspose.threed as a3d
import io
# For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
# Load a 3D document into Aspose.3D
scene = a3d.Scene.from_file("document.fbx")
# Save Scene to a stream
dstStream = io.BytesIO()
scene.save(dstStream, a3d.FileFormat.FBX7500ASCII);