From: Bruce S. <Bru...@nc...> - 2006-12-11 01:58:43
|
I guess you're referring to a routine in the example program faces_heightfield.py. That's not a class that's part of Visual, it's just something that the author of that program (David Scherer) wrote for the particular purposes of that example. It doesn't do any of the things expected of Visual objects, nor is there any documentation of it. Feel free to take it and do whatever you want with it. Bruce Sherwood Ryan Hoban wrote: > I have 2 questions regarding the use of the Mesh Class provided with > the examples. These are perhaps trivial but I can't seem to figure > them out: > > 1) Once I've created a Mesh Object, is there a way to turn it on and > off? With most other visual objects there is an attribute "visible" > which I can just set to 0 to turn the object off. > > 2) Is there a way to crop a mesh object to display only parts of it > inside some specific domain? For example, the surface I'm working > with looks awkward when viewed inside a box and I'd like to take this > surface and just see those parts of it that lie within a sphere of > some radius. This would be easy to do if I had some nice > parameterization of the surface in spherical coordinates, but best I > can tell there's no simple parameterization of this surface. > > Thanks for any help you can offer, > > Ryan Hoban > > rf...@ma... <mailto:rf...@ma...> > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Visualpython-users mailing list >Vis...@li... >https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |