1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
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

29 lines
805 B
Plaintext
Executable File

puts "================"
puts "OCC23139"
puts "================"
puts ""
########################################################################################################
# BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve
########################################################################################################
set BugNumber OCC23139
### rename to bug23139_aShape_for_fillet.brep
restore [locate_data_file bug23139_aShape_for_fillet.brep] b
explode b e
donly b b_6
blend result b 20 b_6
explode result f
#av2d
set exception_status [ catch { pcurve result_1 } ]
if { ${exception_status} == 0 } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
set 2dviewer 0
checkprops result -l 5558.88
checksection result