VPython-basics: how move the centre-point of rotation to the centre of a cuboid (not (0, 0, 0)) ?

Ottmar Petry <[email protected]> Fri, 15 Feb 2013 17:02:19 +0100
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
--===============3435325022545125734==
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

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


--===============3435325022545125734==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
--===============3435325022545125734==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users

--===============3435325022545125734==--