|
From: Michael Z. K. <mz...@an...> - 2001-07-18 23:02:57
|
So there is a Python VRML97 parser at http://members.home.com/mcfletch/programming/mcf_vrml.htm which looks promising. If I have time this weekend I was thinking about writing a simple VRML importer (i.e. - primative->primatve ) to VPython although if you want to do this for graduate work be my guest it would prob. work better. -michael On Wed, 18 Jul 2001, Ari Heitner wrote: > On Wed, Jul 18, 2001 at 12:31:30PM -0400, Ryan Martens wrote: > > I'm new to VPython, and must add that I'm quite impressed. I'm currently > > developing a program for defining 3D systems for simulations, and need > > software for viewing and working with the 3D models (primarily viewing > > though). I was wondering how the internal geometry is stored in VPython. > > Is there a way that this data can be manipulated, such as when importing > > data from other file formats? In my program, systems will intiially be > > defined as bodies consisting of simple objects, but when CAD drawings > > become available, it would be ideal to be able to import more complex > > objects to replace these simple objects. > > right now the only Visual objects are geometric primitives; there isn't any > way to import models from a CAD program. This is a deficiency and one I'd > love to fix. There's a small chance I'll do it this coming semester (for > credit needed to graduate, so I'll hvae some chance of getting it done). > > > Furthermore, is there a way to capture events such as mouse clicks > > (primarily the right mouse button), and get the mouse position. I would > > need to override the default response of rotation. > > look at the stonehenge demo program for a way of overriding the default > navigation system. > > > > cheers, > ari > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > http://lists.sourceforge.net/lists/listinfo/visualpython-users > |