From: Stef M. <s.m...@ru...> - 2008-12-04 18:16:36
|
thanks Bruce, Bruce Sherwood wrote: > It's great that you found VPython to be useful for real work. > > I'm not absolutely sure I understand the situation, but here's an > example which may address your question: > > rod = cylinder(pos=(1,2,3), axis=(5,0,0)) > end_of_rod = rod.pos+rod.axis # this will be (6,2,3) > Yes you perfectly understood my question. I think it must have been too late. I didn't realize that the position is of course also a vector, and vector adding is supported in VPython. And as I thought I had printed all the documents of Vpython, I didn't notice the vector page. I printed it today again, on 4 different printers, on 3 of them it was totally unreadable, on 1 you could read it (not very well). There seems to be something strange with the css class program / program0 I would suggest to put the vector help page on top of content page, because it's so important for "Ordinary Mortals" ;-) cheers, Stef |