d33a8cde |
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 | |
58cf74e0 |
14 | checkprops result -l 1400.02 |
d33a8cde |
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" |
5747059b |
30 | checkview -display result -3d -path ${imagedir}/${test_image}.png |