5 #[Topic] 'Tangency' functionality
6 #[Tested functionality]
11 source(findFile("scripts", "common.py"))
13 #[section] Application start
15 startApplication("salome_run.sh")
19 #[step] Open 'for_sketch_018.hdf'
20 open(DATA_PATH + "/for_sketch_018.hdf")
22 #[step] Activate SHAPER
23 clickButton(waitForObject(":SALOME*.Shaper_QToolButton"))
25 #[step] Edit 'Sketch_1'
26 waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
27 clickItem(":Object browser_XGUI_DataTree", "Sketch\\_1", 43, 12, 0, Qt.LeftButton)
28 openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Sketch\\_1", 43, 12, 0)
29 activateItem(waitForObjectItem(":_QMenu", "Edit..."))
31 #[step] Click '+OZ' button
32 clickButton(waitForObject(":SALOME*.+OZ_QToolButton"))
34 #[step] Make 2 arcs tangent
35 tangent((142, 237), (55, 223))
37 #[step] Make arc and line tangent
38 tangent((580, 343), (605, 403))
40 #[step] Click Fit all button
43 #[check] Check that tangency has been executed successfully
46 # [step] Close application without saving