Open Command Port

Is there a way in Blender 2.57x to do like in Maya (http://download.autodesk.com/us/maya/2011help/CommandsPython/commandPort.html) and open a command port to gain access to an echo of all the Python command that Blender emit using sockets?

I need the same thing and not found this feature in Blender yet, is rare, comunicate a aplication is some essential today, well, i hope that this feature will be implemented in next versions, the most aproximate to this request is send the script way open blender with flags how show this video http://www.youtube.com/watch?v=gUm1coolop0, good luck.

Hi,

A couple of years ago I implemented the “Blender Command Port” which, since then, I happily use on a daily base.

See:

As I am still working with an old Blender version, I recently did not update it. I plan however to do so again some day…

If you are interested, I will try to find some free time to work on it. So please let me know…

Cheers, Dietrich

Well definitely interested! And Im sure Im not the only one :wink:

Having this feature implemented inside Blender v2.5x will open alot of doors for many developers. Whether it is to synchronize the Blender viewport with another app (like I did here http://www.youtube.com/watch?v=s7l3jpAreEI and http://www.youtube.com/watch?v=iAkK3Mb9cOk but without having to create and synchronize threads)

Well definitely interested! And Im sure Im not the only one :wink:

Having this feature implemented inside Blender v2.5x will open alot of doors for many developers. Whether it is to synchronize the Blender viewport with another app (like I did here http://www.youtube.com/watch?v=s7l3jpAreEI and http://www.youtube.com/watch?v=iAkK3Mb9cOk but without having to create and synchronize threads) or to create procedural scene programmatically, I think that would be a great addition to Blender.

you hook up the out to the in and the in to the out. and put an eval-loop

tell blender to tell python to tell the terminal to tell python what to tell blender and then print out what happens
pseudocode:
import bpy
import sys #or os i forget
do something to hook up the terminal input stream into blender
x=read from the terminal #maybe thats it – a read() command
eval(x)
print the result
repeat