0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / bugs / 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 "============"
0d828ac8 6puts "OCC22188: Visualization of solid fails (in BRepMesh_FastDiscretFace) "
3bea4c16 7puts "============"
8puts ""
3bea4c16 9
0d828ac8 10pload MODELING VISUALIZATION
3bea4c16 11restore [locate_data_file OCC22188.brep] result
12tclean result
13
0d828ac8 14vinit View1
3bea4c16 15vdisplay result
16vsetdispmode 1
17vfit
18
863f782a 19if { [checkplatform -windows] } {
20 set good_tri 6114
21 set good_nod 3080
22 set good_defl 0.50050406431775729
3bea4c16 23} else {
24 set good_tri 6148
25 set good_nod 3097
26 set good_defl 0.5153628044287929
27}
28
5d7a0489 29checktrinfo 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 30checkprops result -s 32416.7
31checkshape result
a4eba920 32checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 9
0d828ac8 33vdump $imagedir/${casename}.png