mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023360: Test cases for command mkoffset produce different results on different versions of OCCT
1. Function QuasiFleche(...) does not call for small edges. 2. Forbid to work with NULL-shapes in OffsetWire::FixHoles(...) function. 3. ProjOnCurve(...) function in Bisector_BisecCC.cxx file returns status (DONE or NOT DONE).
This commit is contained in:
@@ -40,5 +40,13 @@ checkshape res5
|
||||
|
||||
renamevar res5 result
|
||||
|
||||
set square 1.21497e+7
|
||||
set OCC62_square 1.23063e+7
|
||||
puts "The expected square is ${OCC62_square}"
|
||||
|
||||
set sq_persent 0.03
|
||||
regexp {Mass +: +([-0-9.+eE]+)} [sprops result] full m
|
||||
if { (${OCC62_square} != 0 && [expr abs(${OCC62_square} - $m)/${OCC62_square}] > ${sq_persent}) || (${OCC62_square} == 0 && $m != 0) } {
|
||||
puts "Error : The square of result shape is $m"
|
||||
}
|
||||
|
||||
set 2dviewer 0
|
||||
|
@@ -1,8 +1,10 @@
|
||||
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
#puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
puts "TODO OCC23068 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_074.brep] s
|
||||
|
||||
set length 0
|
||||
|
@@ -1,7 +1,7 @@
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
#puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
#puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_075.brep] s
|
||||
|
||||
|
@@ -1,8 +1,10 @@
|
||||
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
#puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
puts "TODO OCC23068 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_074.brep] s
|
||||
|
||||
set length 0
|
||||
|
@@ -1,7 +1,7 @@
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
#puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
#puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_075.brep] s
|
||||
|
||||
|
@@ -1,8 +1,10 @@
|
||||
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
#puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23068 ALL: Error : result is not a topological shape!!!"
|
||||
puts "TODO OCC23068 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_074.brep] s
|
||||
|
||||
set length 0
|
||||
|
@@ -1,7 +1,7 @@
|
||||
puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
#puts "TODO ?OCC23068 ALL: Error : The offset cannot be built."
|
||||
#puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||
#puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||
#puts "TODO ?OCC23748 ALL: Error: Offset is not done."
|
||||
|
||||
restore [locate_data_file offset_wire_075.brep] s
|
||||
|
||||
|
Reference in New Issue
Block a user