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_1/bug110_1
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

43 lines
715 B
Plaintext
Executable File

puts "========================"
puts " BUC60706 "
puts " OCC110 "
puts "(cases 1-3)"
puts "========================"
restore [locate_data_file buc60706a.brep] f
checkshape f
restore [locate_data_file buc60706b.brep] w
checkshape w
pipe t w f
restore [locate_data_file buc60706c.brep] s
checkshape s
bcut res_1 s t
checkshape res_1
restore [locate_data_file buc60706d.brep] f
checkshape f
restore [locate_data_file buc60706e.brep] w
checkshape w
pipe t w f
bcut res_2 res_1 t
checkshape res_2
restore [locate_data_file buc60706g.brep] f
checkshape f
restore [locate_data_file buc60706h.brep] w
checkshape w
pipe t w f
bcut result res_2 t
checkprops result -s 865172
checkshape result
set 2dviewer 0