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_4
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

20 lines
524 B
Plaintext

puts "========"
puts "OCC26556"
puts "========"
puts ""
##################################################
# Infinite calculations of BRepOffset_MakeOffset
##################################################
restore [locate_data_file OCC26556-004_extract_2015-01-C37_0240_res.brep] sh
explode sh F
offsetparameter 1e-7 p i
offsetload sh_3 300
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."
}