8 px = geompy.MakeVertex(100., 0. , 0. )
9 py = geompy.MakeVertex(0. , 100., 0. )
10 pz = geompy.MakeVertex(0. , 0. , 100.)
12 vxy = geompy.MakeVector(px, py)
13 arc = geompy.MakeArc(py, pz, px)
14 wire = geompy.MakeWire([vxy, arc])
17 face = geompy.MakeFace(wire, isPlanarFace)
19 # add the face in the study
20 id_face = geompy.addToStudy(face, "Face to be meshed")
23 tria_mesh = smesh.Mesh(face, "Face : triangulation")
26 algo = tria_mesh.Segment()
27 algo.NumberOfSegments(20)
31 # assign triangulation algorithm
32 algo = tria_mesh.Triangle()
34 # apply "Max Element Area" hypothesis to each triangle
35 algo.MaxElementArea(100)