/[escript]/trunk/doc/examples/pyvisi/seriesofcuts.py
ViewVC logotype

Diff of /trunk/doc/examples/pyvisi/seriesofcuts.py

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

revision 1209 by jongui, Thu Jun 21 23:17:16 2007 UTC revision 1210 by jongui, Tue Jul 3 05:47:34 2007 UTC
# Line 36  mopc1.setPlaneToYZ(offset = 0.1) Line 36  mopc1.setPlaneToYZ(offset = 0.1)
36  c1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST)  c1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST)
37  c1.isometricView()  c1.isometricView()
38    
39  # Render the object with multiple cuts from a series of translation.  # Render the object with multiple cuts using a series of translation.
40  for i in range(0, 5):  for i in range(0, 5):
41      s.render(image_name = os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, IMAGE_NAME +      s.render(image_name = os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, IMAGE_NAME +
42              "%02d.jpg") % i)              "%02d.jpg") % i)

Legend:
Removed from v.1209  
changed lines
  Added in v.1210

  ViewVC Help
Powered by ViewVC 1.1.26