is it possible to reduce the "resize grips" in an OGL shape ?

Brian Elmegaard wrote:

Stef Mientki <s.mientki@ru.nl> writes:

These questions arise from testing the usability of OGL
as a graphical editor like used in LabView / Simulink / Scicos.
    
I am interested in knowing what you are aiming at.

I want to create an open source Labview -like programming environment,
with the math-power of Matlab,
but so simple that even children will be able to tell to computer to solve their problem !!

I have been trying
to find the time for doing something like that as well.
  

It's always good to have more people thinking along the same lines.
I've thinking about for quit a while,
to create such a program in another language (I'm a relative newbie in Python),
but I couldn't think thé reason why most people find Labview so attractive.
A few weeks ago I saw this movie
http://www.osc.edu/~unpingco/Tutorial1.html
and now I know: it's all about a priori knowledge !!
The graphical part is just an extra bonus,
which gives you an extra dimension,
that improves the communication with the user somewhat.
To show that's not the graphics,
the above demo could be written without graphics in just 1 line of code:
   Image_Show ( Image_Rotate ( Image_Read ( <filename> ), 63 ) )

At the moment I'm trying to make a choice between OGL and OGLLIKE for
this purpose.
    
What is ogllike? Where is it?

At the same time I discovered ogl-like, which is simple form of ogl (less than 10% of the size)
I've ruined my original, but you certainly can find it on the internet somewhere,
search for the writer Erik Lechak.
Small detail: ogl-like was developed to create a Labview environement,
but Erik had other priorities.

So now I'm doing a feasibility study,
to see how easy / difficult it is to create such a program with wxPython + Scipy.
I hope to have a working demo very soon.

cheers,
Stef

Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.

>> I want to create an open source Labview -like programming environment,
>> with the math-power of Matlab,
>> but so simple that even children will be able to tell to computer to
>> solve their problem !!
>>
>
> I'm developing something similar actually, to allow visual programming
> of iterative schemes for numerical simulation systems. See attached
> screenshot of the editor window.
Looks very nice, especially the rectangle lines.
Are you using ogl or what ?

OGL with some small modifications. Drawing is done using stock OGL
classes, for editing it is necessary to program some event handlers. As
you pointed out OGL is not well-documented, so I had to read the source,
fortunately it is not too complicated. I didn't look at ogllike yet so
no basis to compare them.

Can you give an impression of how complex the iterative schemes are that
you want to simulate.

They are not very complex at the moment - usually some nested loops with
some parts active or not depending on some flags. We wanted to be able
to make them more complex in the future like having a possibility to
dynamically change the order of the execution during run-time.

> The resulting "programs" can be
> executed inside the virtual machine environment and can communicate with
> the user using XRC-based interface.
What's XRC, do you have a link ?

Mike already answered this.

I googled for it, but couldn't find much than, it's XML and has
something todo with html ?
Well I was intending to build a very simple internal virtual machine,
something like an infinite while loop,
that can be escaped by an exception.
> Each program "block" contains a
> piece of python or shell source code, or executes an external process.
> Good error/exception handling is the main issue I still have to solve.
>
Why is that a problem ?

We wanted to embed some intelligent error handling in the virtual
machine itself, so that the algorithm could recover from non-critical
problems and restart from some previous known good state (which means we
need to save the history of the execution and to have the possibility to
backtrack).

···

On Thu, 2007-11-15 at 18:14 +0100, Stef Mientki wrote:

I've done something similar, by embedding Python in Delphi,
and when an error in the Python code appears,
I get a perfect traceback from Python,
so I can jump to the problem line in my editor automatically.
A problem in this approach might be namespace mangling of the program
and the user code.

cheers,
Stef

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
Roman Rolinsky <rolinsky@femagsoft.com>
FEMAGSoft