4 doc = hexablock.addDocument ("model")
6 center = doc.addVertex (0,0,0)
7 vx = doc.addVector (1,0,0)
8 vz = doc.addVector (0,0,1)
14 trayons = [ 1, 2, 3 , 4 ]
15 tangles = [ 0, 30, 60, 90, 120, 150, 180]
16 tphi = [ -30, -10, 0, 10, 30, 45, 60, 75, 80 ]
18 doc.makeSphere (center,vx,vz, trayons, tangles, tphi)
20 doc.saveVtk ("model1.vtk")