0024757: DRAW: Move commands fixshape, tolerance, and similar to MODELING
[occt.git] / tests / boolean / bopcut_simple / ZP6
CommitLineData
40093367 1puts "================================="
2puts "CUT of box and halfspace"
3puts "Case is duplicate of chl 918 B7, bug OCC297 "
4puts "================================="
5
6vertex v1 250 250 0
7vertex v2 -250 250 0
8vertex v3 -250 -250 0
9vertex v4 250 -250 0
10
11edge e1 v1 v2
12edge e2 v2 v3
13edge e3 v3 v4
14edge e4 v4 v1
15
16wire w1 e1 e2 e3 e4
17
18mkplane f w1
19
20set x 0
21set y 0
22
23set Zpoint 100
24set Zbox -80
25
26halfspace hs f $x $y $Zpoint
27
28box b 0 0 $Zbox 150 200 200
29
30bop b hs
31bopcut result
32
33set square 116000