[Bf-committers] Blender Command Port (BLASH) Integration

Toni Alatalo antont at kyperjokki.fi
Tue Mar 10 15:15:35 CET 2009


Ton Roosendaal kirjoitti:
>> this interesting feature of "remote control" of blender.
>>     
>
> For 2.5 we aim at having an integrated console, allowing type in python 
> commands directly to operate on Blender data. This should give similar 
> functionality without the hassle of installs.
>   

btw that has also existed as a script (iirc by ideasman, who else :) for 
long (3-5 years?), bundled in the standard installation even but not 
noticed by that many - in scripts System /Interactive Console. it's a 
bit clumsy but works, it might be possible to use IPython as the backend 
there to get the great features for interactive use there (history, 
referring to prev commands, tab completion etc) - actually i propose you 
consider ipython to be that integrated console 
(http://ipython.scipy.org/, pure py, haven't checked what size now).

but i think people will also want to be able to use their favourite 
editors, and the power of combining document editing with interactive 
use (iirc it works like that in emacs, and e.g. Theo doesn't use a 
console but edits a document which still is simultanously the live scene 
in Blender as well). so hopefully hooking such remoting to 2.5 is nice 
and the people who want such fancy envs and are ready to work a bit with 
the installs etc for it can do it.

> -Ton-
>   

~Toni

> ------------------------------------------------------------------------
> Ton Roosendaal  Blender Foundation   ton at blender.org    www.blender.org
> Blender Institute BV  Entrepotdok 57A  1018AD Amsterdam The Netherlands
>
> On 10 Mar, 2009, at 8:40, Peter wrote:
>
>   
>> Hi
>> I am interested in using Blender as a CAD Tool as well as a
>> visualization tool ( rather than an animation tool ).
>> I want to generate scenes based on algorithms and I want to experiment
>> with different shape and picture grammars.
>> I  found the Blender Command Port
>> <http://formgames.org/blender/command-port/> by Dietrich Bollman which
>> exactly fullfils this need.
>> I succeeded in compiling Blender with the WITH_COMMAND_PORT=true blash
>> option and was able to create a simple scene from a python script that
>> communicates with blender operating in server mode.
>> Dietrich has also made available a blender-python-mode for emacs that
>> allows to communicate with blender from within an emacs buffer.
>>
>> Although the command port works fine, the setup is rather involved. I
>> had to pull in a multitude of different libraries (on Ubuntu 8.10 ) and
>> the configuration of the various tools ( blender, emacs ) is not easy.
>> At least it wasn't for me.
>>
>> I would like to suggest the integration of the Command Port into the
>> Blender main distribution in order to allow more users to benefit from
>> this interesting feature of "remote control" of blender.
>> I am sure that there are a multitude of applications in fields that are
>> not directly related to animation like mathematics, statistics, 
>> physical
>> simulation etc. Blender could also be useful to visualize and animate
>> the behavior of algorithms.
>>
>> What are your thoughts ?
>>
>> Peter
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>     
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>   



More information about the Bf-committers mailing list