Re: Visualpython-users Digest, Vol 80, Issue 1
Adam O Hausknecht <[email protected]> Mon, 11 Feb 2013 10:55:30 -0500 (EST)
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
--===============6133674136220955744== Content-Type: multipart/alternative; boundary="----=_Part_7244243_1897776548.1360598130478" ------=_Part_7244243_1897776548.1360598130478 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I have just attempted to install VPython 6.0.2 on a Intel Core I7 MacBoook Pro running Mac OS 10.8.2 and get a message shown below: --------------------------------------------------------- Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "Untitled", line 1 from visual import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 1 from .visual_all import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", line 1 from vis import version File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", line 3 from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so: mach-o, but wrong architecture ---------------------------------------------------------------------------------------------------------------------- The program I tried is : ------------------------------- from visual import * sphere() ---------------------------- Also, a VPythom folder with sample programs is NOT created. Thus, the "visual" help item on VIDLE'S help menu also fails. Finally, I also use Enthought's Python distribution for scientific computing. Could these interfere with each other? Can Visual Python be installed within Enthought's distribution? I think Enthought uses a Numpy 1.6x. Regards and thanks for all your work! Adam Hausknecht Professor Adam O. Hausknecht Department of Mathematics UMass Dartmouth 285 Old Westport Road North Dartmouth, MA 02747 Office: Arts and Sciences 394B Email: [email protected] Phone: 508-999-8322 ----- Original Message ----- From: visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Sent: Monday, February 11, 2013 2:00:07 AM Subject: Visualpython-users Digest, Vol 80, Issue 1 Send Visualpython-users mailing list submissions to visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/visualpython-users or, via email, send a message with subject or body 'help' to visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org You can reach the person managing the list at visualpython-users-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Visualpython-users digest..." Today's Topics: 1. On windows-8 tablet (Shin-ichiro Tanaka / ?????) 2. New contributed program (Bruce Sherwood) 3. (no subject) (Joel Kahn) 4. VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 5. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 6. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 7. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) ---------------------------------------------------------------------- Message: 1 Date: Wed, 30 Jan 2013 15:34:07 +0900 From: Shin-ichiro Tanaka / ????? <stanaka-uy5Ei0ICS76UKefhbswAYO0/[email protected]> Subject: [Visualpython-users] On windows-8 tablet To: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <93CDFEB3CDFD0Estanaka-uy5Ei0ICS76UKefhbswAYO0/[email protected]> Content-Type: text/plain; charset=iso-2022-jp Hi, I have been using Vpython on Windows 7 and XP machines, either with EPD(enthght python disribution) and Pythonxy distribution. It is amazing. Then I installed Vpython(Ver 5.74 for win32 on python2.73) on an windows-8 tablet (ASUS ME400c, Atom Z2760, 2GByte memory). However, it does not work. The "Vypthon" window opens but it hangs up. Does anyone know how to do with it? I keenly would like to show the physical simulation to students on my physics lecture. Thanks in advance. ---------------------------------------------- Shin-ichiro Tanaka "?????" Associate professor The institute of Scientific and Industrial Research, Osaka University TEL:06-6879-8491, FAX:06-6879-8494 ?????????????567-0047 ?????????? ------------------------------ Message: 2 Date: Wed, 6 Feb 2013 11:28:47 -0700 From: Bruce Sherwood <[email protected]> Subject: [Visualpython-users] New contributed program To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Message-ID: <CAFDG03hCmtm+QJ_9WhymJKFm69pVCTYHMM-YAzNO+jH=xGowjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" Owen Long has contributed an interesting program that displays the odd behavior of a book rotating in 3D space, now available in the Contributed section of vpython.org. Because there are no torques acting on the book, the (vector) angular momentum does not change, but the (vector) angular velocity does change, and the visual effect is that the book tumbles in an unexpected way. You can see this effect in the real world. Try flipping a book or a tennis racket in the air. You'll find that if the object rotates around its long axis or the axis perpendicular to the largest side, the rotation is stable. If however you flip it around the third axis, no matter how carefully you try to flip it exactly around that axis, you'll see that the object tumbles. Bruce Sherwood P.S. Steve Spicklemire and I believe that we're very close to the next release of the wxPython-based VPython 6. All that remains is some documentation and some cleanups of keyboard issues. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Wed, 6 Feb 2013 15:48:46 -0800 (PST) From: Joel Kahn <jj2kk4-/[email protected]> Subject: [Visualpython-users] (no subject) To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Message-ID: <1360194526.31704.YahooMailNeo-P2DhFruVNO8R8UyDmTZ/[email protected]> Content-Type: text/plain; charset="us-ascii" http://trainer.com.pa/wck/yvylzm -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Sat, 9 Feb 2013 23:24:42 -0700 From: Bruce Sherwood <[email protected]> Subject: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Message-ID: <CAFDG03jfZib4CRw2_-yXZc3K_wvLyq0ii3s=Nmhq+QGuX7kyYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" Now available on the download pages at vpython.org is VPython 6.02, the product of a collaboration between Steve Spicklemire and me. This version is based on the cross-platform library wxPython. It has two powerful new features: (1) You can put a VPython 3D display in a window that also has wxPython buttons, sliders, etc. that have a native look and feel on all platforms. See the new example program widgets.py. (We haven't experimented with automatic layout mechanisms provided by wxPython, which may require some revision of the new VPython.) (2) In addition to the existing ways to handle mouse and keyboard events, there are powerful new "callback" mechanisms for handling events. Among much else, this provides a way to catch keyboard release events, which some users have wanted for a long time. Our experience so far is that existing programs will run with VPython 6.02, unless there is an animation loop that does not contain a rate() statement (which is now obligatory), and if you import graph or controls or filedialog you must first import visual or vis. We encourage you to try your programs and provide test cases that do not run properly even after making these two adaptations. There is one known bug with old programs, which is that materials.rough and materials.marble do not display correctly on a Macintosh, and the cause is currently unknown. There is one known bug with new programs, which is that pull-down menus (a new feature made possible thanks to wxPython) do not work on a Macintosh. This problem is partly understood, but there isn't yet a fix for the problem. There is a likely bug on Linux, in that wxPython does not currently report window metrics such as the height of a menu bar. For that reason, at the moment these metrics are hard-coded and are likely to be wrong for some Linux or some window manager on some Linux. Please let us know about your experience in this regard. Bruce Sherwood P.S. At the start of every semester there is a big spike in VPython installer downloads due to the start of classes in which VPython is used. Last month there were about 10,000 downloads, and there were considerable charges for excess data transfer from the vpython.org web site. For that reason, the installers have been moved to sourceforge.net, which provides free downloads for open-source projects like VPython. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Sat, 9 Feb 2013 23:29:31 -0700 From: Bruce Sherwood <[email protected]> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Message-ID: <CAFDG03jhGSs0dd_HDbS+uHhCE+RgdJ353tiqcSSMMvFtHJ-zVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" I should add that VPython 6.02 works with 64-bit versions of Python on all platforms. Bruce Sherwood -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Sun, 10 Feb 2013 20:04:39 -0700 From: Bruce Sherwood <[email protected]> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Message-ID: <CAFDG03g-=HOKHqseYFGzOk9AbwEigjqO1qCgHr7uUOHWx1tubw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" One other thing: There isn't a version of VPython 6 for Python 3.x because there isn't yet a Python 3.x version of wxPython, on which VPython 6 is based. The wxPython developers are actively working on a version for Python 3.x, but I don't know when it will be available. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Sun, 10 Feb 2013 23:59:58 -0700 From: Bruce Sherwood <[email protected]> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Message-ID: <CAFDG03hNANMXcVGhodPug4F9VnUUMOsDAosY9DQngSu8JW21Hw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" My mistake. I had misunderstood the status of the "Phoenix" project, a rewrite of wxPython that can be used with Python 3. I just now tried using the Phoenix version, and after some very minor changes just about everything but labels worked (and that's probably easy to fix). Bruce Sherwood On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sherwood <[email protected]>wrote: > One other thing: There isn't a version of VPython 6 for Python 3.x because > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > based. The wxPython developers are actively working on a version for Python > 3.x, but I don't know when it will be available. > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ------------------------------ _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users End of Visualpython-users Digest, Vol 80, Issue 1 ************************************************* ------=_Part_7244243_1897776548.1360598130478 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 14pt; colo= r: #000000'>Hi,<div><br></div><div>I have just attempted to install VPython= 6.0.2 on a Intel Core I7 MacBoook Pro running Mac OS 10.8.2 and</div><div>= get a message shown below:</div><div><br></div><div><br></div><div>--------= -------------------------------------------------</div><div><div>Python 2.7= .3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) </div><div>[GCC 4= .2.1 (Apple Inc. build 5666) (dot 3)] on darwin</div><div>Type "copyright",= "credits" or "license()" for more information.</div><div>>>> =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D RESTART =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>>>>&nbs= p;</div><div><br></div><div>Traceback (most recent call last):</div><div>&n= bsp; File "Untitled", line 1</div><div> from visual import *</= div><div> File "/Library/Frameworks/Python.framework/Versions/2.7/lib= /python2.7/site-packages/visual/__init__.py", line 1</div><div>  = ; from .visual_all import *</div><div> File "/Library/Frameworks/Pyth= on.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py"= , line 1</div><div> from vis import version</div><div> F= ile "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-p= ackages/vis/__init__.py", line 3</div><div> from .cvisual impo= rt (vector, dot, mag, mag2, norm, cross, rotate,</div><div>ImportError: dlo= pen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa= ckages/vis/cvisual.so, 2): no suitable image found. Did find:</div><d= iv><span class=3D"Apple-tab-span" style=3D"white-space:pre">=09</span>/Libr= ary/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vi= s/cvisual.so: mach-o, but wrong architecture</div></div><div>--------------= ---------------------------------------------------------------------------= -----------------------------</div><div><br>The program I tried is :</div><= div><br></div><div>-------------------------------</div><div><div>from visu= al import *</div><div>sphere()</div><div>----------------------------</div>= <div><br></div><div>Also, a VPythom folder with sample programs is NOT crea= ted. Thus, the "visual" help item on VIDLE'S help menu also fails.</div><di= v><br></div><div>Finally, I also use Enthought's Python distribution for sc= ientific computing. Could these interfere with each other?</div><div>Can Vi= sual Python be installed within Enthought's distribution? I think Enthought= uses a Numpy 1.6x.</div><div><br></div><div>Regards and thanks for all you= r work!</div><div><br></div><div>Adam Hausknecht</div><div><br></div><div><= span name=3D"x"></span>Professor Adam O. Hausknecht<br>Department of Mathem= atics<br>UMass Dartmouth<br>285 Old Westport Road<br>North Dartmouth, MA 02= 747<br>Office: Arts and Sciences 394B<br>Email: [email protected]<br>P= hone: 508-999-8322<span name=3D"x"></span><br></div><br><hr id=3D"zwchr"><d= iv style=3D"color:#000;font-weight:normal;font-style:normal;text-decoration= :none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>= visualpython-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br><b>To: </b>visualpython= [email protected]<br><b>Sent: </b>Monday, February 11, 2013 2:00= :07 AM<br><b>Subject: </b>Visualpython-users Digest, Vol 80, Issue 1<br><br= >Send Visualpython-users mailing list submissions to<br> &= nbsp; visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br><b= r>To subscribe or unsubscribe via the World Wide Web, visit<br> = https://lists.sourceforge.net/lists/lis= tinfo/visualpython-users<br>or, via email, send a message with subject or b= ody 'help' to<br> visualpyth= on-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br><br>You can reach the person mana= ging the list at<br> visualp= ython-users-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br><br>When replying, please edit y= our Subject line so it is more specific<br>than "Re: Contents of Visualpyth= on-users digest..."<br><br><br>Today's Topics:<br><br> 1. On wi= ndows-8 tablet (Shin-ichiro Tanaka / ?????)<br> 2. New contribu= ted program (Bruce Sherwood)<br> 3. (no subject) (Joel Kahn)<br= > 4. VPython 6.02 with buttons, sliders,  = ; and new event handling<br> &nbs= p;capabilities (Bruce Sherwood)<br> 5. Re: VPython 6.02 with bu= ttons, sliders, and new even= t<br> handling capabilities (Bruce Sherwood)<br>&n= bsp; 6. Re: VPython 6.02 with buttons, sliders, &nbs= p; and new event<br> handli= ng capabilities (Bruce Sherwood)<br> 7. Re: VPython 6.02 with b= uttons, sliders, and new eve= nt<br> handling capabilities (Bruce Sherwood)<br><= br><br>--------------------------------------------------------------------= --<br><br>Message: 1<br>Date: Wed, 30 Jan 2013 15:34:07 +0900<br>From: Shin= -ichiro Tanaka / ????? <= stanaka-uy5Ei0ICS76UKefhbswAYO0/[email protected]><br>Subject: [Visualpython-users] On window= s-8 tablet<br>To: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<br>Message-ID: &= lt;93CDFEB3CDFD0Estanaka-uy5Ei0ICS76UKefhbswAYO0/[email protected]><br>Content-Type: text/pla= in; charset=3Diso-2022-jp<br><br><br>Hi,<br><br>I have been using Vpython o= n Windows 7 and XP machines, either<br>with EPD(enthght python disribution)= and Pythonxy distribution.<br><br>It is amazing. Then I installed Vpython(= Ver 5.74 for win32 on <br>python2.73) on an windows-8 tablet (ASUS ME400c, = Atom Z2760, <br>2GByte memory). However, it does not work. The "Vypthon" wi= ndow <br>opens but it hangs up.<br><br>Does anyone know how to do with it? = I keenly would like to show<br>the physical simulation to students on my ph= ysics lecture. <br><br>Thanks in advance.<br><br>--------------------------= --------------------<br><br>Shin-ichiro Tanaka "?????"<br>Associate profess= or<br>The institute of Scientific and Industrial Research, Osaka University= <br>TEL:06-6879-8491, FAX:06-6879-8494<br>?????????????567-0047 ??????????<= br><br><br><br>------------------------------<br><br>Message: 2<br>Date: We= d, 6 Feb 2013 11:28:47 -0700<br>From: Bruce Sherwood <Bruce_Sherwood@ncs= u.edu><br>Subject: [Visualpython-users] New contributed program<br>To: v= pusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org><br>Message-ID:<br>&= nbsp; <CAFDG03hCmtm+QJ_9WhymJKF= m69pVCTYHMM-YAzNO+jH=3DxGowjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org><br>Content-Type: text/plai= n; charset=3D"utf-8"<br><br>Owen Long has contributed an interesting progra= m that displays the odd<br>behavior of a book rotating in 3D space, now ava= ilable in the Contributed<br>section of vpython.org.<br><br>Because there a= re no torques acting on the book, the (vector) angular<br>momentum does not= change, but the (vector) angular velocity does change,<br>and the visual e= ffect is that the book tumbles in an unexpected way.<br><br>You can see thi= s effect in the real world. Try flipping a book or a tennis<br>racket in th= e air. You'll find that if the object rotates around its long<br>axis or th= e axis perpendicular to the largest side, the rotation is stable.<br>If how= ever you flip it around the third axis, no matter how carefully you<br>try = to flip it exactly around that axis, you'll see that the object tumbles.<br= ><br>Bruce Sherwood<br><br>P.S. Steve Spicklemire and I believe that we're = very close to the next<br>release of the wxPython-based VPython 6. All that= remains is some<br>documentation and some cleanups of keyboard issues.<br>= -------------- next part --------------<br>An HTML attachment was scrubbed.= ..<br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 6 = Feb 2013 15:48:46 -0800 (PST)<br>From: Joel Kahn <jj2kk4-/[email protected]><b= r>Subject: [Visualpython-users] (no subject)<br>To: "[email protected]"= <[email protected]>,<br> &nbs= p; "[email protected]" <[email protected]>,<br>  = ; "visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"<b= r> <visualpython-users@li= sts.sourceforge.net>, "c= [email protected]"<br> = <[email protected]>, &= nbsp;"[email protected]"<br> &= nbsp; <[email protected]>,<br>= "[email protected]= net" <[email protected]>,<br> &nbs= p; "[email protected]" <[email protected]>, "[email protected]" &l= t;[email protected]><br>Message-ID:<br> &nb= sp; <1360194526.31704.YahooMailNeo-P2DhFruVNO8R8UyDmTZ/[email protected]>= <br>Content-Type: text/plain; charset=3D"us-ascii"<br><br><br><br><br>http:= //trainer.com.pa/wck/yvylzm<br>-------------- next part --------------<br>A= n HTML attachment was scrubbed...<br><br>------------------------------<br>= <br>Message: 4<br>Date: Sat, 9 Feb 2013 23:24:42 -0700<br>From: Bruce Sherw= ood <[email protected]><br>Subject: [Visualpython-users] VPytho= n 6.02 with buttons, sliders, &nbs= p;and<br> new event handling= capabilities<br>To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org&g= t;<br>Message-ID:<br> <CA= FDG03jfZib4CRw2_-yXZc3K_wvLyq0ii3s=3DNmhq+QGuX7kyYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org><br>C= ontent-Type: text/plain; charset=3D"utf-8"<br><br>Now available on the down= load pages at vpython.org is VPython 6.02, the<br>product of a collaboratio= n between Steve Spicklemire and me. This version<br>is based on the cross-p= latform library wxPython. It has two powerful new<br>features:<br><br>(1) Y= ou can put a VPython 3D display in a window that also has wxPython<br>butto= ns, sliders, etc. that have a native look and feel on all platforms.<br>See= the new example program widgets.py. (We haven't experimented with<br>autom= atic layout mechanisms provided by wxPython, which may require some<br>revi= sion of the new VPython.)<br><br>(2) In addition to the existing ways to ha= ndle mouse and keyboard events,<br>there are powerful new "callback" mechan= isms for handling events. Among<br>much else, this provides a way to catch = keyboard release events, which some<br>users have wanted for a long time.<b= r><br>Our experience so far is that existing programs will run with VPython= 6.02,<br>unless there is an animation loop that does not contain a rate() = statement<br>(which is now obligatory), and if you import graph or controls= or<br>filedialog you must first import visual or vis. We encourage you to = try<br>your programs and provide test cases that do not run properly even a= fter<br>making these two adaptations.<br><br>There is one known bug with ol= d programs, which is that materials.rough and<br>materials.marble do not di= splay correctly on a Macintosh, and the cause is<br>currently unknown.<br><= br>There is one known bug with new programs, which is that pull-down menus = (a<br>new feature made possible thanks to wxPython) do not work on a Macint= osh.<br>This problem is partly understood, but there isn't yet a fix for th= e<br>problem.<br><br>There is a likely bug on Linux, in that wxPython does = not currently report<br>window metrics such as the height of a menu bar. Fo= r that reason, at the<br>moment these metrics are hard-coded and are likely= to be wrong for some<br>Linux or some window manager on some Linux. Please= let us know about your<br>experience in this regard.<br><br>Bruce Sherwood= <br><br>P.S. At the start of every semester there is a big spike in VPython= <br>installer downloads due to the start of classes in which VPython is use= d.<br>Last month there were about 10,000 downloads, and there were consider= able<br>charges for excess data transfer from the vpython.org web site. For= that<br>reason, the installers have been moved to sourceforge.net, which p= rovides<br>free downloads for open-source projects like VPython.<br>-------= ------- next part --------------<br>An HTML attachment was scrubbed...<br><= br>------------------------------<br><br>Message: 5<br>Date: Sat, 9 Feb 201= 3 23:29:31 -0700<br>From: Bruce Sherwood <[email protected]><br= >Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders,<br>&= nbsp; and new event handling capab= ilities<br>To: vpusers <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org><br>= Message-ID:<br> <CAFDG03j= hGSs0dd_HDbS+uHhCE+RgdJ353tiqcSSMMvFtHJ-zVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org><br>Content-T= ype: text/plain; charset=3D"utf-8"<br><br>I should add that VPython 6.02 wo= rks with 64-bit versions of Python on all<br>platforms.<br><br>Bruce Sherwo= od<br>-------------- next part --------------<br>An HTML attachment was scr= ubbed...<br><br>------------------------------<br><br>Message: 6<br>Date: S= un, 10 Feb 2013 20:04:39 -0700<br>From: Bruce Sherwood <Bruce_Sherwood@n= csu.edu><br>Subject: Re: [Visualpython-users] VPython 6.02 with buttons,= sliders,<br> and new event = handling capabilities<br>To: vpusers <[email protected]= ge.net><br>Message-ID:<br> &nbs= p;<CAFDG03g-=3DHOKHqseYFGzOk9AbwEigjqO1qCgHr7uUOHWx1tubw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org&= gt;<br>Content-Type: text/plain; charset=3D"utf-8"<br><br>One other thing: = There isn't a version of VPython 6 for Python 3.x because<br>there isn't ye= t a Python 3.x version of wxPython, on which VPython 6 is<br>based. The wxP= ython developers are actively working on a version for Python<br>3.x, but I= don't know when it will be available.<br>-------------- next part --------= ------<br>An HTML attachment was scrubbed...<br><br>-----------------------= -------<br><br>Message: 7<br>Date: Sun, 10 Feb 2013 23:59:58 -0700<br>From:= Bruce Sherwood <[email protected]><br>Subject: Re: [Visualpyth= on-users] VPython 6.02 with buttons, sliders,<br> &n= bsp; and new event handling capabilities<br>To: vpusers &l= t;visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org><br>Message-ID:<br> &nbs= p; <CAFDG03hNANMXcVGhodPug4F9VnUUMOsD= [email protected]><br>Content-Type: text/plain; charset= =3D"utf-8"<br><br>My mistake. I had misunderstood the status of the "Phoeni= x" project, a<br>rewrite of wxPython that can be used with Python 3. I just= now tried using<br>the Phoenix version, and after some very minor changes = just about<br>everything but labels worked (and that's probably easy to fix= ).<br><br>Bruce Sherwood<br><br>On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sher= wood <[email protected]>wrote:<br><br>> One other thing: The= re isn't a version of VPython 6 for Python 3.x because<br>> there isn't = yet a Python 3.x version of wxPython, on which VPython 6 is<br>> based. = The wxPython developers are actively working on a version for Python<br>>= ; 3.x, but I don't know when it will be available.<br>><br>><br>-----= --------- next part --------------<br>An HTML attachment was scrubbed...<br= ><br>------------------------------<br><br>--------------------------------= ----------------------------------------------<br>Free Next-Gen Firewall Ha= rdware Offer<br>Buy your Sophos next-gen firewall before the end March 2013= <br>and get the hardware for free! Learn more.<br>http://p.sf.net/sfu/soph= os-d2d-feb<br><br>------------------------------<br><br>___________________= ____________________________<br>Visualpython-users mailing list<br>Visualpy= [email protected]<br>https://lists.sourceforge.net/lists/lis= tinfo/visualpython-users<br><br><br>End of Visualpython-users Digest, Vol 8= 0, Issue 1<br>*************************************************<br></div><b= r></div></div></body></html> ------=_Part_7244243_1897776548.1360598130478-- --===============6133674136220955744== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb --===============6133674136220955744== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users --===============6133674136220955744==--