IN-PROGRESS...
Pluging for scripting by python3 in Unigine Editor https://unigine.com/get-unigine/
- License of plugin: MIT
- For code editor used: https://github.com/Megaxela/QCodeEditor - under MIT license
- Unigine SDK 2.14 - tested on
Community Free
$ sudo apt install qt5-default python3 python3-dev
unigine_project
folder - where you can see data
and with bin
and with include
and launchers
- Download this project via git or as zip
- Copy
UnigineEditorPlugin_Python3Scripting
to yourunigine_project
folder - Copy
build_plugin.sh
to to yourunigine_project
folder - Open terminal in your
unigine_project
folder - chmod +x build_plugin.sh
- ./build_plugin.sh
After this call ./launch_editor.sh
or launch editor from UNIGINE SDK Browser
- https://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code
- https://docs.python.org/3.7/c-api/bytes.html
- https://habr.com/ru/post/469043/
- https://intermediate-and-advanced-software-carpentry.readthedocs.io/en/latest/c++-wrapping.html
Here can find wrappers:
New type (class)