mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-11 09:33:52 +08:00
5d7a048985
Command checktrinfo was created. Test cases were updated to use command checktrinfo.
38 lines
1.1 KiB
Plaintext
Executable File
38 lines
1.1 KiB
Plaintext
Executable File
puts "TODO OCC11111 ALL: Error: Number of triangles"
|
|
puts "TODO OCC11111 ALL: Error: Number of nodes"
|
|
puts "TODO OCC11111 ALL: Error: Maximal deflection"
|
|
|
|
puts "============"
|
|
puts "OCC22188"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Visualization of solid fails (in BRepMesh_FastDiscretFace)
|
|
#######################################################################
|
|
|
|
set BugNumber OCC22188
|
|
|
|
restore [locate_data_file OCC22188.brep] result
|
|
tclean result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode 1
|
|
vfit
|
|
|
|
if { [string compare $tcl_platform(platform) "windows"] == 0 } {
|
|
set good_tri 6114
|
|
set good_nod 3080
|
|
set good_defl 0.50050406431775729
|
|
} else {
|
|
set good_tri 6148
|
|
set good_nod 3097
|
|
set good_defl 0.5153628044287929
|
|
}
|
|
|
|
checktrinfo result -tri ${good_tri} -nod ${good_nod} -defl ${good_defl} -tol_rel_defl 0.001 -tol_rel_tri 0.001 -tol_rel_nod 0.001
|
|
checkprops result -s 32416.7
|
|
checkshape result
|
|
checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 9
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|