0030690: Draw Harness - provide XDisplay command for displaying XDE document
[occt.git] / tests / v3d / dimensions / symmetric
CommitLineData
404c8936 1puts "===================================================================="
2puts "OCC28162: Draw Harness - eliminate usage of deprecated Local Context"
3puts "Select 3 edges or 1 edge and 2 vertices"
4puts "===================================================================="
5
6vclear
7vinit
8
9box b 10 20 30
10vdisplay b
11vfit
12
13set shift 1
14
15# Create a symmetric relation from 3 edges.
16vselmode b 2 1
17
18vselect 280 23
19vselect 123 112 $shift
20vselect 123 382 $shift
21
22vrelation r3edges -symmetric
23
24vdump $imagedir/${casename}_3edges.png
25
26# Create a symmetric relation from edge and 2 vertices.
27vremove r3edges
28
29vselect 0 0
30# Select an edge.
31vselect 123 112
32
33vselmode b 2 0
34vselmode b 1 1
35
36# Select 2 vertices.
37vselect 230 0 325 55 $shift
38
39vrelation redge2vertices -symmetric
40
41vdump $imagedir/${casename}_edge_2vertices.png