1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0027244: Test case with workaround for issue 0027240

Test case for issue CR27404
This commit is contained in:
emv 2016-10-27 17:52:34 +03:00 committed by apn
parent a965c45b2d
commit e2a37a80f6

View File

@ -0,0 +1,30 @@
puts "========"
puts "OCC27240"
puts "========"
puts ""
###########################################################################
# Boolean operation fails for a case with edge tangential to axis of revolution
###########################################################################
restore [locate_data_file bug27240_vent2-trim.brep] b
explode b
# workaround - increate the tolerance value of the vertex to fill the gap between section curves
explode b_1 v
settolerance b_1_1 0.005
bclearobjects
bcleartools
baddobjects b_1
baddtools b_2
bfillds
bbop result 0
checkshape result
checknbshapes result -solid 1
checkprops result -s 622894
checkprops result -v 2.24142e+007
checkview -display result -2d -path ${imagedir}/${test_image}.png