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