b1574471 |
1 | puts "============" |
2 | puts "OCC25002" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Wrong result done by Boolean Operation algorithm |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug25002_pl1.brep] b1 |
10 | restore [locate_data_file bug25002_selected_holes.brep] b2 |
11 | |
12 | bop b1 b2 |
13 | bopcut r |
14 | |
15 | bopsection result |
16 | |
17 | regexp {nb alone Vertices : +([-0-9.+eE]+)} [checksection result] full nb_alone_Vertices |
18 | |
19 | if { ${nb_alone_Vertices} == 0 } { |
20 | puts "OK: Good result done by Boolean Operation algorithm" |
21 | } else { |
22 | puts "Error: Wrong result done by Boolean Operation algorithm" |
23 | } |
24 | |
58cf74e0 |
25 | checkprops result -l 67.3503 |
26 | checkshape result |
b1574471 |
27 | |
a4eba920 |
28 | checknbshapes result -vertex 1128 -edge 1128 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 2257 |
5747059b |
29 | checkview -display result -2d -path ${imagedir}/${test_image}.png |