0026833: Create command checkview containing all viewer types
[occt.git] / tests / boolean / bcommon_simple / F9
CommitLineData
40093367 1## Extension of /users/skv/testref/cd1/ED/cto/001/U1
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# prism from front
20
21vertex v5 r 0 0
22vertex v6 r 0 1
23vertex v7 0 0 1
24vertex v8 0 0 0
25
26edge e5 v5 v6
27edge e6 v6 v7
28edge e7 v7 v8
29edge e8 v8 v5
30
31wire wb e5 e6 e7 e8
32mkplane fb wb
33
34prism bb fb 0 r/2 0
35
36trotate bb 0 0 0 0 0 1 45
37
38bcommon result ba bb
39
58cf74e0 40checkprops result -s 4.41421
5747059b 41checkview -display result -2d -s -otherwise { ba bb } -path ${imagedir}/${test_image}.png