This gist explains the steps and code snippet on how to convert GLB to FBX using Aspose.3D Cloud SDK for Python.
For more information, please visit
This gist explains the steps and code snippet on how to convert GLB to FBX using Aspose.3D Cloud SDK for Python.
For more information, please visit
This Gist contains code snippets related to the conversion of GLB file to FBX format using Aspose.3D Cloud SDK for Python |
import aspose3dcloud | |
from aspose3dcloud import ThreeDCloudApi | |
from aspose3dcloud.rest import ApiException | |
def main(): | |
try: | |
# Create an instance of Aspose.3D Cloud | |
threeDCloudApi = aspose3dcloud.ThreeDCloudApi("client_credentials", "6185429e-17ce-468d-bb81-a51ac9d96c16","73a07e2fb010f559e482d854fe5a8f49") | |
# input GLB file | |
name = "Wolf-Blender-2.82a.glb" | |
# resultant FBX file format | |
newformat = "fbx7200binary" | |
# name of resultant FBX file | |
newfilename = "Converted.fbx" | |
# set a flag to overwrite existing file | |
isOverwrite = "true" | |
# initiate file conversion operation | |
result = threeDCloudApi.post_convert_by_format(name, newformat, newfilename, folder = None, is_overwrite = isOverwrite) | |
# print message in console (optional) | |
print('Conversion process completed successfully !') | |
except ApiException as e: | |
print("Exception while calling WordsApi: {0}".format(e)) | |
main() |