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
21 lines
440 B
Plaintext
Executable File
21 lines
440 B
Plaintext
Executable File
|
|
puts "============"
|
|
puts "BUC60849"
|
|
puts "============"
|
|
puts ""
|
|
|
|
restore [locate_data_file BUC60849.brep] result
|
|
checkshape result
|
|
|
|
set bndb [ lindex [bounding result] 3 ]
|
|
|
|
if { $bndb > 100.000001 } {
|
|
puts "Faulty BUC60849 : Bounding box of spherical surface is created wroughly."
|
|
} else {
|
|
puts "BUC60849 OK :Bounding box of spherical surface is created properly."
|
|
}
|
|
checkprops result -s 125663
|
|
checkshape result
|
|
set 2dviewer 0
|
|
|