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
47 lines
820 B
Plaintext
Executable File
47 lines
820 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22383"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Four and more points at least on curve
|
|
######################################################
|
|
|
|
set BugNumber OCC22383
|
|
|
|
restore [locate_data_file bug21645_Scale1_so1_f3.brep] result
|
|
|
|
vinit
|
|
tclean result
|
|
incmesh result 0.01
|
|
vdisplay result
|
|
vfit
|
|
|
|
set good_trip 16
|
|
|
|
isos result 0
|
|
trinfo result
|
|
puts ""
|
|
set ll [triepoints result]
|
|
set nbpoints [llength $ll]
|
|
puts $nbpoints
|
|
|
|
## number of discretization points (triepoints command) with fix
|
|
## must be less than number on clear occ651
|
|
|
|
set status 0
|
|
if {$nbpoints <= $good_trip} {
|
|
set status 1
|
|
}
|
|
|
|
|
|
if { $status != 0 } {
|
|
puts "$BugNumber: OK"
|
|
} else {
|
|
puts "$BugNumber: Faulty"
|
|
}
|
|
|
|
checkprops result -s 2.04205e-08
|
|
checkshape result
|
|
set only_screen 1
|
|
|