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
32 lines
895 B
Plaintext
Executable File
32 lines
895 B
Plaintext
Executable File
puts "TODO OCC12345 ALL: Error : is WRONG because number of "
|
|
puts "============"
|
|
puts "OCC15850"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Regression in BOP - wrong results for simple shapes with Bspline geometry
|
|
#######################################################################
|
|
|
|
set BugNumber OCC15850
|
|
|
|
restore [locate_data_file OCC15850_bb.brep] bb
|
|
restore [locate_data_file OCC15850_bc.brep] bc
|
|
|
|
bop bb bc
|
|
bopsection result
|
|
|
|
checkprops result -l 37.6991
|
|
checkshape result
|
|
checksection result
|
|
checknbshapes result -vertex 4 -edge 4 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 9
|
|
regexp {nb alone Vertices +: +([-0-9.+eE]+)} [checksection result] full Vertices
|
|
set good_Vertices 0
|
|
if { ${Vertices} != ${good_Vertices} } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|