1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug27936
apv 192b22058b 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.
2017-08-24 19:12:41 +03:00

23 lines
664 B
Plaintext

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