Salome HOME
Coincidence to rectangle macro feature: 1. Get point of sub-feature to set coincidenc...
[modules/shaper.git] / test.squish / suite_ISSUES_SALOME / tst_532 / test.py
index ff14969a4f34568fefdc1ae87f733a86e6112bdf..831e98e974703776830c896c93e5a420d59999de 100644 (file)
@@ -14,9 +14,10 @@ def main():
     set_defaults()
     
     activate_newgeom()
-    
+
     sketch_create(help_points("XY_plane"), lambda: sketch_circle())
     sketch_create(help_points("XY_plane"), lambda: sketch_lines())
+    test.vp("VP_SKETCHES")
     
     part_create()
 
@@ -24,6 +25,9 @@ def main():
     extrusion((299, 159), 10, 0)
     #[step] Create V-shape sketch
     extrusion((642, 176), 10, 0)
+
+    test.vp("VP_EXTRUSIONS")
+
     #[step] Create plane: inner right for V-shape
     activateItem(waitForObjectItem(":SALOME*_QMenuBar", "Construction"))
     activateItem(waitForObjectItem(":_QMenu", "Plane"))
@@ -31,6 +35,8 @@ def main():
     mouseDrag(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 305, 263, -2, -165, 67108866, Qt.RightButton)
     mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 651, 229, 0, Qt.LeftButton)
     clickButton(waitForObject(":Plane.property_panel_ok_QToolButton"))
+    test.vp("VP_INNER_RIGHT_PLANE")
+    
     #[step] Create plane: outer right for V-shape
     activateItem(waitForObjectItem(":SALOME*_QMenuBar", "Construction"))
     activateItem(waitForObjectItem(":_QMenu", "Plane"))
@@ -40,6 +46,7 @@ def main():
     type(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), "<Control>")
     mouseDrag(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 515, 402, -7, -305, 67108866, Qt.RightButton)
     clickButton(waitForObject(":Plane.property_panel_ok_QToolButton"))
+    test.vp("VP_OUTER_RIGHT_PLANE")
     
     #[step] Activate Partition feature
     activateItem(waitForObjectItem(":SALOME*_QMenuBar", "Features"))
@@ -58,6 +65,7 @@ def main():
     mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 639, 210, 33554432, Qt.LeftButton)
     type(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), "<Control>")
     mouseDrag(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 567, 436, -11, -351, 67108866, Qt.RightButton)
+
     #[step] Apply Partition
     clickButton(waitForObject(":Partition.property_panel_ok_QToolButton"))