1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0028195: Boolean common returns empty result for a solid where some surfaces of revolution touch the axis

Problem is not reproduced on current master. Issue must be closed on 7.2.0.
Test case was added only
This commit is contained in:
mkv 2017-08-25 13:35:15 +03:00 committed by bugmaster
parent bb88f3ff6e
commit 3dffe5f265
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,28 @@
puts "========"
puts "OCC28195"
puts "========"
puts ""
##################################################################################################
# Boolean common returns empty result for a solid where some surfaces of revolution touch the axis
##################################################################################################
restore [locate_data_file bug28195_solidsOK.brep] s
whatis s
explode s
checkshape s
bopcheck s_1
bopcheck s_2
bopargcheck s_1 s_2 -O #F
bop s_1 s_2
bopcommon r
whatis r
explode r
checkshape r_1
nbshapes r_1
checkview -display r_1 -2d -path ${imagedir}/${test_image}-2d.png
checkview -display r_1 -3d -path ${imagedir}/${test_image}-3d.png

View File

@ -0,0 +1,28 @@
puts "========"
puts "OCC28195"
puts "========"
puts ""
##################################################################################################
# Boolean common returns empty result for a solid where some surfaces of revolution touch the axis
##################################################################################################
restore [locate_data_file bug28195_solidsKO.brep] s
whatis s
explode s
checkshape s
bopcheck s_1
bopcheck s_2
bopargcheck s_1 s_2 -O #F
bop s_1 s_2
bopcommon r
whatis r
explode r
checkshape r_1
nbshapes r_1
checkview -display r_1 -2d -path ${imagedir}/${test_image}-2d.png
checkview -display r_1 -3d -path ${imagedir}/${test_image}-3d.png