1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/modalg_7/bug25994
nbv 4b46072ae9 # Correction of test case
(cherry picked from commit 663b5da04a351f0ba1ffc8b26c7df818ad56545b)
2018-02-14 14:57:29 +03:00

37 lines
860 B
Plaintext

puts "========"
puts "OCC25994"
puts "========"
puts ""
#########################################
# Boolean fuse result in invalid result
#########################################
restore [locate_data_file bug25994_body.brep] body
restore [locate_data_file bug25994_wing.brep] wing
bclearobjects
bcleartools
baddobjects body
baddtools wing
bfillds
bbop rs 4
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
if { $nbv != 0 } { puts "Error : Section is not closed" }
regexp {Tolerance MAX=([-0-9.+eE]+)} [tolerance rs] full toler
if { $toler > 5.0e-5 } {
puts "Error: Tolerance after section is too large"
}
bbop result 1
checkshape result
checknbshapes result -solid 1 -shell 1 -face 13 -wire 15
checkprops result -s 1.76161e+006 -v 1.07392e+008
smallview
fit
checkview -display result -2d -path ${imagedir}/${test_image}.png