2 #[step] Click 'Create sketch' toolbar button
3 #[step] Select XY plane for sketching
5 #[step] Create point via clicking inside viewer
6 point_create_in_view((340, 205))
7 #[step] Check 'Auxiliary' check-box
8 #[step] Create point via clicking inside viewer
9 point_create_in_view((489, 380), 1)
10 #[step] Finish creation of points via viewer
11 #[step] Create point via direct input of coordinates. Use coordinates (50, 60)
12 point_create((80, 160))
13 #[step] Check 'Auxiliary' check-box
14 #[step] Create point via direct input of coordinates. Use coordinates (150, 60)
15 point_create((250, 50), 1)
16 #[step] Fix positions of 2 points
17 point_fixe((340, 205))
18 point_fixe((504, 229))
20 clickButton(waitForObject(":SALOME 7.6.0 - [Study1].Fit All_QToolButton"))
21 #[check] Check that 2 points have 'anchor' icons near themselves
23 #[step] Define distance between fixed and free points
24 distance((177, 81), (539, 506), (201, 320))
25 #[step] Change distance set
26 change_distance((249, 381), 200)
27 #[step] Check that distance has been modified, free point moved
33 # [Scenario] Sketch_005
35 #[Tested functionality]
36 #[Summary description]
39 source(findFile("scripts", "common.py"))
40 #[section] Application start
42 startApplication("salome_run.sh")
46 #[step] Activate NewGeom
47 #[step]Click 'New' button
50 #[section] Creation of sketch and objects inside it
51 #[step] Part - New part
54 sketch_create(help_points("XY_plane"), lambda: sketch())
56 #[step] Close application without saving