From: Bruce S. <Bru...@nc...> - 2011-02-21 03:00:50
|
What's missing is 3D constructive geometry for Python. Kadir Haldenbilen identified the excellent Polygon module which does constructive geometry for 2D contours, which led to the text and extrusion objects which we developed together. But I gather there isn't an equivalent 3D package. An example of an application that does offer constructive 3D geometry (for example, subtract a sphere from a cube) is Pov-ray, but that's not something that runs in real time. Bruce Sherwood On Sun, Feb 20, 2011 at 7:35 PM, C Anthony Risinger <an...@ex...> wrote: > On Sun, Feb 20, 2011 at 8:21 PM, Bruce Sherwood <Bru...@nc...> wrote: >> At vpython.org are installers for VPython 5.50 which include a >> powerful new "extrusion" object developed by Kadir Haldenbilen and me. >> The basic idea is that you prepare a 2D shape which you then extrude >> along a path that is like the pos attribute of a curve object: >> >> extrusion(pos=...., shape=....) >> >> Libraries of common shapes and paths are provided (rectangle, circle, >> arc, star, etc.). Included are tools for creating complex gears, and >> shapes made from text. > > nice work, this is an incredibly useful addition. > > seems like you could almost crack out a full scale solid modeling app > using vpython at this point ... > > anyways great job; though i don't get to play with it as much as i'd > like currently, visual continuous to be one of my favorite projects. > > C Anthony > |