Addon for Blender to directly export to a Godot Scene

Lu Jiacheng 26f5660d20 Merge pull request #298 from Jason0214/sync_blender2.80 %!s(int64=5) %!d(string=hai) anos
.github 66f3d73ee6 create issue template %!s(int64=6) %!d(string=hai) anos
io_scene_godot e18abf7187 Fix testing failing in CI %!s(int64=5) %!d(string=hai) anos
tests e18abf7187 Fix testing failing in CI %!s(int64=5) %!d(string=hai) anos
.gitignore 1f1b15ce39 add animation export option %!s(int64=7) %!d(string=hai) anos
.pylintrc 3f89937418 initial commit for blender 2.80 support %!s(int64=6) %!d(string=hai) anos
.travis.yml 837f6ab713 Explicitly set pylint to call python3.7 %!s(int64=6) %!d(string=hai) anos
LICENSE.txt d5b6588f27 Include a copy of the GPLv2 instead of the GPLv3 %!s(int64=7) %!d(string=hai) anos
Makefile 837f6ab713 Explicitly set pylint to call python3.7 %!s(int64=6) %!d(string=hai) anos
README.md 27cebc2935 Fixing some typos. %!s(int64=6) %!d(string=hai) anos
requirements.txt a14b44d654 upgrade pylint to 2.3.0 because a crashing bug in 2.2.0 %!s(int64=6) %!d(string=hai) anos

README.md

Godot Engine's native Blender exporter add-on.

Native Godot scene format exporter for Blender, making the export process to Godot Engine as straightforward as possible.

WARNING: This exporter is experimental, and still lacks many features.

Installation

  1. Copy the io_scene_godot directory the location where Blender stores the scripts/addons folder on your system (you should see other ioscene* folders there from other addons). Copy the entire dir and not just its contents.
  2. Go to the Blender settings and enable the "Godot Exporter" plugin.
  3. Export your file with File -> Export -> Godot Engine (.escn)

If you find bugs or want to suggest improvements, please open an issue on the upstream GitHub repository.

Development Notes

This repository includes a Makefile to assist with development. Running make from the project root will:

  1. Export all of the blend files from the tests/scenes directory.
    If you add a feature, it is suggested that you add a new blend file to the tests/scenes directory that uses this feature.
  2. Runs diff on the output files compared to the reference exports. This acts as a regression test.
  3. Runs pycodestyle and pylint style tests. Your code must pass these to be elegible to merge.

Current regression tests use the daily build of Blender 2.8 from Blender official site and runs on ubuntu 16.04. If you run the tests with different Blender version or on different platforms, the output may slightly differ.

License

This Godot exporter is distributed under the terms of the GNU General Public License, version 2 or later. See the LICENSE.txt file for details.