0023711: Incorrect result done by fuse operation
[occt.git] / tests / boolean / bopcommon_simple / ZP4
CommitLineData
40093367 1puts "================================="
2puts "COMMON of box and halfspace"
3puts "================================="
4
5vertex v1 250 250 0
6vertex v2 -250 250 0
7vertex v3 -250 -250 0
8vertex v4 250 -250 0
9
10edge e1 v1 v2
11edge e2 v2 v3
12edge e3 v3 v4
13edge e4 v4 v1
14
15wire w1 e1 e2 e3 e4
16
17mkplane f w1
18
19set x 0
20set y 0
21
22set Zpoint 100
23set Zbox -30
24
25halfspace hs f $x $y $Zpoint
26
27box b 0 0 $Zbox 150 200 200
28
29bop b hs
30bopcommon result
31
32set square 179000