0025937: Failed Cut Edge or Face by HalfSpace.
[occt.git] / tests / bugs / modalg_6 / bug25937_2
CommitLineData
f47b8d2b 1puts "============"
2puts "OCC25937"
3puts "============"
4puts ""
5###############################
6## Failed Cut Edge or Face by HalfSpace.
7###############################
8
9# Cut a face by halfspace
10plane h 0 0 0 1 0 0
11mkface h h
12halfspace h h 10 0 0
13plane a 0 0 0 0 0 1
14mkface a a -10 10 -10 10
15
16bop a h
17bopcut result
18
19set length 60.
20set square 200.
21
22set nbshapes_expected "
23Number of shapes in shape
24 VERTEX : 4
25 EDGE : 4
26 WIRE : 1
27 FACE : 1
28 SHELL : 1
29 SOLID : 0
30 COMPSOLID : 0
31 COMPOUND : 1
32 SHAPE : 12
33"
34checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Cut a wire by halfspace"
35
36set 3dviewer 1