An project

Hi, I'm not sure if this is the right mailing list to post
this, but anyway ...

I've been working on my project using wxPython these
several months.
I want to know if you already know an application like
this.

http://hohehohe2.hp.infoseek.co.jp/kerama/index-eng.html

If we have no famous one, it can be a strong driving force
to continue developing.
If everybody knows an application similar to this, I will
just use it and not proceed mine,
still developing one on my own was fun anyway because it's
my first python program.

K.T.

···

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/

Hello Tamura,

I am currently working on a very similar application. It works exactly like yours. I've based it around wx.ogl and wxoo ( http://wxpypropdist.sourceforge.net/ ). I am using it for the level editor portion of our game sdk. It enables the level designers (who don't know much about programming) to create some simple actions (or more complex ones using templates, just like you have). Currently I am working on making the editor networkable so that multiple people can work at the same thing at the same time.
Your work is quite impressive (and its better than mine in some areas)! I added different views and controllers for each variable (so for example if you set a variable to the path of a picture, you can choose the path via a dialog or view the file via a click on an icon). I've also added different execution contexts and colours for each block. Mine isn't as dynamic as yours though, it's more for designing a static thing and then choose a specific node where you begin execution at. Currently I don't have any pictures to show because I am in a major rewrite again (I am rewriting this thing the 3rd or 4th time now ...).
If you are interested, maybe we can work on improving this together? I'll try to make a running version of mine so that you can see at least the variable editing/viewing part soon.

-Matthias

Hi Tamura and Nitro,

Both of your projects look very interesting to me!

I am developing an "engineering framework" to be used for
developing simulations and live diagrams of systems that
have interacting parts. In a nutshell, I have a wxPython
client and a twisted/PostgreSQL-based server. The client
has a tree, object grid, and a sort of "naked object"
viewer/editor. (Screen shot attached ... the blue text
'H2G2' is a label on a flat button -- any object-valued
attrs get buttons that bring up another viewer with that
object (or collection).)

The naked object widget is late bound (just give it an
object and it figures out how to display it), but the
objects that it understands have to be subtypes of my
framework's special root object (I need to define an
interface so that the widget can handle any object that
implements the special interface, rather than forcing it
to be a subtype of my special class, but I haven't got
around to that yet). For more about my app, see
http://ned.gsfc.nasa.gov ...

I'm planning to implement a canvas (with drag and drop from
a grid or tree for existing instances, and perhaps a palette
with templates for new objects) for hooking up system diagrams
with these objects, so would be interested to see if kerama
could be used as the basis for a generalized "object assembly
canvas", which I could specialize for my use.

I think if kerama's canvas were given a component architecture,
it could be usable in several different contexts, as long as
the objects for each context implement the standard interfaces
for the canvas objects. (The ZopeInterface package, which is
independent of the rest of Zope, is a good implementation of a
component/adapter architecture -- and is used by Twisted, which
is a plus from my point of view. :wink:

I'd be happy to work with you guys on such a "componentization"
of kerama, if that sounds interesting.

kotamura kotamura wrote:

I've been working on my project using wxPython these
several months.

http://hohehohe2.hp.infoseek.co.jp/kerama/index-eng.html

Very nice work for a first Python program!

Nitro wrote:

I am currently working on a very similar application. [...] Currently I am working on making the editor networkable so that multiple people can work at the same thing at the same time.

Are you using Twisted? (I hope :slight_smile: If not, maybe I could
persuade you? :wink:

Cheers,
Steve

Hello,

here are some screenshots of a similar application (some even seem to use wx for this :slight_smile: ):

http://www.unrealtechnology.com/screens/kismet_1.jpg
http://www.unrealtechnology.com/screens/kismet_2.jpg

(more can be found at http://www.unrealtechnology.com/flash/technology/ue30.shtml )

The connectors there are a nice thing and I am going to add them to my own app i think.

I forgot that I am out of town from Monday to Tuesday next week, so I can probably fetch my mail and we can discuss things in the meantime, but I won't be able to code anything during that period.

-Matthias

···

Am Sun, 19 Jun 2005 22:25:41 +0200 hat Nitro <nitro@dr-code.org> geschrieben:

Hello Tamura,

I am currently working on a very similar application. It works exactly like yours. I've based it around wx.ogl and wxoo ( http://wxpypropdist.sourceforge.net/ ). I am using it for the level editor portion of our game sdk. It enables the level designers (who don't know much about programming) to create some simple actions (or more complex ones using templates, just like you have). Currently I am working on making the editor networkable so that multiple people can work at the same thing at the same time.
Your work is quite impressive (and its better than mine in some areas)! I added different views and controllers for each variable (so for example if you set a variable to the path of a picture, you can choose the path via a dialog or view the file via a click on an icon). I've also added different execution contexts and colours for each block. Mine isn't as dynamic as yours though, it's more for designing a static thing and then choose a specific node where you begin execution at. Currently I don't have any pictures to show because I am in a major rewrite again (I am rewriting this thing the 3rd or 4th time now ...).
If you are interested, maybe we can work on improving this together? I'll try to make a running version of mine so that you can see at least the variable editing/viewing part soon.

-Matthias

Hello Matthias,
Aaaaa, sorry, I've mailed to you directly by mistake.
I was wondering why the post doesn't reflect on the list.

Interesting, I don't know a lot about game development but
looks applications like this is quite suitable for the
use.

I thought it'd be nice if I could make a custom shape
with which we can set variables, and make a special
variable that specify
the type of custom (or standard) shape to show, but I
didn't implement
it due to time restriction, and ogl shape is not delived
from wxWindow.
(not complaining, of course)

The ideas behind my app are,

- Store most informations to variables.
    For example I stored node selection information to a
special node
    'toplevel', so selection can be saved. And the
information
    is editable using the same way we set a value to
variables.
   (Currently the variable is not connectable)

- Use Python language to treat variables
    It's mainly to save time.
    Every time a node is created, a python object is
created and all
    values and funcs are stored there. When a klass(class)
is created,
    an anonymous python class is created dynamically and
let python
    search every namespace for the application.

- Make the rule as close as python.
    If a value is set to a non-existant variable, the
variable is
    created, just like python does. I tried to implement
multiple inheritance
    but I don't know how to make a GUI for it. (I never
make
    non-programmers to use UML, and I think multiple
inheritance might be too
    much compricated)

Some of the above features may not cope with my goals. My
final goals are

- Can do complicated job by node creation and connection
    It's for non-programmers (and for me :slight_smile:

- Ability of free customization. (e.g. you can make any
node)
    It't for programmers who set up the environment. But
it can
    easily lose application stability unless we make it
carefully.
    (My prototype do not care about application stability
well)

- Use it for web environment (optional)
    I'm thinking if we can use the application with GUI to
make cgi
    (The system must be very fast, and consumes low
memory, so I'm
    just wondering)

And some of the features I didn't implement but interested
are,

- Grouping
    A group is a node like others. it has variables and
they are connectable.
    But it can contain arbitrary number of nodes and
connecitons.
    We can hide complicated connections inside a group.
    (Kerama's core module has it, but I didn't use it)

- Undo
    I'm not sure if we shoud implement it. Because we need
to remember every
    variable state and it'll slow down the application.
And manipulations such
    as saving data to a file is not undoable anyway.

If you are interested, maybe we can work on improving

this together?

Yes, I'm quite interested if your goal and mine are not so
far.
But I need to ask one thing. If you make it for your
company,
what'll be the license for it? When I posted the first
mail,
I was planning to make it open source. (GPL or LGPL, or
such)

Sorin,

Anyway, the point of my reply was that if you plan to

release it

commercialy, the existance of one or more applications

like yours

should not stop you to release yours.

Thank you for the imformation. I'm not considering to sell
it, at least
currently.

···

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/

Hello Steve,

My little toy goes to a NASA project!
More amazing to me than Man goes to Mars if it really
happens.

The GUI which your project are going to have seems to have
a lot
in common with Kerama and, Yes componentarization is one
of
what I'm interested.

I'd be really appreciate if you can work with me.

Koichi

···

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/

kotamura kotamura wrote:

Hello Steve,

My little toy goes to a NASA project!
More amazing to me than Man goes to Mars if it really
happens.

The GUI which your project are going to have seems to have
a lot
in common with Kerama and, Yes componentarization is one
of
what I'm interested.

I'd be really appreciate if you can work with me.

I will be very busy for the next 2 weeks getting ready
for a big presentation I have to make, but I would like
to continue our conversation when I get back -- that
will be probably around 7 July or so.

In the meantime, if you want to try out my code, I
create nightly tarballs from my CVS at:

http://ned.gsfc.nasa.gov/PanGalactic.tar.gz

I apologize for the documentation, which I have not
worked on enough. The best place to start is with
the README and INSTALL files. If you are running
things on MS Windows, the client (GUI), which is
PanGalactic/pangalactic/node/pangalaxian.py, should
work fine, but you may have difficulty running the
server, which uses PostgreSQL and probably will require
Cygwin. If you want, I can send you some patches that
were sent to me by another guy who got it to run on
Windows.

Cheers,
Steve

Hi, Stephen

Thank you.
Yes I use windows (2000) and it already has (old version
of) PostreSQL and cygwin.
I will try to run it on my machine.

Koichi

···

If you are running
things on MS Windows, the client (GUI), which is
PanGalactic/pangalactic/node/pangalaxian.py, should
work fine, but you may have difficulty running the
server, which uses PostgreSQL and probably will
require
Cygwin. If you want, I can send you some patches
that
were sent to me by another guy who got it to run on
Windows.

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/