0029528: Visualization, TKOpenGl - allow defining sRGB textures
[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
58cf74e0 19checkprops result -l 60. -s 200.
20checksection result
21checkshape result
f47b8d2b 22
23set nbshapes_expected "
24Number of shapes in shape
25 VERTEX : 4
26 EDGE : 4
27 WIRE : 1
28 FACE : 1
9526aa6a 29 SHELL : 0
f47b8d2b 30 SOLID : 0
31 COMPSOLID : 0
32 COMPOUND : 1
9526aa6a 33 SHAPE : 11
f47b8d2b 34"
35checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Cut a wire by halfspace"
5747059b 36checkview -display result -3d -path ${imagedir}/${test_image}.png