5d7a0489 |
1 | puts "TODO OCC11111 ALL: Error: Number of triangles" |
2 | puts "TODO OCC11111 ALL: Error: Number of nodes" |
3 | puts "TODO OCC11111 ALL: Error: Maximal deflection" |
3bea4c16 |
4 | |
5 | puts "============" |
0d828ac8 |
6 | puts "OCC22188: Visualization of solid fails (in BRepMesh_FastDiscretFace) " |
3bea4c16 |
7 | puts "============" |
8 | puts "" |
3bea4c16 |
9 | |
0d828ac8 |
10 | pload MODELING VISUALIZATION |
3bea4c16 |
11 | restore [locate_data_file OCC22188.brep] result |
12 | tclean result |
13 | |
0d828ac8 |
14 | vinit View1 |
3bea4c16 |
15 | vdisplay result |
16 | vsetdispmode 1 |
17 | vfit |
18 | |
863f782a |
19 | if { [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 |
29 | 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 |
58cf74e0 |
30 | checkprops result -s 32416.7 |
31 | checkshape result |
a4eba920 |
32 | checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 9 |
0d828ac8 |
33 | vdump $imagedir/${casename}.png |