mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-10 16:32:33 +08:00
e1ed38e054
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."
|
|
}
|