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

0027936: [regression] BRepAlgoAPI_Common returns empty result for a solid and a face

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:
apv 2017-08-23 14:24:54 +03:00 committed by bugmaster
parent 4f4b893546
commit 192b22058b

View File

@ -0,0 +1,22 @@
puts "========"
puts "OCC27936"
puts "========"
puts ""
###############################################################################
# [regression] BRepAlgoAPI_Common returns empty result for a solid and a face
###############################################################################
restore [locate_data_file bug27936_rsi.brep] s
explode s
brunparallel 1
bop s_1 s_2
bopcommon result
set bug_info [string trim [explode result]]
if {$bug_info == ""} {
puts "ERROR: OCC27936 is reproduced. Result of bopcommon is empty."
}
checkshape result
checknbshapes result -vertex 4 -edge 4 -wire 1 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 11