0027146: Create command checkplatform
[occt.git] / tests / bugs / vis / bug22188
CommitLineData
5d7a0489 1puts "TODO OCC11111 ALL: Error: Number of triangles"
2puts "TODO OCC11111 ALL: Error: Number of nodes"
3puts "TODO OCC11111 ALL: Error: Maximal deflection"
3bea4c16 4
5puts "============"
6puts "OCC22188"
3bea4c16 7puts "============"
8puts ""
9#######################################################################
10# Visualization of solid fails (in BRepMesh_FastDiscretFace)
11#######################################################################
12
13set BugNumber OCC22188
14
15restore [locate_data_file OCC22188.brep] result
16tclean result
17
18vinit
19vdisplay result
20vsetdispmode 1
21vfit
22
863f782a 23if { [checkplatform -windows] } {
24 set good_tri 6114
25 set good_nod 3080
26 set good_defl 0.50050406431775729
3bea4c16 27} else {
28 set good_tri 6148
29 set good_nod 3097
30 set good_defl 0.5153628044287929
31}
32
5d7a0489 33checktrinfo 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
58cf74e0 34checkprops result -s 32416.7
35checkshape result
a4eba920 36checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 9
5747059b 37checkview -screenshot -3d -path ${imagedir}/${test_image}.png