c9c7286e |
1 | puts "================" |
2 | puts "OCC28009" |
3 | puts "================" |
4 | puts "" |
5 | ####################################################################### |
6 | # [Regression vs OCCT7.0.0] Cut produces not valid shape |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug28009_shape.brep] a |
10 | |
11 | explode a |
12 | bcut result a_1 a_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 12 -wire 12 -edge 28 -vertex 17 |
19 | |
20 | # Check result area. |
21 | checkprops result -s 4347.99 |
22 | |
23 | smallview |
24 | don result |
25 | fit |
26 | |
27 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |