5 gg = salome.ImportComponentGUI("GEOM")
8 px = geompy.MakeVertex(100., 0. , 0. )
9 py = geompy.MakeVertex(0. , 100., 0. )
10 pz = geompy.MakeVertex(0. , 0. , 100.)
12 # create a vector from two points
13 vxy = geompy.MakeVector(px, py)
15 # create an arc from three points
16 arc = geompy.MakeArc(py, pz, px)
19 wire = geompy.MakeWire([vxy, arc])
21 # add an object in the study
22 id_wire = geompy.addToStudy(wire,"Wire")
25 gg.createAndDisplayGO(id_wire)