0026833: Create command checkview containing all viewer types
[occt.git] / tests / boolean / bcommon_simple / G6
CommitLineData
40093367 1## Extension of /users/skv/testref/cd1/ED/cto/002/A1
2
3dset r sqrt(2)
4
5vertex v1 0 0 0
6vertex v2 1 0 0
7vertex v3 1 1 0
8vertex v4 0 1 0
9
10edge e1 v1 v2
11edge e2 v2 v3
12edge e3 v3 v4
13edge e4 v4 v1
14
15wire wa e1 e2 e3 e4
16mkplane fa wa
17prism ba fa 0 0 1
18
19
20vertex v5 0 0 1
21vertex v6 1.5 0 1
22vertex v7 1.5 r/2 1
23vertex v8 0 r/2 1
24
25edge e5 v5 v6
26edge e6 v6 v7
27edge e7 v7 v8
28edge e8 v8 v5
29
30wire wb e5 e6 e7 e8
31mkplane fb wb
32
33prism bb fb 0 0 -1
34
35trotate bb 0 0 0 0 0 1 45
36
37bcommon result ba bb
38
58cf74e0 39checkprops result -s 4.41421
5747059b 40checkview -display result -2d -s -otherwise { ba bb } -path ${imagedir}/${test_image}.png