5 gg = salome.ImportComponentGUI("GEOM")
8 p = geompy.MakeVertex(55, 45, 25)
12 sphere1 = geompy.MakeSpherePntR(p, radius1)
14 sphere2 = geompy.MakeSphere(0, 0, 45, radius2)
16 sphere3 = geompy.MakeSphereR(radius3)
18 # add objects in the study
19 id_sphere1 = geompy.addToStudy(sphere1,"Sphere1")
20 id_sphere2 = geompy.addToStudy(sphere2,"Sphere2")
21 id_sphere3 = geompy.addToStudy(sphere3,"Sphere3")
24 gg.createAndDisplayGO(id_sphere1)
25 gg.setDisplayMode(id_sphere1,1)
26 gg.createAndDisplayGO(id_sphere2)
27 gg.setDisplayMode(id_sphere2,1)
28 gg.createAndDisplayGO(id_sphere3)
29 gg.setDisplayMode(id_sphere3,1)