mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +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
32 lines
688 B
Plaintext
Executable File
32 lines
688 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC6554"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Intersection shell-plane gives a disconnected set of edges
|
|
######################################################
|
|
|
|
set BugNumber OCC6554
|
|
|
|
restore [locate_data_file OCC6554-shell.brep] sh
|
|
restore [locate_data_file OCC6554-face.brep] f
|
|
|
|
checkshape sh
|
|
checkshape f
|
|
|
|
bsection result sh f -n2d
|
|
|
|
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full Vertices
|
|
|
|
set good_Vertices 2
|
|
|
|
if { ${Vertices} != ${good_Vertices} } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
checkprops result -l 110.045
|
|
checkshape result
|
|
set 2dviewer 2
|