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> |