We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Unable to export gltf via python script

Home Forums Bug Reports and Feature Requests Unable to export gltf via python script

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49511
    David Bujeda
    Customer

    Hello,

    I’m trying to import an stl into a scene and export it as gltf using the following command:
    bpy.ops.v3d.export_gltf(filepath=”/home/dbujeda/pruebas/simulation.gltf”)
    That’s all I need to do for this script. However, it returns the errors attached.
    I’m using Blender 2.83.9.

    Attachments:
    You must be logged in to view attached files.
    #49532

    hi,

    I think this is somehow connected to LZMA compression. As a temporary workaround, you might disable it and see if it helps.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.