Is it possible to use Blender's Python API scripting directly from Python IDE? If so, how?. I was looking forward to something that would allow me to help develop a game completely using python.
-
5$\begingroup$ wiki.blender.org/index.php/User:Ideasman42/BlenderAsPyModule $\endgroup$ – pink vertex Jul 23 '15 at 12:57
-
3$\begingroup$ Please explain exactly what you want to do so we can help you better! $\endgroup$ – Mike Pan Jul 27 '15 at 20:50
-
$\begingroup$ You can write python code anywhere you want, but you have to run it in blender. $\endgroup$ – Billy S Aug 1 '16 at 14:18
You can develop Blender Python add-ons from external IDE's easily, and without compiling Blender as a Python module. The often referenced method of compiling Blender as a Python module has long been defunct, and only works for certain OS's.
Most add-on developers work by opening a project in the 2.78/scripts/addons/
directory of their Blender installation. From here, you can develop directly in Blender's filesystem from your favorite IDE, then hit F8 in Blender to refresh/re-compile your add-on live.
See this post for a more detailed discussion: The Best Way to Develop Blender Python Add-ons
you should install blender as a python module
see this tutorial : https://wiki.blender.org/index.php/User:Ideasman42/BlenderAsPyModule