2 #[step] Create lines [vp VP_SKETCH]
3 clickButton(waitForObject(":Basic.Line_AppElements_Button"))
4 mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 123, 417, 0, Qt.LeftButton)
5 mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 175, 132, 0, Qt.LeftButton)
6 mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 477, 63, 0, Qt.LeftButton)
7 mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 739, 397, 0, Qt.LeftButton)
8 mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 123, 417, 0, Qt.LeftButton)
11 #[step] Create 2 lines parallel
12 parallel_create((355, 91), (445, 407))
13 # [check] Check that lines are parallel [vp VP_PARALLEL_1]
14 test.vp("VP_PARALLEL_1")
16 #[step] Create 2 other lines parallel
17 parallel_create((155, 225), (589, 216))
18 #[check] Check that lines are parallel [vp VP_PARALLEL_2]
19 test.vp("VP_PARALLEL_2")
22 source(findFile("scripts", "common.py"))
24 startApplication("linux_run.sh")
27 sketch_create(help_points("XY_plane"), lambda: sketch())
29 sendEvent("QCloseEvent", waitForObject(":OpenParts*_AppElements_MainWindow"))