mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
32 lines
750 B
Plaintext
Executable File
32 lines
750 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC14780"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Boolean operations (section, fuse, common, cut) give incorrect result
|
|
######################################################
|
|
|
|
set BugNumber OCC14780
|
|
|
|
restore [locate_data_file OCC14780_part1.brep] s1
|
|
restore [locate_data_file OCC14780_part2.brep] s2
|
|
|
|
bop s1 s2
|
|
bopsection result
|
|
|
|
regexp {nb alone Vertices +: +([-0-9.+eE]+)} [checksection result] full Vertices
|
|
|
|
set good_Vertices 0
|
|
if { ${Vertices} != ${good_Vertices} } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
checkprops result -l 171.289
|
|
checkshape result
|
|
checksection result
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|
|
|