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, 227))
19 #[check] Check that 2 points have 'anchor' icons near themselves
21 #[step] Define distance between fixed and free points
22 distance((340, 205), (490, 381), (201, 320))
23 # [step] Change distance set
24 change_distance((275, 407), 200)
25 # [step] Check that distance has been modified, free point moved
31 # [Scenario] Sketch_005
33 #[Tested functionality]
34 #[Summary description]
37 source(findFile("scripts", "common.py"))
38 #[section] Application start
40 startApplication("salome_run.sh")
44 #[step] Activate NewGeom
45 #[step]Click 'New' button
48 #[section] Creation of sketch and objects inside it
49 #[step] Part - New part
52 sketch_create(help_points("XY_plane"), lambda: sketch())
54 #[step] Close application without saving