[Bf-committers] New feature: Console output space type (request for input).

Jacques Beaurain jacques.beaurain at gmail.com
Sun Apr 16 00:22:21 CEST 2006


Hi All.

My attachments caused my mail below to bounce. Made me decide to
revive my website again. You can read about it and see the screen caps
here:

http://jb-online.net/?p=4

Cheers,
Jacques

On 4/15/06, Jacques Beaurain <jacques.beaurain at gmail.com> wrote:
> Hi,
>
> I've been playing with Python scripting in the last month or so and
> had the following idea to improve working with scripts quite a bit in
> Blender.
>
> 1. The console output should have its own space within the UI and not
> on the console command line.
> 2. This console should display the same text that is currently written
> to a console in this new space.
> 3. One should be able to copy/paste from this window
> 4. One should be able to locate Python parsing errors in the Text
> Editor by say double clicking on the error in the Console Output
> window type which will switch to/open the python source in the Text
> Editor and place the cursor in the appropriate position.
> 5. Error output (from stderror) should be coloured appropriately.
>
> Working with these requirements I spent a couple of days trying
> different things out. It was a little tricky to redirect the streams
> and communicate asyncronously with both in the UI. So I had to
> implement a threaded solution which turned out to be working quite
> well.
>
> Attached is two screencaptures of my first working implementation. I
> still need to finish 4 and 5 above and do some cleanup of the header
> buttons etc. (e.g. implement a clear console option). I will provide a
> patch in the next week. I compile both Windows and Linux with Scons,
> so I will make it work for these two for sure.
>
> I welcome any suggestions for specific features at this stage and I
> will try to add them in during the cleanup stage.
>
> Cheers,
> Jacques
> --
> "On two occasions I have been asked, 'Pray, Mr. Babbage, if you put
> into the machine wrong figures, will the right answers come out?' I am
> not able rightly to apprehend the kind of confusion of ideas that
> could provoke such a question."
> Charles Babbage
>
>
>


--
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that
could provoke such a question."
Charles Babbage


More information about the Bf-committers mailing list