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

Diff of /trunk/pyvisi/py_src/examples/ellipsoid.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 15  e1 = Ellipsoid(scene = s, data_collector Line 15  e1 = Ellipsoid(scene = s, data_collector
15  e1.setScaleFactor(scale_factor = 0.1)  e1.setScaleFactor(scale_factor = 0.1)
16  e1.setPhiResolution(resolution = 10)  e1.setPhiResolution(resolution = 10)
17  e1.setThetaResolution(resolution = 10)  e1.setThetaResolution(resolution = 10)
18  e1.setDimension(x = 2, y = 2, z = 2)  e1.setRatio(8)
19    e1.randomOn()
20    #e1.setDimension(x = 2, y = 2, z = 2)
21    
22  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)
23  c1.isometricView()  c1.isometricView()

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

  ViewVC Help
Powered by ViewVC 1.1.26