next up previous contents index
Next: imd Up: Controlling VMD from Python Previous: display   Contents   Index


graphics

Python operations available from the graphics module, used to create custom 3-D objects from graphics primitives. The first argument to all operations is the id of a Graphics molecule. Graphics molecules are created using the load() command in the molecule module: load('graphics', 'test') creates a Graphics molecule named 'test'. For vertices and normals, a tuple with three float items is required.


next up previous contents index
Next: imd Up: Controlling VMD from Python Previous: display   Contents   Index
vmd@ks.uiuc.edu