Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:27

0001 #!/usr/bin/env python
0002 
0003 #from np.fold import Fold
0004 import numpy as np
0005 import pyvista as pv
0006 SIZE = np.array([1280, 720])
0007 from pyvista.utilities.geometric_objects import Sphere                                                                               
0008 
0009 if __name__ == '__main__':
0010     sp = Sphere(start_theta=0, end_theta=90, start_phi=10, end_phi=20 )  
0011     pl = pv.Plotter(window_size=SIZE*2)
0012     pl.add_text("pv_sphere.py", position="upper_left")
0013     pl.add_mesh(sp, opacity=1.0, show_edges=True, lighting=True )
0014     pl.show()
0015 pass
0016 
0017 
0018 
0019 
0020 
0021 
0022 
0023