1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/modalg_5/bug25838
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

28 lines
829 B
Plaintext

puts "========="
puts "OCC25838"
puts "========="
puts ""
###############################################
# Wrong result obtained by General Fuse operator.
###############################################
puts "TODO #OCC26816 ALL: Error : Result done by General Fuse operator is WRONG because number of"
puts "TODO #OCC26816 ALL: Faulty shapes in variables faulty_1 to faulty_"
restore [locate_data_file bug25715_p02c3s1.brep] b1
restore [locate_data_file bug25838_p02c3s2.brep] b2
restore [locate_data_file bug25715_p02c3s3.brep] b3
bclearobjects
bcleartools
baddobjects b1 b2 b3
bfillds
bbuild result
checkprops result -s 3107.42
checkshape result
checknbshapes result -vertex 26 -edge 45 -wire 23 -face 23 -shell 5 -solid 5 -compsolid 0 -compound 1 -shape 128 -t -m "Result done by General Fuse operator"
set 2dviewer 1