0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_5 / bug25002
CommitLineData
b1574471 1puts "============"
2puts "OCC25002"
3puts "============"
4puts ""
5#######################################################################
6# Wrong result done by Boolean Operation algorithm
7#######################################################################
8
9restore [locate_data_file bug25002_pl1.brep] b1
10restore [locate_data_file bug25002_selected_holes.brep] b2
11
12bop b1 b2
13bopcut r
14
15bopsection result
16
17regexp {nb alone Vertices : +([-0-9.+eE]+)} [checksection result] full nb_alone_Vertices
18
19if { ${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 25checkprops result -l 67.3503
26checkshape result
b1574471 27
a4eba920 28checknbshapes result -vertex 1128 -edge 1128 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 2257
5747059b 29checkview -display result -2d -path ${imagedir}/${test_image}.png