/[escript]/trunk/pyvisi/examples/clipBox.py
ViewVC logotype

Diff of /trunk/pyvisi/examples/clipBox.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 337 by cochrane, Mon Dec 12 01:57:07 2005 UTC revision 605 by gross, Mon Mar 20 07:16:27 2006 UTC
# Line 43  for i in range(len(x)*len(y)*len(z)): Line 43  for i in range(len(x)*len(y)*len(z)):
43  if method == 'pyvisi':  if method == 'pyvisi':
44    
45      # example code for how a user would write a script in pyvisi      # example code for how a user would write a script in pyvisi
46      from pyvisi import *          # base level visualisation stuff      from esys.pyvisi import *          # base level visualisation stuff
47      # import the objects to render the scene using the specific renderer      # import the objects to render the scene using the specific renderer
48      from pyvisi.renderers.vtk import *       # vtk      from esys.pyvisi.renderers.vtk import *       # vtk
49      #from pyvisi.renderers.povray import *       # povray      #from esys.pyvisi.renderers.povray import *       # povray
50            
51      # define the scene object      # define the scene object
52      scene = Scene()      scene = Scene()

Legend:
Removed from v.337  
changed lines
  Added in v.605

  ViewVC Help
Powered by ViewVC 1.1.26