Eclipse, PyDev and Blender

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
reimpell
Posts: 0
Joined: Wed Oct 01, 2003 5:09 pm

Eclipse, PyDev and Blender

Post by reimpell »

If you like to use an IDE to develop your scripts, you can use Eclipse in conjunction with PyDev. To run blender from inside of Eclipse, you need to add a program entry under "Run->External Tools->External Tools..." with the following settings:
Main-Tab:
Location: blender executable
Working directory: blender executable directory
Arguments: -w -P ${resource_loc}
Environment-Tab:
Variable: PYTHONPATH
Value: ${container_loc}
and choose "Append environment to native environment"

Koba
Posts: 0
Joined: Thu Apr 15, 2004 9:48 am

Post by Koba »

Very interesting. I'm checking it out.

Koba

ideasman
Posts: 0
Joined: Tue Feb 25, 2003 2:37 pm

Post by ideasman »

What sthe advantage is using Eclipse?
How does it differ from a normal text editor?

chimera
Posts: 41
Joined: Wed Jun 11, 2003 11:41 am
Location: switzerland
Contact:

Post by chimera »

ideasman wrote:What sthe advantage is using Eclipse?
How does it differ from a normal text editor?
+ how does it differ from spe? http://spe.pycs.net/

ElBarto
Posts: 0
Joined: Fri Jun 11, 2004 3:24 pm
Location: Berlin
Contact:

Post by ElBarto »

Another great and free Tool for Python Scripts is PSPad:

http://www.pspad.com/

Windows only

z3r0_d
Posts: 289
Joined: Wed Oct 16, 2002 2:38 am
Contact:

Post by z3r0_d »

chimera wrote:
ideasman wrote:What sthe advantage is using Eclipse?
How does it differ from a normal text editor?
+ how does it differ from spe? http://spe.pycs.net/
SPE is written in java and is an excelent Java IDE

it is an okay c/c++ ide [would be real cool if those features were as good as the java ones, but alas]

an IDE is better than just a syntax highlighting text editor because it combines many functions. (hence the name, Integrated development environment)

so, eclipse (and visual studio...) combine a good text editor, the compilier [though, eclipse doesn't come with a c/c++ compilier, and c/c++ features are an extension not included, compiling your program is done simply by pressing a button (or using a menu) in an IDE], and a debugger.

does SPE have a debugger? [most code I write is short enough or in the game engine that a debugger will not help me, but for c/c++ it is CRUCIAL]

kdevelop is cool too
dev c/c++ I find kind of annoying, but it is pretty easy to get started with [though, it may be more difficult to open blender as a project and stuff with it]

Post Reply