9cc4e7e2 |
1 | puts "================" |
2 | puts "OCC27529" |
3 | puts "================" |
4 | puts "" |
5 | ####################################################################### |
6 | # Invalid result of CUT operation |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug27529_shapes.brep] aS |
10 | explode aS |
11 | |
12 | bcut result aS_1 aS_2 |
13 | |
14 | # Check result validity. |
15 | checkshape result |
16 | |
17 | # Check number of topological entities in the result. |
18 | checknbshapes result -solid 1 -shell 1 -face 6 -vertex 8 |
19 | |
20 | # Check result area. |
21 | checkprops result -s 1.5015e+008 |
22 | |
23 | smallview |
24 | don result |
25 | fit |
26 | |
27 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |