mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
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
20 lines
524 B
Plaintext
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."
|
|
}
|