Git Product home page Git Product logo

glb2fbx's Introduction

glb2fbx

Convert gltf or glb file to fbx using a blender 2.8 docker image.

This tool uses Docker to run Blender2.8. Inside blender, the .glb or .gltf model is imported then exported as an .fbx file. Once complete, the container is shut down.

The repo comes with a .glb file for testing.

Currently does not support materials and textures.

Requirements

  • Docker client. If you don't have Docker running on your mahcine, install it by going to https://docs.docker.com/
  • Python 3.7+
  • docker python module. To install: pip install --upgrade docker

Usage

Examples

Open in command prompt / power shell / terminal and execute the below examples. Alternatively, incorporate Glb2Gbx() python class into your python app.

  • python glb2fbx.py Disc.glb -o Disc.fbx (Will look for Disc.glb in the current directory, and write Disc.fbx into the current directory.)

  • python glb2fbx.py /Users/me/myfile.glb (Will look for myfile.glb in /Users/me/. and write /Users/me/myfile.fbx.)

glb2fbx's People

Contributors

daotmicrosoft avatar daveotte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.