1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_6/bug26636
akaftasev 3eb891ec49 0033180: We had a problem calling the OCC library at the customer site, and the program crashed
Added status for thrusection operations and changed throw constructions to set of the status and break the function.
2022-12-04 13:35:24 +03:00

21 lines
539 B
Plaintext

puts "REQUIRED All: Profiles inconsistent"
puts "REQUIRED All: Error: Algorithm has failed"
puts "=========="
puts "OCC26636"
puts "=========="
puts ""
############################################################
# BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires
############################################################
restore [locate_data_file bug26636_w1.brep] w1
restore [locate_data_file bug26636_w2.brep] w2
thrusections result 0 1 w1 w2
if {![isdraw result]} {
puts "Error: Algorithm has failed"
}