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: Thomas S. <to...@fe...> - 2010-11-15 20:14:12
|
On Thu, 11 Nov 2010 14:33:38 -0500 Jim Pudar wrote: > Hello, > > I have been fruitlessly trying to get VPython to work on my 64-Bit > Fedora 13 installation. I was able to get it running on my 32-Bit > laptop after hours of frustration, but I seem to be getting nowhere > here. > > When I try to run any code which I know to be error free, I get the > message > > "VPython ***CRITICAL ERROR***: ./gtk2/render_surface.cpp:88: > render_surface: failed to initialize any OpenGL configuration, > Aborting." > > I have the mesa OpenGL libraries installed. > > Any ideas? > Yes, try out the fedora package (currently in the testing repositories): "yum install python-visual --enablerepo=updates-testing" Thomas |
From: Kadir H. <kha...@ya...> - 2010-11-14 19:49:11
|
John, I do not know how you change the pos or axis of your arrow but, let's assume: aa = arrow(pos=pos, axis=axis) then, if you change pos and axis like: aa.pos = newpos aa.axis = newaxis the position and the axis of the original (one and only) arrow should be changing as you like, without needing any delete / define. Kadir ________________________________ From: John Doe <joh...@gm...> To: vis...@li... Sent: Sun, November 14, 2010 9:37:03 PM Subject: Re: [Visualpython-users] Visualpython-users Digest, Vol 54, Issue 4 Bruce, I need to delete or clear the arrow because everytime I try to change the pos or axis, another (a new) arrow appears in that position. So then I have several arrows; I only want one. This is why I need a clear or delete function for the arrow. John On 11/13/10, vis...@li... <vis...@li...> wrote: > Send Visualpython-users mailing list submissions to > vis...@li... > > 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 > vis...@li... > > You can reach the person managing the list at > vis...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Visualpython-users digest..." > > > Today's Topics: > > 1. Re: VPython clear drawing (Bruce Sherwood) > 2. VPython - Slackware 13.1 (Sergio Mira) > 3. Re: VPython - Slackware 13.1 (Bruce Sherwood) > 4. install glitch and some code (kirby urner) > 5. Re: install glitch and some code (Bruce Sherwood) > 6. Re: install glitch and some code (kirby urner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 11 Nov 2010 20:03:37 -0700 > From: Bruce Sherwood <bas...@nc...> > Subject: Re: [Visualpython-users] VPython clear drawing > To: vis...@li... > Message-ID: > <AANLkTinDVf0EyBEC4zVRY6TSPgEM=FxF...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > It sounds like what you want to do is not delete the arrow but simply > change its pos and/or axis and/or color attributes. There is no need > to delete the arrow. > > Bruce Sherwood > > On Thu, Nov 11, 2010 at 6:34 PM, John Doe <joh...@gm...> wrote: >> I have been searching the VPython documentation, and have not been >> able to find a method to clear drawings. >> >> For example, if I were to draw the arrow from the documentation >> (http://vpython.org/contents/docs/visual/arrow.html), is it possible >> for me to clear the drawing and plot another arrow at another >> coordinate? ?Currently, I have been only able to plot arrows on-top of >> each other. >> >> If not, is there a visual.pointer(clear) or visual.pointer(clear)? >> >> Thanks, >> John ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: John D. <joh...@gm...> - 2010-11-14 19:37:13
|
Bruce, I need to delete or clear the arrow because everytime I try to change the pos or axis, another (a new) arrow appears in that position. So then I have several arrows; I only want one. This is why I need a clear or delete function for the arrow. John On 11/13/10, vis...@li... <vis...@li...> wrote: > Send Visualpython-users mailing list submissions to > vis...@li... > > 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 > vis...@li... > > You can reach the person managing the list at > vis...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Visualpython-users digest..." > > > Today's Topics: > > 1. Re: VPython clear drawing (Bruce Sherwood) > 2. VPython - Slackware 13.1 (Sergio Mira) > 3. Re: VPython - Slackware 13.1 (Bruce Sherwood) > 4. install glitch and some code (kirby urner) > 5. Re: install glitch and some code (Bruce Sherwood) > 6. Re: install glitch and some code (kirby urner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 11 Nov 2010 20:03:37 -0700 > From: Bruce Sherwood <bas...@nc...> > Subject: Re: [Visualpython-users] VPython clear drawing > To: vis...@li... > Message-ID: > <AANLkTinDVf0EyBEC4zVRY6TSPgEM=FxF...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > It sounds like what you want to do is not delete the arrow but simply > change its pos and/or axis and/or color attributes. There is no need > to delete the arrow. > > Bruce Sherwood > > On Thu, Nov 11, 2010 at 6:34 PM, John Doe <joh...@gm...> wrote: >> I have been searching the VPython documentation, and have not been >> able to find a method to clear drawings. >> >> For example, if I were to draw the arrow from the documentation >> (http://vpython.org/contents/docs/visual/arrow.html), is it possible >> for me to clear the drawing and plot another arrow at another >> coordinate? ?Currently, I have been only able to plot arrows on-top of >> each other. >> >> If not, is there a visual.pointer(clear) or visual.pointer(clear)? >> >> Thanks, >> John |
From: kirby u. <kir...@gm...> - 2010-11-14 00:55:10
|
On Sat, Nov 13, 2010 at 2:21 PM, Bruce Sherwood <bas...@nc...> wrote: > Thanks for the links. I happened to notice (in planets.py) these statements: > > from visual import * > from math import pi, sin, cos, radians > > The second import is superfluous. I found a similar situation in > vfun.py. Here is a blurb from the first page of the VPython 5.4 > on-line VPython help (the vis module is new with VPython 5.4): Yep, good pointer. > > ---------------------------------------------------------------------------------------------------------- > For experienced programmers > > As a convenience to novice programmers to provide everything needed to > get started, "from visual import *" imports all of the Visual features > and executes "from math import *" and "from numpy import *". It also > arranges that for routines common to both math and numpy such as sqrt, > the much faster math routine is used when possible (when the argument > is a scalar rather than an array). > I had a baptism by fire re NumPy this spring when I was fielded by Holden Web to do three intensive days in generic Python for some of the Hubble people (Space Telescope Science Institute -- I was at Maryland Science Center on Hubble's 20th birthday, watching the 3D IMAX movie with a few other grays). http://worldgame.blogspot.com/2010/04/python-gig.html STScI is a principal driver behind NumPy as you probably know. > If you want to import the visual objects selectively, import them from > the vis module. Two simple examples: > > import vis > vis.box(color=vis.color.orange,material=vis.materials.wood) > > from vis import (box, color, materials) > box(color=color.orange, material=materials.wood) > > There are clean modules vis.controls, vis.filedialog, and vis.graph > equivalent to the modules visual.controls, visual.filedialog, and > visual.graph. The latter versions execute "from visual import *" and > are retained because some programs expect that behavior when importing > one of these modules. > > The documentation is written assuming that "from visual import *" is used. > ---------------------------------------------------------------------------------------------------------- > > Given your teaching involving Pov-ray, I hope you're aware of the > povexport module available in the Contributed section of vpython.org, > which makes it easy to export a scene from VPython to Pov-ray, to > render with higher quality. > Yes, though only dimly. I should be pointing students to that resource way more than I do. POV-Ray is fantastic. I came to Python from Visual FoxPro, where I was doing the computations and spitting out scene description language. I even published an article about doing this in FoxPro Advisor, introducing my mostly business type readers to newfangled "quadray coordinates" (mucho esoteric). Memorabilia: http://www.flickr.com/photos/17157315@N00/5126606082/ http://www.flickr.com/photos/17157315@N00/5126606312/in/photostream/ http://en.wikipedia.org/wiki/Quadray_coordinates > Bruce > > P.S. I find it confusing that the way the mailing list works is that > Reply goes to the sender rather than to the group. Seems wrong. Dunno > if there's a way to change that. > In Majordomo and others I've administered, yes it's easy. But I have never studied the Sourceforge API so perhaps it ain't so easy with that one. List admin can be a royal pain. Only doing like two at the moment, both on Yahoo! (pretty easy). > P.P.S. I too have been deeply involved in computational education. > Ruth Chabay and I have developed an alternative to the university > intro physics course taken by engineering and science students, > treating intro physics from a 20th-century perspective (the standard > course is essentially a 19th-century course, due to enormous inertia > in physics departments). One of the many 20th-century aspects of the > course is that we've introduced serious computational modeling by the > students, who write and/or revise VPython programs to model physical > systems and/or display in 3D abstract quantities such as fields. You > can read about this at matterandinteractions.org. > I'm still kicking myself for not getting to Ruth Chabay's presentations at the most recent AAPT conference in Portland, Oregon, where I was hanging out with Dr. Bob Fuller emeritus, University of Nebraska / Lincoln. Bob seems to track your work pretty closely, but then he's an expert tracker where physics education is concerned, as I know from our collaboration on the First Person Physics project. Here's my pithy write-up of said conference -- more than one VPython talk in the catalog as I recall, dang that I missed em: http://worldgame.blogspot.com/2010/07/physics-conference.html What I'm attempting to do with movingballs2.py (just posted) right now is get it wrapped as a "local server" type COM object on Windows 7using Mark Hammond's Win32 stuff, so I can dramatically demonstrate Python running as a separate process, independently of the calling program -- which would be Microsoft Visual FoxPro 9 again (still using it). I'm pretty sure I'd need to use threading or the new multi-process API in Python 2.7. I have non-threaded COM working in the ReportLab pilot (PDF generation), but that's InProcess, not Local Server (different flavors of COM). My client would be most impressed if I could have those colored balls moving across the screen and change their color interactively by entering function calls in the FoxPro shell e.g. # COM object in Windows raygun = CREATEOBJECT("MartianMath.movingballs") raygun.start() # trigger thread or process << control returns, balls moving in VPython window >> raygun.ballcolor("red") << color changes, Vpython keeps running, control back to Fox >> raygun.ballcolor("green") etc. raygun.stop() release raygun It'd be visually cool. However the client's eventual applications are not VPythonic -- a transportation engineering company doing truck load optimization (traveling salesman / GIS type stuff), and getting impressive results (production environment, paying clients -- dang that MSFT is pulling the plug on the Fox, at one time a proud flagship -- too proud, some say). Yes, this is all rather esoteric stuff, but maybe the more generic VPython-in-its-own-process problem has been well worked in another (similar-enough) example? And/or I'll just keep plugging away with my little experiments. Can't be *that* difficult. Kirby PS: I was a debate partner vis-a-vis the late Arthur Siegel whom I see credited at your web site. We were actually pretty good buddies for all that sparring, had some cool meetups in NYC. Pygeo is a tour de force Vpython application and serious projective geometry application http://pygeo.sourceforge.net/ |
From: kirby u. <kir...@gm...> - 2010-11-13 18:57:27
|
Thank you for your advice re scene.select(). I do not bill myself as a VPython expert and tips such as yours are a primary reason why I joined this list. For more context regarding what my class setup is like, here's a link to my Martian Math table of contents: http://www.4dsolutions.net/satacad/martianmath/toc.html (you'd find some embedded Visual code) Also, I've done a fairly sophisticated intro to rendering vs. real time computer graphics for a course I called Pythonic Math: http://www.4dsolutions.net/ocn/pymath.html (viztoyz.py was the VPython module) Kirby Urner Portland, Oregon PS: I note 'Reply to' is set to your address, not to the list. Will adjust my reflexes accordingly. 8D/4D On Sat, Nov 13, 2010 at 9:39 AM, Bruce Sherwood <bas...@nc...> wrote: > If you do get the error again, I'd appreciate seeing what is reported > in the Shell window. Thanks. > > A very minor point: Perhaps it's there for a pedagogical purpose, but > "scene.select()" isn't necessary in your program, because the way the > Visual module works is that the most recent display creation governs > where objects will go. You only need scene.select() in a situation > where you have multiple displays and you want to switch to one that is > different from the currently active one. > > Bruce > > On Sat, Nov 13, 2010 at 10:20 AM, kirby urner <kir...@gm...> > wrote: > > On Sat, Nov 13, 2010 at 8:43 AM, Bruce Sherwood <bas...@nc...> > wrote: > >> > >> This is an unfamiliar problem. Was this with Python 2.7 or 3.1? It is > >> normal that in site-packages you'll see a folder FontTools (with an > >> uppercase F), and inside that folder you'll see a folder fontTools > >> (with a lowercase f) plus some other files. You should also see in > >> site-packages a file FontTools.pth. > >> > > > > Win7 / Python 2.7 > > Oh, so that's normal. > > I thought because the inner folder with the __init__.py was that deep > that > > it wasn't found on the search path, and indeed it was not as when I tried > > to run the code posted above, it crashed for not finding some fonttools > > stuff. When I moved the subdirectly to a higher level, it worked. > > I didn't think to look at site-packages for a FontTools.pth. I should do > > some more analysis and get back to ya. > > > >> > >> Could you perhaps uninstall and reinstall VPython and then report on > >> what you see in site-packages? A test that all is working properly is > >> to run the example program text3D.py, which uses the FontTools module > >> (and others) to produce 3D text. > >> > >> Bruce Sherwood > >> > > > > Yes I will do that. Thanks for the reply. > > Kirby > > > > > ------------------------------------------------------------------------------ > > Centralized Desktop Delivery: Dell and VMware Reference Architecture > > Simplifying enterprise desktop deployment and management using > > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > > client virtualization framework. Read more! > > http://p.sf.net/sfu/dell-eql-dev2dev > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > |
From: kirby u. <kir...@gm...> - 2010-11-13 18:50:43
|
I uninstalled and reinstalled and this time had no problems this time. I had recently been adding a different .pth file to site-packages, don't see how this could have messed me up but I report it anyway. Anyway, no worries at the moment. I'm sure if this were a widespread problem you'd be getting a lot more similar reports. Kirby On Sat, Nov 13, 2010 at 9:49 AM, Bruce Sherwood <bas...@nc...> wrote: > I tried the experiment of removing FontTools.pth from site-packages > before starting up Python, and in that case I get an execution error > about not being able to find the fontTools module. > > Bruce > |
From: kirby u. <kir...@gm...> - 2010-11-13 17:25:47
|
On Sat, Nov 13, 2010 at 8:43 AM, Bruce Sherwood <bas...@nc...> wrote: > This is an unfamiliar problem. Was this with Python 2.7 or 3.1? It is > normal that in site-packages you'll see a folder FontTools (with an > uppercase F), and inside that folder you'll see a folder fontTools > (with a lowercase f) plus some other files. You should also see in > site-packages a file FontTools.pth. > > Win7 / Python 2.7 Oh, so that's normal. I thought because the inner folder with the __init__.py was that deep that it wasn't found on the search path, and indeed it was not as when I tried to run the code posted above, it crashed for not finding some fonttools stuff. When I moved the subdirectly to a higher level, it worked. I didn't think to look at site-packages for a FontTools.pth. I should do some more analysis and get back to ya. > Could you perhaps uninstall and reinstall VPython and then report on > what you see in site-packages? A test that all is working properly is > to run the example program text3D.py, which uses the FontTools module > (and others) to produce 3D text. > > Bruce Sherwood > > Yes I will do that. Thanks for the reply. Kirby |
From: Bruce S. <bas...@nc...> - 2010-11-13 16:43:53
|
This is an unfamiliar problem. Was this with Python 2.7 or 3.1? It is normal that in site-packages you'll see a folder FontTools (with an uppercase F), and inside that folder you'll see a folder fontTools (with a lowercase f) plus some other files. You should also see in site-packages a file FontTools.pth. Could you perhaps uninstall and reinstall VPython and then report on what you see in site-packages? A test that all is working properly is to run the example program text3D.py, which uses the FontTools module (and others) to produce 3D text. Bruce Sherwood On Fri, Nov 12, 2010 at 10:37 PM, kirby urner <kir...@gm...> wrote: > > I installed the latest Visual Python 5 on a Win7 laptop > a couple days ago. Everything is working great. I used > the binary. > > However, it put Fonttools in a folder under another > Foottools folder I'm pretty sure. I had to diagnose that > problem manually. Apologies if the glitch was on my end. > |
From: kirby u. <kir...@gm...> - 2010-11-13 05:38:03
|
I installed the latest Visual Python 5 on a Win7 laptop a couple days ago. Everything is working great. I used the binary. However, it put Fonttools in a folder under another Foottools folder I'm pretty sure. I had to diagnose that problem manually. Apologies if the glitch was on my end. Below is one of the programs I used in my Martian Math class this summer. I used it as scaffolding, with students tweaking it to listen for more colors. Kirby Urner Portland, OR from visual import * def setscene ( ): """set the stage for our little drama""" scene2 = display(title='Pipedream 2', fullscreen= True, autoscale = True, background=color.white) return scene2 def pipedream( n ): delta_x = 0.1 # move to the right by this little amount right_limit = 30 # at this rightmost limit, remove the shape from the list scene = setscene() scene.select() leftpipe = cylinder(pos = (-35,0,0), axis = (5,0,0), radius = 1.5, color = color.green) rightpipe = cylinder(pos = (35,0,0), axis = (-5,0,0), radius = 1.5, color = color.green) theshapes = [ ] # a list of all active shapes spacer = 5 # counts down to put space between shape creation events thecolor = color.red # default color while True: "color picker -- add more options?" if scene.kb.keys: # event waiting to be processed? s = scene.kb.getkey() # get keyboard info if s in ['b' , 'B']: thecolor = color.blue if s in ['r', 'R']: thecolor = color.red if s in ['o', 'O']: thecolor = color.orange if len (theshapes ) < n and spacer <= 0: theshapes.insert (0, pickone( thecolor ) ) spacer = 5 for shape in theshapes: if shape.x > right_limit: shape.visible = False del shape theshapes.pop( ) # drop off the list else: shape.x = shape.x + delta_x # shift to the right spacer = spacer - delta_x rate(50) def pickone( c ): return sphere( pos = (-30,0,0), radius = 1, color = c) if __name__ == '__main__': pipedream( 11 ) |
From: Bruce S. <bas...@nc...> - 2010-11-12 16:33:58
|
The intent (not necessarily successful) was that the instructions in INSTALL.txt would be useful to anyone building from source on any version of Linux, with Ubuntu taken as an example. Obviously it's not possible to document all the tricks that might be necessary on all of the world's many versions of Linux. Bruce Sherwood On Fri, Nov 12, 2010 at 8:30 AM, Sergio Mira <sh...@gm...> wrote: > Hey, my first time here.. > Everyone is alright? > > Well... > I'm trying to install Vpython 5 on Slackware 13.1, but the INSTALL.TXT > available in its official webpage only explains this to Ubuntu. > I don't know if the INSTALL.TXT instructions are the same to Slackware! > > Someone already did this job? > > Thanks! > > -- > Regards, > || ------ > || Sergio Henrique Bento de Mira > || Computer Science | Class of 2008/2 > || Federal University Of Lavras | UFLA > || Lavras, MG, Brazil > || --- > || sh...@co... > || Cell: (+55) (35) 8822-8887 > || ------ > "Be the change you want to see in the world" > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Sergio M. <sh...@gm...> - 2010-11-12 15:31:26
|
Hey, my first time here.. Everyone is alright? Well... I'm trying to install Vpython 5 on Slackware 13.1, but the INSTALL.TXT available in its official webpage only explains this to Ubuntu. I don't know if the INSTALL.TXT instructions are the same to Slackware! Someone already did this job? Thanks! -- Regards, || ------ || Sergio Henrique Bento de Mira || Computer Science | Class of 2008/2 || Federal University Of Lavras | UFLA || Lavras, MG, Brazil || --- || sh...@co... || Cell: (+55) (35) 8822-8887 || ------ "Be the change you want to see in the world" |
From: Bruce S. <bas...@nc...> - 2010-11-12 03:03:44
|
It sounds like what you want to do is not delete the arrow but simply change its pos and/or axis and/or color attributes. There is no need to delete the arrow. Bruce Sherwood On Thu, Nov 11, 2010 at 6:34 PM, John Doe <joh...@gm...> wrote: > I have been searching the VPython documentation, and have not been > able to find a method to clear drawings. > > For example, if I were to draw the arrow from the documentation > (http://vpython.org/contents/docs/visual/arrow.html), is it possible > for me to clear the drawing and plot another arrow at another > coordinate? Currently, I have been only able to plot arrows on-top of > each other. > > If not, is there a visual.pointer(clear) or visual.pointer(clear)? > > Thanks, > John > > -- > PGP Public Encryption Key: > http://johndoe32102002.blogspot.com/ > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: John D. <joh...@gm...> - 2010-11-12 01:34:16
|
I have been searching the VPython documentation, and have not been able to find a method to clear drawings. For example, if I were to draw the arrow from the documentation (http://vpython.org/contents/docs/visual/arrow.html), is it possible for me to clear the drawing and plot another arrow at another coordinate? Currently, I have been only able to plot arrows on-top of each other. If not, is there a visual.pointer(clear) or visual.pointer(clear)? Thanks, John -- PGP Public Encryption Key: http://johndoe32102002.blogspot.com/ |
From: Jim P. <jim...@um...> - 2010-11-12 00:38:19
|
Hello, I have been fruitlessly trying to get VPython to work on my 64-Bit Fedora 13 installation. I was able to get it running on my 32-Bit laptop after hours of frustration, but I seem to be getting nowhere here. When I try to run any code which I know to be error free, I get the message "VPython ***CRITICAL ERROR***: ./gtk2/render_surface.cpp:88: render_surface: failed to initialize any OpenGL configuration, Aborting." I have the mesa OpenGL libraries installed. Any ideas? Thanks, Jim Pudar |
From: Aaron T. <hpu...@gm...> - 2010-11-12 00:07:11
|
I'd like to have a marker that moves along the graph as it's being plotted. How can I place a maker on the graph? I tried making a sphere, but it didn't work. Aaron |
From: Bruce S. <bas...@nc...> - 2010-11-04 03:27:10
|
At vpython.org there is now a VPython 5.4 package for Python 2.5, 2.6, or 2.7 for Linux. A significant change is to include the new vis folder which permits clean imports of Visual objects. This package can presumably also be used to build on Python 3.1, but this would require building Boost libraries for Python 3.1, for which there may not be Linux packages. One possible approach would be to leave in place Boost libraries for Python 2.x, build the Boost libraries from source without installing them, and change the makefiles to reference these uninstalled libraries. Bruce Sherwood |
From: Bruce S. <bas...@nc...> - 2010-11-04 01:11:20
|
Not absolutely sure I understand the question, but if you can make the window (say) 600 by 600, and specify scene.range = 300, and then your coordinates are effectively pixel coordinates. Bruce Sherwood On Wed, Nov 3, 2010 at 5:54 PM, Danny Caballero <dan...@gm...> wrote: > Sorry to high jack this thread, but this might be a similar question. > Is there a way to specify sizes of things like curves in real space? > Like where the limits of the curve are fractions of the scene size in > pixels? > > I'm looking to create axes for HS students that can be drawn across > the scene regardless of the size of the objects in the scene. > > Thanks, > Danny > > On Wed, Nov 3, 2010 at 4:45 PM, Daπid <dav...@gm...> wrote: >> Another option, deppending on what do you exactly want, work in your >> SR but give all the coordinates to VPython in its own system. Create a >> function that convers from your CS to VP's one and the opposite one, >> and use them everywhere. >> >> That would be, nevertheless, messy and propense to bugs. >> >> >> On Wed, Nov 3, 2010 at 9:38 PM, Bruce Sherwood <bas...@nc...> wrote: >>> It can't be done. VPython insists on the coordinate system being a >>> right-handed coordinate system. What you can do is have y to the >>> right, z up, and x coming toward you, as in the following example: >>> >>> from visual import * >>> x = curve(pos=[(0,0,0), (1,0,0)], color=color.red) >>> y = curve(pos=[(0,0,0), (0,1,0)], color=color.green) >>> z = curve(pos=[(0,0,0), (0,0,1)], color=color.blue) >>> label(pos=x.pos[1], text='x') >>> label(pos=y.pos[1], text='y') >>> label(pos=z.pos[1], text='z') >>> scene.up = (0,0,1) >>> scene.forward = (-1,0,0) >>> >>> Bruce Sherwood >>> >>> 2010/11/3 Virgílio Bento <vir...@gm...>: >>>> Dear all, >>>> >>>> I'm trying to define a scene with the following axis (see attachment). >>>> >>>> >>>> How should i define the scene.up and the scene.forward to achieve this >>>> perspective? >>>> Tried several combinations but still haven't found the one. >>>> >>>> Thanks for your answer. >>>> >>>> Regards, Virgilio Bento >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Achieve Improved Network Security with IP and DNS Reputation. >>>> Defend against bad network traffic, including botnets, malware, >>>> phishing sites, and compromised hosts - saving your company time, >>>> money, and embarrassment. Learn More! >>>> http://p.sf.net/sfu/hpdev2dev-nov >>>> _______________________________________________ >>>> Visualpython-users mailing list >>>> Vis...@li... >>>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Achieve Improved Network Security with IP and DNS Reputation. >>> Defend against bad network traffic, including botnets, malware, >>> phishing sites, and compromised hosts - saving your company time, >>> money, and embarrassment. Learn More! >>> http://p.sf.net/sfu/hpdev2dev-nov >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>> >> >> ------------------------------------------------------------------------------ >> Achieve Improved Network Security with IP and DNS Reputation. >> Defend against bad network traffic, including botnets, malware, >> phishing sites, and compromised hosts - saving your company time, >> money, and embarrassment. Learn More! >> http://p.sf.net/sfu/hpdev2dev-nov >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > |
From: Danny C. <dan...@gm...> - 2010-11-03 23:54:22
|
Sorry to high jack this thread, but this might be a similar question. Is there a way to specify sizes of things like curves in real space? Like where the limits of the curve are fractions of the scene size in pixels? I'm looking to create axes for HS students that can be drawn across the scene regardless of the size of the objects in the scene. Thanks, Danny On Wed, Nov 3, 2010 at 4:45 PM, Daπid <dav...@gm...> wrote: > Another option, deppending on what do you exactly want, work in your > SR but give all the coordinates to VPython in its own system. Create a > function that convers from your CS to VP's one and the opposite one, > and use them everywhere. > > That would be, nevertheless, messy and propense to bugs. > > > On Wed, Nov 3, 2010 at 9:38 PM, Bruce Sherwood <bas...@nc...> wrote: >> It can't be done. VPython insists on the coordinate system being a >> right-handed coordinate system. What you can do is have y to the >> right, z up, and x coming toward you, as in the following example: >> >> from visual import * >> x = curve(pos=[(0,0,0), (1,0,0)], color=color.red) >> y = curve(pos=[(0,0,0), (0,1,0)], color=color.green) >> z = curve(pos=[(0,0,0), (0,0,1)], color=color.blue) >> label(pos=x.pos[1], text='x') >> label(pos=y.pos[1], text='y') >> label(pos=z.pos[1], text='z') >> scene.up = (0,0,1) >> scene.forward = (-1,0,0) >> >> Bruce Sherwood >> >> 2010/11/3 Virgílio Bento <vir...@gm...>: >>> Dear all, >>> >>> I'm trying to define a scene with the following axis (see attachment). >>> >>> >>> How should i define the scene.up and the scene.forward to achieve this >>> perspective? >>> Tried several combinations but still haven't found the one. >>> >>> Thanks for your answer. >>> >>> Regards, Virgilio Bento >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Achieve Improved Network Security with IP and DNS Reputation. >>> Defend against bad network traffic, including botnets, malware, >>> phishing sites, and compromised hosts - saving your company time, >>> money, and embarrassment. Learn More! >>> http://p.sf.net/sfu/hpdev2dev-nov >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>> >>> >> >> ------------------------------------------------------------------------------ >> Achieve Improved Network Security with IP and DNS Reputation. >> Defend against bad network traffic, including botnets, malware, >> phishing sites, and compromised hosts - saving your company time, >> money, and embarrassment. Learn More! >> http://p.sf.net/sfu/hpdev2dev-nov >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Daπid <dav...@gm...> - 2010-11-03 20:46:05
|
Another option, deppending on what do you exactly want, work in your SR but give all the coordinates to VPython in its own system. Create a function that convers from your CS to VP's one and the opposite one, and use them everywhere. That would be, nevertheless, messy and propense to bugs. On Wed, Nov 3, 2010 at 9:38 PM, Bruce Sherwood <bas...@nc...> wrote: > It can't be done. VPython insists on the coordinate system being a > right-handed coordinate system. What you can do is have y to the > right, z up, and x coming toward you, as in the following example: > > from visual import * > x = curve(pos=[(0,0,0), (1,0,0)], color=color.red) > y = curve(pos=[(0,0,0), (0,1,0)], color=color.green) > z = curve(pos=[(0,0,0), (0,0,1)], color=color.blue) > label(pos=x.pos[1], text='x') > label(pos=y.pos[1], text='y') > label(pos=z.pos[1], text='z') > scene.up = (0,0,1) > scene.forward = (-1,0,0) > > Bruce Sherwood > > 2010/11/3 Virgílio Bento <vir...@gm...>: >> Dear all, >> >> I'm trying to define a scene with the following axis (see attachment). >> >> >> How should i define the scene.up and the scene.forward to achieve this >> perspective? >> Tried several combinations but still haven't found the one. >> >> Thanks for your answer. >> >> Regards, Virgilio Bento >> >> >> >> ------------------------------------------------------------------------------ >> Achieve Improved Network Security with IP and DNS Reputation. >> Defend against bad network traffic, including botnets, malware, >> phishing sites, and compromised hosts - saving your company time, >> money, and embarrassment. Learn More! >> http://p.sf.net/sfu/hpdev2dev-nov >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Bruce S. <bas...@nc...> - 2010-11-03 20:38:42
|
It can't be done. VPython insists on the coordinate system being a right-handed coordinate system. What you can do is have y to the right, z up, and x coming toward you, as in the following example: from visual import * x = curve(pos=[(0,0,0), (1,0,0)], color=color.red) y = curve(pos=[(0,0,0), (0,1,0)], color=color.green) z = curve(pos=[(0,0,0), (0,0,1)], color=color.blue) label(pos=x.pos[1], text='x') label(pos=y.pos[1], text='y') label(pos=z.pos[1], text='z') scene.up = (0,0,1) scene.forward = (-1,0,0) Bruce Sherwood 2010/11/3 Virgílio Bento <vir...@gm...>: > Dear all, > > I'm trying to define a scene with the following axis (see attachment). > > > How should i define the scene.up and the scene.forward to achieve this > perspective? > Tried several combinations but still haven't found the one. > > Thanks for your answer. > > Regards, Virgilio Bento > > > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Guy K. K. <guy...@au...> - 2010-11-02 21:25:21
|
On Wed, 03 Nov 2010 00:27:21 Reenen Laurie wrote: > 0MQ - how easy would it package with py2exe? In the end I want something > that can fall into place quick and easy, without extra dependencies or > downloads needed. I wouldn't know, I don't use Wintendo. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Reenen L. <rl...@gm...> - 2010-11-02 11:28:10
|
0MQ - how easy would it package with py2exe? In the end I want something that can fall into place quick and easy, without extra dependencies or downloads needed. On Tue, Nov 2, 2010 at 2:53 AM, Guy K. Kloss <guy...@au...> wrote: > On Tue, 02 Nov 2010 10:35:01 Reenen Laurie wrote: > > If you have, I'd like to know which networking package did you use (I am > > looking at RPyC at the moment). > > You may want to have a look at 0MQ (ZeroMQ) [1] for purposes like that. > Then > send event around that can be picked up for remote visualisation. > > Guy > > [1] http://www.zeromq.org/ > > -- > Guy K. Kloss > School of Computing + Mathematical Sciences > Auckland University of Technology > Private Bag 92006, Auckland 1142 > phone: +64 9 921 9999 ext. 5032 > eMail: Guy...@au... > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > -- o__ ,_.>/ _ (_)_\(_)_______ ...speed is good _______________ I believe five out of four people have a problem with fractions. |
From: Jason M. <jas...@vp...> - 2010-11-02 08:42:25
|
As I said before, you can't use threads on windows for this as they switch too infrequently. I first tried this using piglet and multiprocessing, I then get 10ms (which is obviously how frequently messages are passed by windows between the processors), but try as I might I can only get 99.99999Hz as Pyglet's graphics uses a separate thread. I did think of using message queues, (the producer/consumer model you suggest) and then passing more than one message per display thread pass. But why make things more complicated than they need be? And you still run into the lack of any thread priority so you can't guarantee windows running the thread you want it to. More of a problem, I would also inherent a 16ms latency in the display output. That is why Visual Python is so good and so fast. No imposed architecture to your code = simple fast execution. I got exactly what I want in just a few lines of code. I only wish I'd discovered it a year ago...... I'm no expert (I have no formal software training - I find courses too pedestrian, so I read books), as a result I've been able to program in various languages for about 30 years (25 in C and nearly ten in Python).... so I know a few tricks. -----Original Message----- From: Guy K. Kloss [mailto:guy...@au...] Sent: 02 November 2010 00:51 To: vis...@li... Subject: Re: [Visualpython-users] minor (if strange) bug with rate(x) On Tue, 02 Nov 2010 10:54:17 Jason Morgan wrote: > Now, the script *HAS* to run at a rate of at least 111.11 fps or it > breaks as the streaming data starts to back up and cease to be real time. I think in this case it would be better to evaluate using more loosely coupled coding, e. g. by using a producer/consumer design pattern. Have the receiving end run in a separate thread that can react immediately and chuck the data into a data structure that then can be updated in the GUI whenever needed. Some knowledge of software engineering can be helpful here. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Guy K. K. <guy...@au...> - 2010-11-02 01:04:16
|
On Tue, 02 Nov 2010 10:54:17 Jason Morgan wrote: > Now, the script *HAS* to run at a rate of at least 111.11 fps or it breaks > as the streaming data starts to back up and cease to be real time. I think in this case it would be better to evaluate using more loosely coupled coding, e. g. by using a producer/consumer design pattern. Have the receiving end run in a separate thread that can react immediately and chuck the data into a data structure that then can be updated in the GUI whenever needed. Some knowledge of software engineering can be helpful here. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Guy K. K. <guy...@au...> - 2010-11-02 01:04:13
|
On Tue, 02 Nov 2010 10:35:01 Reenen Laurie wrote: > If you have, I'd like to know which networking package did you use (I am > looking at RPyC at the moment). You may want to have a look at 0MQ (ZeroMQ) [1] for purposes like that. Then send event around that can be picked up for remote visualisation. Guy [1] http://www.zeromq.org/ -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |