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

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

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

revision 1038 by jongui, Fri Mar 16 05:15:37 2007 UTC revision 1056 by jongui, Thu Mar 22 06:52:08 2007 UTC
# Line 16  eopc = EllipsoidOnPlaneClip(scene = s, d Line 16  eopc = EllipsoidOnPlaneClip(scene = s, d
16          viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)          viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)
17  eopc.setScaleFactor(scale_factor = 0.1)  eopc.setScaleFactor(scale_factor = 0.1)
18  eopc.setPlaneToXY()  eopc.setPlaneToXY()
19  eopc.rotateX(angle = 20)  eopc.rotateX(angle = 30)
20  eopc.setDimension(x = 2,y = 2, z = 2)  #eopc.setRatio(10)
21    #eopc.setDimension(x = 2,y = 2, z = 2)
22    
23  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)
24  c1.bottomView()  c1.bottomView()

Legend:
Removed from v.1038  
changed lines
  Added in v.1056

  ViewVC Help
Powered by ViewVC 1.1.26