blendergltf | A glTF exporter for Blender | Addon library

 by   Kupoman Python Version: v1.2.0 License: Apache-2.0

kandi X-RAY | blendergltf Summary

kandi X-RAY | blendergltf Summary

blendergltf is a Python library typically used in Plugin, Addon, WebGL applications. blendergltf has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Blendergltf is an addon for Blender that adds the ability to export to the glTF format. This addon started its life as part of the Blender Real TimeEngine addon in order to provide a convenient way of streaming scene data to real time engines. As interest has grown in glTF, the glTF exporting code of the Blender Real Time Engine addon was moved into this repository to be used as both a Python module and a Blender addon. Versions 1.0 and 2.0 of the glTF format are supported. For currently supported extensions, check out the extension settings. NOTE: Version 1.2.0 of blendergltf is deprecating support for glTF 1.0. The next release of blendergltf will likely remove support for glTF 1.0 entirely. See issue #135 for more information and discussion.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              blendergltf has a low active ecosystem.
              It has 300 star(s) with 50 fork(s). There are 27 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 13 open issues and 104 have been closed. On average issues are closed in 69 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of blendergltf is v1.2.0

            kandi-Quality Quality

              blendergltf has 0 bugs and 0 code smells.

            kandi-Security Security

              blendergltf has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              blendergltf code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              blendergltf is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              blendergltf releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              blendergltf saves you 1544 person hours of effort in developing the same functionality from scratch.
              It has 3438 lines of code, 127 functions and 18 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed blendergltf and discovered the below as its top functions. This is intended to give you an instant insight into blendergltf implemented functionality, and help decide if they suit your requirements.
            • Export the state of the flavour
            • Return a dict of custom properties
            • Return True if value is a serializable object
            • Export a dupli group
            • Exports the given blend data
            • Fill the data from an iterator
            • Export attributes
            • Export the bones
            • Add a new buffer view
            • Add a new accessor
            • Export the data to a PNG file
            • Convert an image to a data URI
            • Exports the model
            • Set the base color texture
            • Set the metal roughness texture
            • Set the normal texture
            • Return a list of gather actions
            • Restart the mesh
            • Export the state to a dict
            • Creates a GLTF texture
            • Export the GLF to a dictionary
            • Export the renderer
            • Export materials to a KHR
            • Exports all material and lights
            • Export all matrices
            • Set the emissive texture
            Get all kandi verified functions for this library.

            blendergltf Key Features

            No Key Features are available at this moment for blendergltf.

            blendergltf Examples and Code Snippets

            No Code Snippets are available at this moment for blendergltf.

            Community Discussions

            Trending Discussions on blendergltf

            QUESTION

            bpy works in global scope but not in flask app
            Asked 2021-Jan-20 at 07:58

            I have been using javascript and recently started python to use blender-python library.(bpy) So this problem can be some misunderstanding of mine due to lack of the knowledge of the language behaviour.

            This function uses bpy. I tested and it successfully converts .gltf files to .fbx.

            ...

            ANSWER

            Answered 2021-Jan-12 at 14:41

            Possible issue of overriding global name path = os.getcwd() in gltf_to_fbx function line path = os.path.join(UPLOAD_FOLDER, filename) as UPLOAD_FOLDER is using path = os.getcwd() to generate the path, try to change to a file_path like this file_path = os.path.join(UPLOAD_FOLDER, filename) and then pass this file_path to bpy like so bpy.ops.import_scene.gltf(filepath=file_path)

            This might help as the error indicates that NoneType doesn't have attribute scene which might be true do to incorrect path provided to bpy.

            Source https://stackoverflow.com/questions/65685398

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install blendergltf

            Download the blendergltf ZIP file from GitHub: stable, testing, releases. Launch Blender, click File -> User Preferences..., and click the Add-ons tab at the top of the User Preferences dialog. Then, click the Install from file... button in the bottom margin of that dialog. Select your ZIP file to complete the install. In the left margin there is a Supported Level selector, make sure the Community level is selected. To find the addon quicker, you may need to enter gltf into the search box at the top of the left margin. You should now see Import-Export: glTF format as a block in the body of the preferences dialog. Put a checkmark on this row to activate it. Finally, click Save User Settings to keep the changes. Note that any other settings changes you have made to Blender may also be saved.
            Download the blendergltf ZIP file from GitHub: stable, testing, releases
            Launch Blender, click File -> User Preferences..., and click the Add-ons tab at the top of the User Preferences dialog. Then, click the Install from file... button in the bottom margin of that dialog. Select your ZIP file to complete the install.
            In the left margin there is a Supported Level selector, make sure the Community level is selected. To find the addon quicker, you may need to enter gltf into the search box at the top of the left margin.
            You should now see Import-Export: glTF format as a block in the body of the preferences dialog. Put a checkmark on this row to activate it.
            Finally, click Save User Settings to keep the changes. Note that any other settings changes you have made to Blender may also be saved.

            Support

            The most helpful way to contribute right now is to try and use the output of Blendergltf, and report any issues you find. This will help us identify where work is still needed, and it will help make the addon more robust. If you want to contribute code, there are likely some tasks floating around the issue tracker.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Kupoman/blendergltf.git

          • CLI

            gh repo clone Kupoman/blendergltf

          • sshUrl

            git@github.com:Kupoman/blendergltf.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link