0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_6 / bug26775
1 puts "============"
2 puts "OCC26775"
3 puts "============"
4 puts ""
5 ###############################
6 ## Bad result of section algorithm
7 ###############################
8
9 restore [locate_data_file bug26775_a.brep] a
10 restore [locate_data_file bug26775_b.brep] b
11
12 bsection result a b
13
14 checkprops result -l 1400.02
15
16 set nbshapes_expected "
17 Number of shapes in shape
18  VERTEX    : 2
19  EDGE      : 1
20  WIRE      : 0
21  FACE      : 0
22  SHELL     : 0
23  SOLID     : 0
24  COMPSOLID : 0
25  COMPOUND  : 1
26  SHAPE     : 4
27 "
28
29 checknbshapes result -ref ${nbshapes_expected} -t -m "Section curve"
30 checkview -display result -3d -path ${imagedir}/${test_image}.png