5 #[Topic] 'Fillet' functionality
6 #[Tested functionality]
11 source(findFile("scripts", "common.py"))
13 #[section] Application start
15 startApplication("salome_run.sh")
19 #[step] Open 'for_sketch_015.hdf'
20 open(DATA_PATH + "/for_sketch_015.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] Sketch - Fillet
35 mouseClick(waitForObjectItem(":SALOME*_QMenuBar", "Sketch"))
36 mouseClick(waitForObjectItem(":Sketch_QMenu", "Fillet"))
38 #[step] Select first line in viewer
39 mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 99, 222, 0, Qt.LeftButton)
41 #[step] Select first line in viewer
42 mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 277, 479, 0, Qt.LeftButton)
44 #[step] Input value equal to 50
45 type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
46 type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), 50)
48 #[check] Check that preview is updated
52 clickButton(waitForObject(":Fillet.property_panel_ok_QToolButton"))
54 #[check] Check that fillet has been executed successfully
57 # [step] Close application without saving