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

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

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

revision 1055 by jongui, Fri Mar 16 05:15:37 2007 UTC revision 1056 by jongui, Thu Mar 22 06:52:08 2007 UTC
# Line 17  eopc1 = EllipsoidOnPlaneCut(scene = s, d Line 17  eopc1 = EllipsoidOnPlaneCut(scene = s, d
17  eopc1.setScaleFactor(scale_factor = 0.1)  eopc1.setScaleFactor(scale_factor = 0.1)
18  eopc1.setPlaneToXY()  eopc1.setPlaneToXY()
19  eopc1.rotateX(angle = 20)  eopc1.rotateX(angle = 20)
20  eopc1.setDimension(x = 2, y = 2, z = 2)  eopc1.setRatio(10)
21    #eopc1.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.isometricView()  c1.isometricView()

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

  ViewVC Help
Powered by ViewVC 1.1.26