]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_SWIG/GEOM_TestAll.py
Salome HOME
0022354: EDF GEOM: Create edge by getting iso-line of surface
[modules/geom.git] / src / GEOM_SWIG / GEOM_TestAll.py
index 36e6e0aa73c34c96e313f838cdceaeee6f7eaabb..e5caf3d32a9af108bef2cede5632bed3b97e86b6 100644 (file)
@@ -188,6 +188,9 @@ def TestAll (geompy, math):
                                prism1_faces[5], prism1_faces[2]])
   Solid    = geompy.MakeSolid([Shell1])              #(List of GEOM_Object)->GEOM_Object
 
+  # Create Isoline
+  Isoline = geompy.MakeIsoline(Face1, True, 0.5)     #(1 GEOM_Object, Boolean, Double)->GEOM_Object
+
   ShapeListCompound = []
   i = 0
   while i <= 3 :
@@ -395,6 +398,8 @@ def TestAll (geompy, math):
   id_Disk3    = geompy.addToStudy(Disk3,    "Disk OXY Radius")
   id_Shell    = geompy.addToStudy(Shell,    "Shell")
 
+  id_Isoline  = geompy.addToStudy(Isoline,  "Isoline")
+
   id_p_on_face = geompy.addToStudy(p_on_face, "Vertex on Face (0.1, 0.8)")
   id_p_on_face2 = geompy.addToStudy(p_on_face2, "Vertex on Face at(0., 0., 0.)")
   id_p_on_face3 = geompy.addToStudy(p_on_face3, "Vertex inside Face")