Unhappy with Blenders text editor to write Python scripts? This Python IDE can run inside and outside Blender. Open the spe.blend file and press Alt+P. Spe has a Blender browser which can show all objects and modules in hierarchical tree control. Spe runs stable under Windows and Linux. Starting from this release SPE works on Mac as well, although there might be still some small issues. Copy the blender script “spe_blender.py” to “.blender/scripts” to register spe in Blender script menu.
Spe is a stable, full-featured python IDE with auto-indentation, auto completion, call tips, syntax coloring, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, drag&drop, context help, … Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe ships with wxGlade (gui designer), PyChecker (source code doctor) and Kiki (regular expression console). Spe is extensible with wxGlade.
I’m happy to announce the first SPE release aimed for the Mac Os X platform.
There might be still some minor issues, but if reported they might be fixed
soon. All mac feedback is welcome. This release was possible by Xavier
Nora who offered me access to his Mac through VNC. If SPE doesn’t startup
on your Mac, probably your wxPython version is too old.
Now SPE also has real built-in support for encoding, so SPE can now deal
with the most strange languages in the world. If the encoding is defined in
the file it will appear in the sidebar.
:New features:
- encoding
- toolBar for Mac OS X
- blender script spe_blender.py to register spe in Blender script menu (copy to .blender/scripts)
Kiki:
Regular Expression (regex) console. For more info: http://project5.tk
PyChecker:
PyChecker is a tool for finding bugs in python source code. It
finds problems that are typically caught by a compiler for
less dynamic languages, like C and C++. It is similar to lint.
For more info: http://pychecker.sourceforge.net
wxGlade:
wxGlade is a GUI designer written in Python with the
popular GUI toolkit wxPython, that helps you create
wxWindows/wxPython user interfaces. As you can guess by the
name, its model is Glade, the famous GTK+/GNOME GUI builder,
with which wxGlade shares the philosophy and the look & feel
(but not a line of code). For more info: http://wxglade.sourceforge.net
I never tried SPE before, but I took the plunge today (is it just me or is the wxPython site really slow?), I must say I like what I saw really much. It’ll probably end up replacing IDLE as my editor of choice.
Hi Teeth,
Thanks for your compliments! Which platform are you using. Be sure you download the b version, because the a version was wrong. Curious how it works…
Stani
I am desperately trying to stop Blender from becoming inert once SPE has been launched from inside it : Blender just won’t react to any event from the keyboard or the mouse.
I tried the spe.blend method, in case something in my modification of your script had gone wrong. I tried my modification and now the registred script you publish with the last version… well all kinds of things just in case the problem would be superficial.
If I close SPE, Blender behaves normally again.
Since it is a problem with inputs, I suspect that it is the OpenGL side that should be investigated : just a hunch since I know pretty little on the subject.
So I tried the most recent Drivers for my card (ATI AIW 9600Pro) to no avail.
The operation system :
Windows 2000 Pro, fully updated
I am far from being an accomplished programmer and this is my first bug report : you may have to help me if it is going to make some sense in the end.
The editor is just so much fun to use on its own, I hope that I’ll be able to use it from Blender soon.
Ask for any question/precision you wan’t I’ll be watching this thread.
Unfortunately the current event model of Blender leaves no other option. I wish it could be different. There are rumours that the event model will be changed this year and than more things should be possible. Maybe also sockets might work, but I have no experience with that yet. If someone else does, please contact me…
Maybe it’s just me, but when I start SPE through the script in spe.blend, Blender still responds to keyboard and mouse events (though SPE itself has some sort of GUI refresh problem). Really weird.
C:_D_disk_USER\Blender\Scripts\members.aol.com\Geodesic Dome 1.4
exists, and the script is viewable in SPE. (Question: does pychecker not like embedded spaces in the path? Or is the path name too long?)
That would surprise me. Does pychecker work ok with other files or is it just with that file?
Does pychecker work ok with “geodesic-dome 1-4.py” at your machine?
Yes, very well. Does the _spe/plugins/pychecker2/main.py exists? If yes, can you execute the command in the error dialog box just from the command line, outside SPE. Than probably you’ll get a more detailed error message. Here is the proof that it works fine with me on geodesic: