marc desmarais wrote:
> First, congratulations on Vpython, you do great work. I discovered
> python 8 months ago, and Vpython 6 months ago, and I now use Vpython
> at Boeing to communicate concepts. I hope to contribute some examples
> in the future ( I can send screen shots if you are interested, let me
> know what email address to use).
Thanks! Please send them to Bru...@nc....
> For the GUI, I much prefer the look and feel of Tkinter (or better yet
> wxpython) and I wish you covered how best to bring those together.
> I've had some success combining Tkinter and Vpython, but it took some
> digging, and I'm not sure if the resulting jerkiness of the 3D
> animation is my doing or just computer overloading.
There has been no serious attempt to build a real GUI for VPython,
though there is the module "controls" that has been used to some extent.
Presumably you found the example program that is installed with VPython
that illustrates combining VPython with Tkinter, and which in fact uses
Tkinter to change the color of a VPython object.
> I've recently added the ability to choose colors using the tinker
> color chooser, but it always pops up behind the Vpython scene/window.
> Is there a way to access the window manager to lower or raise a
> scene/window)? This function seems to be missing from the "display"
> class. I use XP/Vista btw.
I faced a similar problem in the program "fields" available at
http://www4.ncsu.edu/~rwchabay/mi/Public_Programs_VII.htm. See the
functions filedialog and getsources.
> PS I'm now thinking of moving to wxpython for my 2D avionic panel &
> HUD simulations, and would love to see some instructions on making
> Vpython and Wxpython work together.
Question to the list: If anyone has relevant experience, could you
contribute a sample program?
>
> PPS. active state has an editor called visual python, which can
> confuse the uninitiated that google for vpython btw. I don't know
> what you can do about that, other than sticking with vpthon (this
> users' list for instance could be confused with active state's product
> as it is called visualpython-users). Perhaps 3DPython would be better?
From http://www.activestate.com/Products/Visual_Python: "Engineering
support for Visual Python was discontinued as of December 15, 2005.
Installation and configuration support is no longer available." Some
history: David Scherer originally called VPython "Visual Python", and
that name persists in sourceforge.net and the mailing list, due to the
difficulty of changing the name for those purposes. But later, Active
State started a project "Visual Python" in what seemed to be a
collaboration with Microsoft, and it was decided to change the name to
VPython, which is the only term that has been used since sometime in the
year 2000. It is interesting that despite the consistent use of
"VPython" it is not uncommon to hear people use the name "Visual Python"
which has not been used to refer to the project since 2000.
>
> Marc Desmarais
> 5916 Bixby Village Dr. #95
> Long Beach, CA, 90803
>
> 707-540-5367 cell
>
> ------------------------------------------------------------------------
>
|