/[escript]/trunk/pyvisi/py_src/examples/contouronplanecut.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/examples/contouronplanecut.py

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

revision 995 by jongui, Fri Feb 23 03:35:33 2007 UTC revision 996 by jongui, Mon Feb 26 03:43:13 2007 UTC
# Line 12  dc1.setFileName(file_name = Line 12  dc1.setFileName(file_name =
12  # translation and performing translation then followed by rotation.  # translation and performing translation then followed by rotation.
13    
14  # Create one contour on plane cut instance.  # Create one contour on plane cut instance.
15  ctropc1 = ContourOnPlaneCut(scene = s, data_collector = dc1, scalar = None,  ctropc1 = ContourOnPlaneCut(scene = s, data_collector = dc1,
16          viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)          viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)
17  ctropc1.generateContours(contours = 8)  ctropc1.generateContours(contours = 8)
18  ctropc1.setPlaneToXY(offset = 200000)  ctropc1.setPlaneToXY(offset = 200000)

Legend:
Removed from v.995  
changed lines
  Added in v.996

  ViewVC Help
Powered by ViewVC 1.1.26