mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0027244: Test case with workaround for issue 0027240
Test case for issue CR27404
This commit is contained in:
parent
a965c45b2d
commit
e2a37a80f6
30
tests/bugs/modalg_6/bug27240_1
Normal file
30
tests/bugs/modalg_6/bug27240_1
Normal 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
|
Loading…
x
Reference in New Issue
Block a user