6745cae31ab06a0b96a7242081ba38212526f11d
[occt.git] / tests / boolean / bfuse_simple / J8
1 # Permutation of all forms of construction
2 # when fUsing a box and an oblong prism
3
4 # M series from top
5
6 vertex vp1 3 3 0
7 vertex vp2 8 3 0
8 vertex vp3 8 9 0
9 vertex vp4 3 9 0
10 edge eap vp1 vp2
11 edge ebp vp2 vp3
12 edge ecp vp3 vp4
13 edge edp vp4 vp1
14 wire wp eap ebp ecp edp
15 mkplane fp wp
16 prism ba fp 0 0 5
17
18 profile prof O 8 4 5  P 0 0 -1 1 0 0  D 0 1  C 1 180  Y -2  C 1 180  W
19 ## this works but seems to have wrong Y direction
20
21 mkplane pl prof
22 prism ob pl 0 0 1
23
24 bfuse result ba ob
25
26 checkprops result -s 180.283
27 checkview -display result -2d -otherwise { ba ob } -s -path ${imagedir}/${test_image}.png