You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(15) |
Oct
(32) |
Nov
(35) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(46) |
Feb
(22) |
Mar
(65) |
Apr
(49) |
May
(22) |
Jun
(29) |
Jul
(51) |
Aug
(34) |
Sep
(32) |
Oct
(46) |
Nov
(30) |
Dec
(32) |
2002 |
Jan
(48) |
Feb
(4) |
Mar
(20) |
Apr
(28) |
May
(13) |
Jun
(34) |
Jul
(51) |
Aug
(15) |
Sep
(15) |
Oct
(35) |
Nov
(15) |
Dec
(20) |
2003 |
Jan
(31) |
Feb
(111) |
Mar
(41) |
Apr
(28) |
May
(36) |
Jun
(29) |
Jul
(27) |
Aug
(29) |
Sep
(47) |
Oct
(28) |
Nov
(7) |
Dec
(26) |
2004 |
Jan
(44) |
Feb
(9) |
Mar
(17) |
Apr
(26) |
May
(58) |
Jun
(13) |
Jul
(44) |
Aug
(64) |
Sep
(30) |
Oct
(11) |
Nov
(21) |
Dec
(28) |
2005 |
Jan
(29) |
Feb
(11) |
Mar
(11) |
Apr
(22) |
May
(85) |
Jun
(46) |
Jul
(17) |
Aug
(18) |
Sep
(14) |
Oct
(22) |
Nov
(1) |
Dec
(45) |
2006 |
Jan
(20) |
Feb
(36) |
Mar
(18) |
Apr
(24) |
May
(21) |
Jun
(48) |
Jul
(23) |
Aug
(20) |
Sep
(10) |
Oct
(41) |
Nov
(46) |
Dec
(40) |
2007 |
Jan
(40) |
Feb
(20) |
Mar
(13) |
Apr
(6) |
May
(24) |
Jun
(31) |
Jul
(30) |
Aug
(11) |
Sep
(11) |
Oct
(10) |
Nov
(56) |
Dec
(64) |
2008 |
Jan
(64) |
Feb
(22) |
Mar
(63) |
Apr
(28) |
May
(25) |
Jun
(36) |
Jul
(11) |
Aug
(9) |
Sep
(14) |
Oct
(41) |
Nov
(46) |
Dec
(130) |
2009 |
Jan
(95) |
Feb
(41) |
Mar
(24) |
Apr
(35) |
May
(53) |
Jun
(67) |
Jul
(48) |
Aug
(48) |
Sep
(86) |
Oct
(75) |
Nov
(64) |
Dec
(52) |
2010 |
Jan
(57) |
Feb
(31) |
Mar
(28) |
Apr
(40) |
May
(25) |
Jun
(42) |
Jul
(79) |
Aug
(31) |
Sep
(49) |
Oct
(66) |
Nov
(38) |
Dec
(25) |
2011 |
Jan
(29) |
Feb
(18) |
Mar
(44) |
Apr
(6) |
May
(28) |
Jun
(31) |
Jul
(36) |
Aug
(24) |
Sep
(30) |
Oct
(23) |
Nov
(21) |
Dec
(27) |
2012 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(48) |
May
(7) |
Jun
(32) |
Jul
(22) |
Aug
(25) |
Sep
(31) |
Oct
(32) |
Nov
(21) |
Dec
(17) |
2013 |
Jan
(44) |
Feb
(27) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve S. <st...@sp...> - 2013-11-21 23:22:08
|
I have not seen that. Can you post a simple script that shows the same issue? thanks, -steve On Nov 21, 2013, at 3:11 PM, Paul Camp <PC...@sp...> wrote: > Sorry, replied to a previous email and forgot to change the subject line. > > > Dr. Paul J. Camp > Physics Department > Spelman College > Atlanta, GA 30314 > 404-270-5864 > > "The beauty of the cosmos derives not only from unity in variety > but also from variety in unity" > -- Umberto Eco > The Name of the Rose > > > > From: Paul Camp <PC...@sp...> > To: > Cc: "vis...@li..." <vis...@li...> > Date: 11/21/2013 05:10 PM > Subject: Re: [Visualpython-users] a new Linux install solution for Visual Python > > > > I have a student running Vpython on a Mac who has run into a problem I've never seen before. She has an animation program that works. It creates objects, updates positions and such. However, the animation window itself is a featureless light gray box until the program is complete. Then the final state of the objects appears. > > I've copied the program to my Windows VPython installation and it runs just fine. Well, the physics is wrong currently, but it does what it was told to do and I can see the full animation. > > Has anyone seen this behavior before? > > > Dr. Paul J. Camp > Physics Department > Spelman College > Atlanta, GA 30314 > 404-270-5864 > > "The beauty of the cosmos derives not only from unity in variety > but also from variety in unity" > -- Umberto Eco > The Name of the Rose------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Paul C. <PC...@sp...> - 2013-11-21 22:11:57
|
Sorry, replied to a previous email and forgot to change the subject line. Dr. Paul J. Camp Physics Department Spelman College Atlanta, GA 30314 404-270-5864 "The beauty of the cosmos derives not only from unity in variety but also from variety in unity" -- Umberto Eco The Name of the Rose From: Paul Camp <PC...@sp...> To: Cc: "vis...@li..." <vis...@li...> Date: 11/21/2013 05:10 PM Subject: Re: [Visualpython-users] a new Linux install solution for Visual Python I have a student running Vpython on a Mac who has run into a problem I've never seen before. She has an animation program that works. It creates objects, updates positions and such. However, the animation window itself is a featureless light gray box until the program is complete. Then the final state of the objects appears. I've copied the program to my Windows VPython installation and it runs just fine. Well, the physics is wrong currently, but it does what it was told to do and I can see the full animation. Has anyone seen this behavior before? Dr. Paul J. Camp Physics Department Spelman College Atlanta, GA 30314 404-270-5864 "The beauty of the cosmos derives not only from unity in variety but also from variety in unity" -- Umberto Eco The Name of the Rose ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Paul C. <PC...@sp...> - 2013-11-21 22:08:50
|
I have a student running Vpython on a Mac who has run into a problem I've never seen before. She has an animation program that works. It creates objects, updates positions and such. However, the animation window itself is a featureless light gray box until the program is complete. Then the final state of the objects appears. I've copied the program to my Windows VPython installation and it runs just fine. Well, the physics is wrong currently, but it does what it was told to do and I can see the full animation. Has anyone seen this behavior before? Dr. Paul J. Camp Physics Department Spelman College Atlanta, GA 30314 404-270-5864 "The beauty of the cosmos derives not only from unity in variety but also from variety in unity" -- Umberto Eco The Name of the Rose |
From: pataphor <pat...@gm...> - 2013-10-14 11:20:23
|
On 10/12/2013 06:12 PM, Bruce Sherwood wrote: > It doesn't really matter whether you write to me or to the old mailing > list, since we're probably the only people viewing that mailing list. As long as the mailing list stays synced with gmane it matters a lot, since I can now just point other people to the gmane website or their nntp server. > I guess I muddied the waters by trying wxPython 2.9.5, which I think you > had mentioned. Like 2.9.4, it does require a patch, with I've included in > the VPython repository. See the updated INSTALL.txt file: > > https://github.com/BruceSherwood/vpython-wx/blob/master/INSTALL.txt Thank you for uploading the patch and updating the install instructions. I've had some small success that I can mention. The 2.9.5.0 installation process failed at first because of the traceback I mentioned in my earlier post. After adapting the code around: File "/home/xxxx/src/wxPython-src-2.9.5.0/build/tools/builder.py", line 134, in install to make it read like this: def install(self, dir=None, projectFile=None, options=[]): if self.isAvailable(): args = [self.getProgramPath()] args.extend(self.getProjectFileArg(projectFile)) args.append("install") if options: args.extend(options) result = runInDir(args, dir) return result return 1 The command: sudo python2.7 build-wxpython.py --build_dir=../bld --install Now successfully compiles and installs wxPython 2.9.5.0 on my system. (Note: all I did was to add the "if options" clause) It also seems necessary to reboot the system after this, which made me discover only later, after I accidentally had to reboot the system because of an unrelated issue, that the install had actually succeeded! I can now even choose which wx version I start wxPython with, using wxversion. There is also some small progress with the window drawing, in that I can now also get the windrow to start drawing things if I only move it, instead of having to resize it as I mentioned earlier. This works for both wx version 2.9.4 and 2.9.5, which makes me wonder whether I could have overlooked that earlier. Unfortunately the opacity problem is still the same for me in vPython 6.5 compiled with wxpython 2.9.5.0 I have tried to find better graphics drivers for my system but haven't been successful. There is some small hope that Ubuntu 13 would enable me to update the driver. > I used 2.9.5 partly because it's now the version available at wxpython.org, > and I wanted to make sure VPython works with it. On 64-bit Ubuntu 12.04 I > didn't see your bug with 2.9.4 and I don't see it with 2.9.5. No one else > has reported your bug (which doesn't prove that they wouldn't see the bug > if they tried your example, of course). Since I managed to compile 2.9.5.0 for a 32 bit Ubuntu 12.04, maybe some people having the same traceback as me but with a different graphics card could still benefit from my failure. > I don't know anything about gmane but would be happy to make the > connection. How would I do that? Currently the mailing list is already synced to gmane, so please do nothing. After looking into the wxpython mailing list situation, while trying to sign up, I discovered that in order to sign up one has to go through Google groups, which is a catch 22 situation for me since I don't want to use Google groups. P. |
From: Bruce S. <Bru...@nc...> - 2013-10-12 16:12:40
|
It doesn't really matter whether you write to me or to the old mailing list, since we're probably the only people viewing that mailing list. I guess I muddied the waters by trying wxPython 2.9.5, which I think you had mentioned. Like 2.9.4, it does require a patch, with I've included in the VPython repository. See the updated INSTALL.txt file: https://github.com/BruceSherwood/vpython-wx/blob/master/INSTALL.txt I used 2.9.5 partly because it's now the version available at wxpython.org, and I wanted to make sure VPython works with it. On 64-bit Ubuntu 12.04 I didn't see your bug with 2.9.4 and I don't see it with 2.9.5. No one else has reported your bug (which doesn't prove that they wouldn't see the bug if they tried your example, of course). I don't know anything about gmane but would be happy to make the connection. How would I do that? Bruce On Sat, Oct 12, 2013 at 3:11 AM, pataphor <pat...@gm...> wrote: > On 10/12/2013 07:37 AM, Bruce Sherwood wrote: > > I did a fresh build from source of VPython 6.05 on Ubuntu 12.04, using > > wxPython 2.9.5. The example programs opacity-test1.py and > opacity-test4.py > > run correctly (fully opaque), as expected. The only possible explanation > > has to be the graphics driver, yet this explanation seems to be ruled out > > by the box being opaque with VPython 5.12. ????? > > Thank you for testing my script. Since we're now on the public mailing > list I'll just copy it here for those who are reading: > > """ > from visual import * > import itertools > > scene.range = 3 > scene.background = .5,.5,.5 > scene.forward = 1,-1,-1 > > A,B,C,D,E,F,G,H = itertools.product([-1,1],[-1,1],[-1,1]) > > data ={(A,B,D,A,D,C) : color.red, (A,C,G,A,G,E) : color.green, > (A,E,F,A,F,B) : color.blue, (H,G,C,H,C,D) : color.white, > (H,D,B,H,B,F) : color.yellow, (H,F,E,H,E,G) : color.orange} > > for P,C in data.items(): > faces(pos = P, color = C, normal = [1,1,1]) > > sphere(color = color.yellow, radius = .5, normal = [1,1,1]) > """ > > On my vPython 6.5 installation this results in the sphere being visible > even if it is completely inside the colored box. > > Another possible explanation, apart from your idea that this could be > caused by my graphic drivers, is I built it with wxPython 2.9.4.0, with > the patch that can be found here: > > http://sourceforge.net/projects/wxpython/files/wxPython/2.9.4.0/ > > While you built it with wxPython 2.9.5.0, which doesn't seem to need a > patch. > > So I tried downloading the new version, and built wxPython 2.9.5.0 with > the command: > > sudo python2.7 build-wxpython.py --build_dir=../bld > > and this succeeded. > > However, when I next tried to install wxPython 2.9.5.0 with the command: > > sudo python2.7 build-wxpython.py --build_dir=../bld --install > > This fails with a python traceback. (this same command succeeded in the > corresponding wxPython 2.9.4.0 directory) > > After inspecting the relevant parts of the the traceback: > > Traceback (most recent call last): > File "build-wxpython.py", line 378, in <module> > wxbuild.main(wxscript, build_options) > File > "/home/xxxx/src/wxPython-src-2.9.5.0/build/tools/build-wxwidgets.py", > line 485, in main > wxBuilder.install(dir=buildDir, options=extra) > File "/home/xxxx/src/wxPython-src-2.9.5.0/build/tools/builder.py", > line 134, in install > args.extend(options) > TypeError: 'NoneType' object is not iterable > > and looking this up in the referenced python file build-wxwidgets.py > I see this code around line 485: > > if options.install: > extra=None > if installDir: > extra = ['DESTDIR='+installDir] > wxBuilder.install(dir=buildDir, options=extra) > > it seems that if installDir is false (and the empty string is false in > python!), extra remains to be None. > > This seems to be a bug in wxPython 2.9.5.0, or maybe there is something > wrong with my system. I tried to get feedback about this on freenode IRC > in the wxPython channel but there was no one active at that time. > > Then I looked up the wxPython user group on gmane. Incidentally, I > noticed that even though they are using google groups, they still are > synced to gmane. Maybe this is also a good idea for the vPython user group? > > Meanwhile, I have two other options for exploring this possibility, that > the opacity difference could be caused by different wxPython versions, > one is to subscribe to the wxPython mailing list/google groups/gmane > interface and ask about the possible bug in wxPython there, and the > other is to just look at my list of installed files from 2.9.4.0 and > copy over the corresponding files from 2.9.5.0 manually. > > I'm curious about whether you also had this traceback, and if not, why not? > > P. > > > > > > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: pataphor <pat...@gm...> - 2013-10-12 09:11:51
|
On 10/12/2013 07:37 AM, Bruce Sherwood wrote: > I did a fresh build from source of VPython 6.05 on Ubuntu 12.04, using > wxPython 2.9.5. The example programs opacity-test1.py and opacity-test4.py > run correctly (fully opaque), as expected. The only possible explanation > has to be the graphics driver, yet this explanation seems to be ruled out > by the box being opaque with VPython 5.12. ????? Thank you for testing my script. Since we're now on the public mailing list I'll just copy it here for those who are reading: """ from visual import * import itertools scene.range = 3 scene.background = .5,.5,.5 scene.forward = 1,-1,-1 A,B,C,D,E,F,G,H = itertools.product([-1,1],[-1,1],[-1,1]) data ={(A,B,D,A,D,C) : color.red, (A,C,G,A,G,E) : color.green, (A,E,F,A,F,B) : color.blue, (H,G,C,H,C,D) : color.white, (H,D,B,H,B,F) : color.yellow, (H,F,E,H,E,G) : color.orange} for P,C in data.items(): faces(pos = P, color = C, normal = [1,1,1]) sphere(color = color.yellow, radius = .5, normal = [1,1,1]) """ On my vPython 6.5 installation this results in the sphere being visible even if it is completely inside the colored box. Another possible explanation, apart from your idea that this could be caused by my graphic drivers, is I built it with wxPython 2.9.4.0, with the patch that can be found here: http://sourceforge.net/projects/wxpython/files/wxPython/2.9.4.0/ While you built it with wxPython 2.9.5.0, which doesn't seem to need a patch. So I tried downloading the new version, and built wxPython 2.9.5.0 with the command: sudo python2.7 build-wxpython.py --build_dir=../bld and this succeeded. However, when I next tried to install wxPython 2.9.5.0 with the command: sudo python2.7 build-wxpython.py --build_dir=../bld --install This fails with a python traceback. (this same command succeeded in the corresponding wxPython 2.9.4.0 directory) After inspecting the relevant parts of the the traceback: Traceback (most recent call last): File "build-wxpython.py", line 378, in <module> wxbuild.main(wxscript, build_options) File "/home/xxxx/src/wxPython-src-2.9.5.0/build/tools/build-wxwidgets.py", line 485, in main wxBuilder.install(dir=buildDir, options=extra) File "/home/xxxx/src/wxPython-src-2.9.5.0/build/tools/builder.py", line 134, in install args.extend(options) TypeError: 'NoneType' object is not iterable and looking this up in the referenced python file build-wxwidgets.py I see this code around line 485: if options.install: extra=None if installDir: extra = ['DESTDIR='+installDir] wxBuilder.install(dir=buildDir, options=extra) it seems that if installDir is false (and the empty string is false in python!), extra remains to be None. This seems to be a bug in wxPython 2.9.5.0, or maybe there is something wrong with my system. I tried to get feedback about this on freenode IRC in the wxPython channel but there was no one active at that time. Then I looked up the wxPython user group on gmane. Incidentally, I noticed that even though they are using google groups, they still are synced to gmane. Maybe this is also a good idea for the vPython user group? Meanwhile, I have two other options for exploring this possibility, that the opacity difference could be caused by different wxPython versions, one is to subscribe to the wxPython mailing list/google groups/gmane interface and ask about the possible bug in wxPython there, and the other is to just look at my list of installed files from 2.9.4.0 and copy over the corresponding files from 2.9.5.0 manually. I'm curious about whether you also had this traceback, and if not, why not? P. |
From: Bruce S. <Bru...@nc...> - 2013-10-12 05:38:02
|
I did a fresh build from source of VPython 6.05 on Ubuntu 12.04, using wxPython 2.9.5. The example programs opacity-test1.py and opacity-test4.py run correctly (fully opaque), as expected. The only possible explanation has to be the graphics driver, yet this explanation seems to be ruled out by the box being opaque with VPython 5.12. ????? |
From: pataphor <pat...@gm...> - 2013-10-11 08:27:01
|
On 10/10/2013 04:22 PM, Steve Spicklemire wrote: ["Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined"] > Trying to research this… are you running the script as root somehow? > I see others have reported seeing this error when running programs > (not vpython) as a user other than the current desktop user. Also, do > your windows have borders and other normal decorations? No, I'm not running as root and my windows have borders. Meanwhile, I tried switching desktop environments, and found that the message doesn't appear if I switch my desktop environment to ubuntu2d. P. |
From: pataphor <pat...@gm...> - 2013-10-08 11:00:15
|
On 09/08/2013 07:01 AM, kirby urner wrote: > Apologies if this is the wrong list to report this: Some time ago this mailing list was supposed to be moved to google groups. I am no big fan of google groups, because it is a centralized solution, and because I hate to have to use javascript in my browser. There's nothing wrong with javascipt, but I just don't like the idea of executing programs without first having a chance to vet them. I am afraid to be very alone in this. Anyway, if this message comes trough, the mailing list still seems to work, as does the interface to gmane. I just signed up to reply to your message. > I led a workshop in Chicago recently, wherein I spent some time advertising > the many virtues of Visual Python. > > My "students" were DjangoCon developers and fellow travelers, some of whom > tend to be skilled packagers of installers. > > When a couple of them realized there was no current installer for Linux, > with advice to use Wine, they promptly set about making such an installer. > > Here's a blog post one of the wrote: > > http://blog.maestropublishing.com/2013/09/03/installing-vpython-visual-python-on-linux/ > > I'm hoping the work gets integrated into the web site. There's the option > to pip install as well. The pip install downloaded the code from git, claimed success and then it didn't work. Then I noticed the code was already merged into the main vpython branch, so I tried to pip from there, with the same result. Since I already had succeeded before to download and compile a previous version of vpython, I think it was a 6.5, I downloaded the zipfile and compiled that. I assume my wxpython compilation was still valid, but I had to manually download and install polygon, fonttools and ttfquery and compile again. It seems to work now but I always get: "Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined" printed to my terminal before it executes the script. Maybe that is a side-effect of my system configuration: Ubuntu 12.04 32 bit, and using an lxde desktop. There seems to be a kind of problem in that I first have to resize the window to get anything in the window drawn. Also, I used to use the faces object a lot, and the fact that there isn't an option for opacity yet is a problem. On windows the opacity is set to zero I think so that my old programs still work there, but the ubuntu vpython version I compiled has opacity for faces set around .5 or so which gives very weird effects, especially when one tries to make a faces object two sided. So now I'm wondering whether to convert my faces objects to pyramids, which do have opacity, or to wait until opacity is implemented. If there's an option in the source code somewhere to make opacity behave as it does in windows, that would help me a lot. I had to use the trick of setting "enable_shaders = False" in site_settings.py because my system is just too slow if I leave that as it is. As the situation is now I am still undecided about whether to go back to the standard ubuntu install of vpython 5.12 again, which works out of the box and has opaque faces objects, or to modify my code so that it doesn't use them anymore. P. |
From: kirby u. <kir...@gm...> - 2013-09-08 05:01:29
|
Apologies if this is the wrong list to report this: I led a workshop in Chicago recently, wherein I spent some time advertising the many virtues of Visual Python. My "students" were DjangoCon developers and fellow travelers, some of whom tend to be skilled packagers of installers. When a couple of them realized there was no current installer for Linux, with advice to use Wine, they promptly set about making such an installer. Here's a blog post one of the wrote: http://blog.maestropublishing.com/2013/09/03/installing-vpython-visual-python-on-linux/ I'm hoping the work gets integrated into the web site. There's the option to pip install as well. Kirby |
From: Paul C. <PC...@sp...> - 2013-08-23 16:32:27
|
Thanks! Bruce suggested the same solution. I'll try it out. Dr. Paul J. Camp Physics Department Spelman College Atlanta, GA 30314 404-270-5864 "The beauty of the cosmos derives not only from unity in variety but also from variety in unity" -- Umberto Eco The Name of the Rose From: Kadir Haldenbilen <kha...@ya...> To: Mark Janssen <dre...@gm...>, Paul Camp <PC...@sp...> Cc: vpusers <vis...@li...> Date: 08/23/2013 03:11 AM Subject: Re: [Visualpython-users] is there a label attribute for objects? You can define a new simple label function of your own, which is "attached" to an object like the following example: from visual import * bb = box() def objLabel(object, **kwargs): ll = label(pos=object.pos, **kwargs) return ll ol = objLabel(bb, text="Center of a Box") So now instead of using VPython label function, they can use objLabel function, with an object attached to it. Kadir From: Mark Janssen <dre...@gm...> To: Paul Camp <PC...@sp...> Cc: vpusers <vis...@li...> Sent: Friday, August 23, 2013 2:06 AM Subject: Re: [Visualpython-users] is there a label attribute for objects? That's an interesting idea. Most Labels *are* attached to objects. If an objects label attribute is None, display nothing. The problem is that Label currently has it's *own* set of attributes, so one would have to make all Labels have the same characteristics (which might be acceptable and could be settable in the Frame or Display object). Probably is better than Python and the programmer handling all those separate Label objects. My $0.02... Mark ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Kadir H. <kha...@ya...> - 2013-08-23 07:11:39
|
You can define a new simple label function of your own, which is "attached" to an object like the following example: from visual import * bb = box() def objLabel(object, **kwargs): ll = label(pos=object.pos, **kwargs) return ll ol = objLabel(bb, text="Center of a Box") So now instead of using VPython label function, they can use objLabel function, with an object attached to it. Kadir ________________________________ From: Mark Janssen <dre...@gm...> To: Paul Camp <PC...@sp...> Cc: vpusers <vis...@li...> Sent: Friday, August 23, 2013 2:06 AM Subject: Re: [Visualpython-users] is there a label attribute for objects? That's an interesting idea. Most Labels *are* attached to objects. If an objects label attribute is None, display nothing. The problem is that Label currently has it's *own* set of attributes, so one would have to make all Labels have the same characteristics (which might be acceptable and could be settable in the Frame or Display object). Probably is better than Python and the programmer handling all those separate Label objects. My $0.02... Mark ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Mark J. <dre...@gm...> - 2013-08-22 23:06:31
|
That's an interesting idea. Most Labels *are* attached to objects. If an objects label attribute is None, display nothing. The problem is that Label currently has it's *own* set of attributes, so one would have to make all Labels have the same characteristics (which might be acceptable and could be settable in the Frame or Display object). Probably is better than Python and the programmer handling all those separate Label objects. My $0.02... Mark |
From: Paul C. <PC...@sp...> - 2013-08-22 21:47:37
|
I'm thinking something like an arrow with text under it that says something like "v1 = 10 m/s" I know I can create a label object separately and make it move around but that would be a tedious hassle for my students to do. They have enough trouble getting a functional animation. Dr. Paul J. Camp Physics Department Spelman College Atlanta, GA 30314 404-270-5864 "The beauty of the cosmos derives not only from unity in variety but also from variety in unity" -- Umberto Eco The Name of the Rose |
From: kirby u. <kir...@gm...> - 2013-07-05 23:01:05
|
Francisco seems to have picked very recent or current versions of everything which to me indicates he's serious about bringing Arthur's code forward. As Bruce points out, unless he has already gone to serious lengths to somehow overhaul the code, it's likely to also run in a 2.7 environment with this change to make it forward compatible: from __future__ import division, print_function My guess is getting Python 3.2 + Visual 5.74 working smoothly *before* trying to run Arthur's program with those tools would be a good strategy i.e. make sure the demos work and that you have a working Vpython environment. Then add Arthur's code as a package under site-packages (but I forget if it was really that simple an architecture -- I'm pretty sure it was). Another group you might post to about this work is ed...@py... -- that's where Arthur himself used to do a lot of posting, his writings easily findable in the archive. I'd say Arthur's passion was projective geometry more than Python / VPython per se. He looked long and hard for the tools that would enable him to express his vision and Python / VPython was what came closest, but he was always critical of what he perceived as shortcomings. I see Arthur as a pioneer, going deeply into a synergy (projective geometry + computer programming) that relatively few have explored to date, since both are specialized subjects and one tends to be strong in either one or the other. Given he was an amateur with a background in finance, I think Arthur's being relatively "weak" in both, compared to an expert in either, is what enabled him to take it as far as he did. He grew strong in a new way. A trailblazer. Kirby On Fri, Jul 5, 2013 at 11:43 AM, Joel Kahn <jj...@ya...> wrote: > Some of you may remember Pygeo, the project started by the late Arthur > Siegel > and orphaned after his untimely passing. A guy in Spain, Francisco Gracia, > is > taking a stab at updating the project, and I'm attempting to help. He put > together > an alpha version of his first effort, and he's sent me a copy. In order > for me to > even try to look at it properly, I'll need to have the same environment on > my > computer that he used to construct his upgrade. > > Here's where it gets interesting. He emailed me these specs: Python 3.3.2, > Numpy 1.7.1, and visual 5.72. Needless to say, this doesn't exactly match > what's > currently available for download. The closest thing I've found is Python > 3.3 with > VPython 5.74. I don't have the foggiest about the Numpy version involved. > If that's the best I can get, I could certainly give it a whirl; however, > given the > shakiness of the whole situation, I'd definitely rather not bring in even > small > incompatibilitiesif I can help it. > > > I encourage any ideas, comments, suggestions, info, &c that anyone wants to > toss in. If somebody desires to join the Pygeo effort, I'll certainly > welcome it-- > especially if you're better qualified, which I'm sure many of you would be. > Maybe a class project for ambitious students? > > > If you'd like to contact Francisco Gracia directly, here's his address: > > fgr...@gm... > > > Thanks in advance for help. > > Joel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Bruce S. <Bru...@nc...> - 2013-07-05 19:53:09
|
VPython discussions have moved to a Google group: https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users As for your question, no, there isn't availableany version for Python 3.3 (at least not at vpython.org) . However, VPython 5.74 for Python 3.2 should be essentially identical to what your colleague is using. Even the current VPython 6.05 for Python 2.7 will probably work as long as you place the following statement at the start of the program: from __future__ import division, print_function The version of numpy is unlikely to make any difference. Bruce Sherwood On Fri, Jul 5, 2013 at 12:43 PM, Joel Kahn <jj...@ya...> wrote: > Some of you may remember Pygeo, the project started by the late Arthur > Siegel > and orphaned after his untimely passing. A guy in Spain, Francisco Gracia, > is > taking a stab at updating the project, and I'm attempting to help. He put > together > an alpha version of his first effort, and he's sent me a copy. In order > for me to > even try to look at it properly, I'll need to have the same environment on > my > computer that he used to construct his upgrade. > > Here's where it gets interesting. He emailed me these specs: Python 3.3.2, > Numpy 1.7.1, and visual 5.72. Needless to say, this doesn't exactly match > what's > currently available for download. The closest thing I've found is Python > 3.3 with > VPython 5.74. I don't have the foggiest about the Numpy version involved. > If that's the best I can get, I could certainly give it a whirl; however, > given the > shakiness of the whole situation, I'd definitely rather not bring in even > small > incompatibilitiesif I can help it. > > > I encourage any ideas, comments, suggestions, info, &c that anyone wants to > toss in. If somebody desires to join the Pygeo effort, I'll certainly > welcome it-- > especially if you're better qualified, which I'm sure many of you would be. > Maybe a class project for ambitious students? > > > If you'd like to contact Francisco Gracia directly, here's his address: > > fgr...@gm... > > > Thanks in advance for help. > > Joel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Joel K. <jj...@ya...> - 2013-07-05 18:43:18
|
Some of you may remember Pygeo, the project started by the late Arthur Siegel and orphaned after his untimely passing. A guy in Spain, Francisco Gracia, is taking a stab at updating the project, and I'm attempting to help. He put together an alpha version of his first effort, and he's sent me a copy. In order for me to even try to look at it properly, I'll need to have the same environment on my computer that he used to construct his upgrade. Here's where it gets interesting. He emailed me these specs: Python 3.3.2, Numpy 1.7.1, and visual 5.72. Needless to say, this doesn't exactly match what's currently available for download. The closest thing I've found is Python 3.3 with VPython 5.74. I don't have the foggiest about the Numpy version involved. If that's the best I can get, I could certainly give it a whirl; however, given the shakiness of the whole situation, I'd definitely rather not bring in even small incompatibilitiesif I can help it. I encourage any ideas, comments, suggestions, info, &c that anyone wants to toss in. If somebody desires to join the Pygeo effort, I'll certainly welcome it-- especially if you're better qualified, which I'm sure many of you would be. Maybe a class project for ambitious students? If you'd like to contact Francisco Gracia directly, here's his address: fgr...@gm... Thanks in advance for help. Joel |
From: Bruce S. <Bru...@nc...> - 2013-04-20 16:04:25
|
VPython 6.05 has been released for Windows and Macintosh; installers are as usual available on the download pages at vpython.org. There isn't yet a 6.05 package for Linux, but one can always get the latest source from https://github.com/BruceSherwood/vpython-wx. This release corrects various minor bugs. Bruce Sherwood and Steve Spicklemire P.S. For more information, see the VPython forum: https://groups.google.com/forum/?fromgroups=&hl=en#!forum/vpython-users |
From: Bruce S. <Bru...@nc...> - 2013-03-07 03:13:08
|
There's now a Google forum for VPython users, and this email list is being phased out. The forum is here: https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users Presumably you're using the old "import controls", in which case note that the documentation states that "Every controls window has the attribute display; sphere(display=c.display) will place a sphere in the controls window named c." So you can put anything you want in the controls window. The 2D label object can be used to label elements of the scene. I don't know what you mean by "the 2D rectangle". Bruce Sherwood On Sat, Mar 2, 2013 at 10:22 AM, Dan Aldrich <dal...@ea...> wrote: > Couple of questions: > > - Can labels and/or tick marks be placed on sliders? > - Can 2D objects be in 3D windows (I'm guessing no)? Would like to mark > references within the 3D space. > > > Doing a simple model of a PN junction, want to show how the depletion > region grows and shrines with applied bias voltage. It's working, but would > like to polish it a bit. > > First attempt was using the 2D rectangle, but couldn't get the slider to > change the width of the rectangle. Making the object a box worked just fine. > > Thanks, > -d > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Bruce S. <Bru...@nc...> - 2013-03-02 21:47:30
|
VPython 6.04 has been released for Windows, Macintosh, and Linux; installers are as usual available on the download pages at vpython.org. Among the new installers is one for those who use the Enthought Python distribution on a Macintosh. This release corrects various minor bugs and offers improved documentation, especially connected with extrusions (stimulated by the discussions in the VPython forum concerning the extrusion object). The forum is located at https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users Bruce Sherwood and Steve Spicklemire |
From: Dan A. <dal...@ea...> - 2013-03-02 17:22:02
|
Couple of questions: - Can labels and/or tick marks be placed on sliders? - Can 2D objects be in 3D windows (I'm guessing no)? Would like to mark references within the 3D space. Doing a simple model of a PN junction, want to show how the depletion region grows and shrines with applied bias voltage. It's working, but would like to polish it a bit. First attempt was using the 2D rectangle, but couldn't get the slider to change the width of the rectangle. Making the object a box worked just fine. Thanks, -d |
From: Bruce S. <Bru...@nc...> - 2013-02-20 06:26:42
|
VPython 6.03 is now available on the Windows, Mac, and Linux download pages at vpython.org. This fixes various bugs in VPython 6.02 and provides improved documentation on the new capabilities of VPython 6, which is based on the cross-platform GUI library wxPython. VPython 6.02 runs on Python 2.7. We had hoped to be able to offer versions for Python 3.2, but wxPython for Python 3 made possible by the "Phoenix" project isn't quite ready yet. Bruce Sherwood and Steve Spicklemire P.S. This announcement was posted on the new VPython-users forum located at https://groups.google.com/forum/?fromgroups=&hl=en#!forum/vpython-users |
From: Bruce S. <Bru...@nc...> - 2013-02-16 00:04:29
|
There is now a Google-group forum for users of VPython: groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users There are reasons to expect that this will be a significantly better way for the VPython user community to discuss matters of common interest. We will stop using the VPython mailing list, but the new forum has a link to the mailing list archives. Steve Spicklemire Bruce Sherwood |
From: Bruce S. <Bru...@nc...> - 2013-02-15 17:25:09
|
I meant to share this note with the whole mailing list, especially because the user asked why we don't have a forum, which is a good question. It's basically just historical. I've been increasingly pleased with Google Groups; so I'll look into creating one for the VPython community. Bruce Sherwood ---------- Forwarded message ---------- From: Bruce Sherwood <Bru...@nc...> Date: Fri, Feb 15, 2013 at 10:06 AM Subject: Re: [Visualpython-users] VPython-basics: how move the centre-point of rotation to the centre of a cuboid (not (0, 0, 0)) ? To: Ottmar Petry <Ott...@gm...> You can change the center of the scene (which is also the center of camera rotation with the mouse) by setting scene.center. You may have already found them, but I'll point out that there is a great variety of example programs installed when you install VPython. The download page at vpython.org explains how to find these programs. For example, on Windows, after starting VIDLE just go to File > Open and you can choose an example program to run. Also, in the Contributed section of vpython.org you will find a variety of additional example programs. You mention wanting to make objects with holes in them. Be sure to study the "extrusion" object, and the example programs that use extrusions. Bruce Sherwood On Fri, Feb 15, 2013 at 9:02 AM, Ottmar Petry <Ott...@gm...> wrote: > Hello. > > I want to show 3D-geometric objects like wooden boards > with drillings/holes inside and e.g. pockets milled inside and found some > infos > about Python/VPython. Normally I am programming in C++ (Visual Studio > 2008 Windows) > but I did not find a very simple free tool to generate a 3D-view of such > simple > geometric figures which can easily be zoomed and rotated. > > Then I found VPython, made the installation and took a look at the > examples. > This seemed to be quite simple. > > But off course I will need some help and therefore I looked for further > info > and found this mailing list. > I wonder why there is no forum for VPython users ? > Now I try to get some answers to basic questions of a beginner. > > When I draw a cuboid / cube with details around it and have the point > (0,0,0) > at one corner of the cuboid then I want to set the zero-point for > rotation and zooming somewhere in the centre of the cuboid and not in > (0,0,0). > > At the moment it seems to me that the centre-point for rotation using the > mouse is always (0,0,0). How can I move this point to the centre of the > whole > geometry ? Or how can I reach the same result ? > > Can you send me some simple example for building such geometries with a > cuboid > or links to sides with some examples ? > > That would be very nice. > Thanks in advance > Ottmar > > > |
From: Ottmar P. <Ott...@gm...> - 2013-02-15 16:02:29
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"> </head> <body text="#000000" bgcolor="#FFFFFF"> <font size="-1">Hello.<br> <br> I want to show 3D-geometric objects like wooden boards<br> with drillings/holes inside and e.g. pockets milled inside and found some infos<br> about Python/VPython. Normally I am programming in C++ (Visual Studio 2008 Windows)<br> but I did not find a very simple free tool to generate a 3D-view of such simple<br> geometric figures which can easily be zoomed and rotated.<br> <br> Then I found VPython, made the installation and took a look at the examples.<br> This seemed to be quite simple.<br> <br> But off course I will need some help and therefore I looked for further info<br> and found this mailing list.<br> I wonder why there is no forum for VPython users ?<br> Now I try to get some answers to basic questions of a beginner.<br> <br> When I draw a cuboid / cube with details around it and have the point (0,0,0)<br> at one corner of the cuboid then I want to set the zero-point for <br> rotation and zooming somewhere in the centre of the cuboid and not in (0,0,0).<br> <br> At the moment it seems to me that the centre-point for rotation using the<br> mouse is always (0,0,0). How can I move this point to the centre of the whole<br> geometry ? Or how can I reach the same result ?<br> <br> Can you send me some simple example for building such geometries with a cuboid<br> or links to sides with some examples ?<br> <br> That would be very nice.<br> Thanks in advance<br> Ottmar<br> <br> <br> </font> </body> </html> |