1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_6/bug26745
nbv e4780e5287 0026745: Boolean Cut produces invalid result
Creation of test cases for issues #26745 and #26748
2017-01-26 13:42:19 +03:00

25 lines
539 B
Plaintext

puts "========"
puts "OCC26745"
puts "========"
puts ""
#################################################
# Boolean Cut produces invalid result
#################################################
restore [locate_data_file bug26745_BodyA.brep] a
restore [locate_data_file bug26745_BodyB.brep] b
bclearobjects
bcleartools
baddobjects a
baddtools b
bfillds
# CUT
bbop result 2
checkshape result
checknbshapes result -solid 1 -shell 1
checkprops result -v 20808.1 -s 28247.4
checkview -display result -2d -path ${imagedir}/${test_image}.png