From: Wayne W. <sie...@sb...> - 2009-04-26 15:32:12
|
How do I print the graphic material on my printer, or capture it to a file? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-26 15:43:31
|
Depends on your computer platform. For example, on Windows you can make the window active and press Alt-Screen, then paste into Word and print. It's possible that PIL (Python Imaging Library) has routines for capturing from the screen; not sure. In the contributed section of vpython.org is a routine for exporting a scene to POV-Ray, a multiplatform free ray-tracer which generates higher-quality images than Visual can do in real time. Bruce Sherwood Wayne Watson wrote: > How do I print the graphic material on my printer, or capture it to a file? > |
From: Wayne W. <sie...@sb...> - 2009-04-26 21:03:49
|
Thanks. I found some hints in the FAQ. I have SnagIt, so that will probably suffice. More questions. How do I find other attributes for various objects like curve, sphere, etc.? For example, is there an edge attribute for sphere, so that if I make it completely transparent, the outline can still be seen? An outline. If so, can its thickness be changed? Is it possible to use Greek letters in Label? Is there a hemisphere object? Maybe it's an attribute of sphere? I guess ring is for circles? Are there arcs somewhere with arrows on each end for putting text between the arrows? Just plain arcs (part of a circle) or solid sections of a sphere (surface section area extending down to the center of the sphere)? Can I put an arrow on a graph? That is, suppose I wanted to show an x-y coordinate system with a drawn vector on it. It doesn't seem as though Windows (choice) works properly on <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. It acts just like Windows/Events/Files. Bruce Sherwood wrote: > Depends on your computer platform. For example, on Windows you can > make the window active and press Alt-Screen, then paste into Word and > print. > > It's possible that PIL (Python Imaging Library) has routines for > capturing from the screen; not sure. > > In the contributed section of vpython.org is a routine for exporting a > scene to POV-Ray, a multiplatform free ray-tracer which generates > higher-quality images than Visual can do in real time. > > Bruce Sherwood > > Wayne Watson wrote: >> How do I print the graphic material on my printer, or capture it to a >> file? >> > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-26 21:56:42
|
What you see in the documentation is all you get. If you don't find what you want, it's because it doesn't exist. As mentioned in the documentation, you can use full Python Unicode strings in a label. The documentation for graphs says this: "Every gdisplay has the attribute display, so you can place additional labels or manipulate the graphing window. The only objects that you can place in the graphing window are labels, curves, faces, and points." Can you say in more detail how you find a broken link in the documentation? I don't find the broken link you report. Bruce Wayne Watson wrote: > Thanks. I found some hints in the FAQ. I have SnagIt, so that will > probably suffice. More questions. > > How do I find other attributes for various objects like curve, sphere, > etc.? For example, is there an edge attribute for sphere, so that if I > make it completely transparent, the outline can still be seen? An > outline. If so, can its thickness be changed? Is it possible to use > Greek letters in Label? Is there a hemisphere object? Maybe it's an > attribute of sphere? I guess ring is for circles? Are there arcs > somewhere with arrows on each end for putting text between the arrows? > Just plain arcs (part of a circle) or solid sections of a sphere > (surface section area extending down to the center of the sphere)? Can I > put an arrow on a graph? That is, suppose I wanted to show an x-y > coordinate system with a drawn vector on it. > > It doesn't seem as though Windows (choice) works properly on > <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. > It acts just like Windows/Events/Files. > > Bruce Sherwood wrote: >> Depends on your computer platform. For example, on Windows you can >> make the window active and press Alt-Screen, then paste into Word and >> print. >> >> It's possible that PIL (Python Imaging Library) has routines for >> capturing from the screen; not sure. >> >> In the contributed section of vpython.org is a routine for exporting a >> scene to POV-Ray, a multiplatform free ray-tracer which generates >> higher-quality images than Visual can do in real time. >> >> Bruce Sherwood >> >> Wayne Watson wrote: >>> How do I print the graphic material on my printer, or capture it to a >>> file? >>> >> > |
From: Wayne W. <sie...@sb...> - 2009-04-27 01:04:56
|
I thought I had fixed the link in my e-mail. That's incorrect. Here's the right one. <file:///C:/Python25/Lib/site-packages/visual/docs/visual/display.html>. The three pulldown menus show: 3D objects, Working with objects and Windows/Events/Files. If I select in the last one, Windows, nothing changes. It continues to show a description for "Controlling One or More Visual Display Windows". If I got Mouse Drag, that shows in the description, but the third menu continues to show "Controlling One or More Visual Display Windows". I got it. They all work that way. The three menus always show the first item. I think I'm used to seeing pull downs that actually advance to the item selected. There is no problem. Bruce Sherwood wrote: > What you see in the documentation is all you get. If you don't find > what you want, it's because it doesn't exist. > > As mentioned in the documentation, you can use full Python Unicode > strings in a label. > > The documentation for graphs says this: > > "Every gdisplay has the attribute display, so you can place additional > labels or manipulate the graphing window. The only objects that you > can place in the graphing window are labels, curves, faces, and points." > > Can you say in more detail how you find a broken link in the > documentation? I don't find the broken link you report. > > Bruce > > Wayne Watson wrote: >> Thanks. I found some hints in the FAQ. I have SnagIt, so that will >> probably suffice. More questions. >> >> How do I find other attributes for various objects like curve, >> sphere, etc.? For example, is there an edge attribute for sphere, so >> that if I make it completely transparent, the outline can still be >> seen? An outline. If so, can its thickness be changed? Is it >> possible to use Greek letters in Label? Is there a hemisphere object? >> Maybe it's an attribute of sphere? I guess ring is for circles? Are >> there arcs somewhere with arrows on each end for putting text between >> the arrows? Just plain arcs (part of a circle) or solid sections of a >> sphere (surface section area extending down to the center of the >> sphere)? Can I put an arrow on a graph? That is, suppose I wanted to >> show an x-y coordinate system with a drawn vector on it. >> >> It doesn't seem as though Windows (choice) works properly on >> <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. >> It acts just like Windows/Events/Files. >> >> Bruce Sherwood wrote: >>> Depends on your computer platform. For example, on Windows you can >>> make the window active and press Alt-Screen, then paste into Word >>> and print. >>> >>> It's possible that PIL (Python Imaging Library) has routines for >>> capturing from the screen; not sure. >>> >>> In the contributed section of vpython.org is a routine for exporting >>> a scene to POV-Ray, a multiplatform free ray-tracer which generates >>> higher-quality images than Visual can do in real time. >>> >>> Bruce Sherwood >>> >>> Wayne Watson wrote: >>>> How do I print the graphic material on my printer, or capture it to >>>> a file? >>>> >>> >> > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |