1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_6/bug22794
mkv 2fb5823d31 0028146: Data files with the same content in test cases
Names of used shapes were corrected in test cases
2016-11-23 13:09:48 +03:00

38 lines
795 B
Plaintext

puts "============"
puts "OCC22793"
puts "============"
puts ""
######################################################
# Boolean cut operation hangs computer
######################################################
restore [locate_data_file bug22793_Positive.brep] p
restore [locate_data_file bug22794b.brep] v
checkshape p
tolerance p
checkshape v
tolerance v
bop p v
bopcut result
checkprops result -s 1.89654e+007
checkshape result
set nbshapes_expected "
Number of shapes in result
VERTEX : 20
EDGE : 30
WIRE : 14
FACE : 14
SHELL : 2
SOLID : 2
COMPSOLID : 0
COMPOUND : 1
SHAPE : 83
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
checkview -display result -2d -path ${imagedir}/${test_image}.png