mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
30 lines
630 B
Plaintext
30 lines
630 B
Plaintext
puts "==========="
|
|
puts " BUC60898"
|
|
puts "==========="
|
|
puts ""
|
|
|
|
pload XDE
|
|
|
|
set filepath [locate_data_file BUC60898.igs]
|
|
if [catch { igesbrep $filepath a *} result] {
|
|
puts "Faulty BUC60898: here is reading problem"
|
|
} else {
|
|
puts "BUC60898 OK"
|
|
tpcompound a
|
|
|
|
if [catch {sewing result 1e-7 a } catch_result] {
|
|
puts "Faulty BUC60898: function SEWING gives except"
|
|
} else {
|
|
puts " BUC60898 OK: function SEWING works without except"
|
|
}
|
|
|
|
checkmaxtol result -ref 0.077930308575156593
|
|
checknbshapes result -shell 4
|
|
checkfreebounds result 1725
|
|
|
|
checkprops result -s 798.266
|
|
set 2dviewer 0
|
|
}
|
|
|
|
|