1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/modalg_6/bug26556_3
aml e1ed38e054 0026556: Infinite calculations of BRepOffset_MakeOffset
Method for preanalysis of input data added (CheckInputData).
Now it is possible to work with Error() function, which return error code.
Extended output support for all offset commands added.

Test-cases for issue #26556
2015-09-04 12:07:56 +03:00

19 lines
508 B
Plaintext

puts "========"
puts "OCC26556"
puts "========"
puts ""
##################################################
# Infinite calculations of BRepOffset_MakeOffset
##################################################
restore [locate_data_file OCC26556-004_extract_2015-01-C37_0213_res.brep] sh
offsetparameter 1e-7 p i
offsetload sh 80
decho off
set bug_info [offsetperform r]
decho on
if {$bug_info != "ERROR. Degenerated normal on input data."} {
puts "ERROR: OCC26556 is reproduced. Error message is absent."
}