0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug27341_307
1 puts "============"
2 puts "OCC27341"
3 puts "============"
4 puts ""
5 ######################################################
6 # Incorrect exact HLR results
7 ######################################################
8
9 pload XDE
10 pload QAcommands
11
12 testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a
13
14 set viewname "right"
15
16 smallview
17 top
18 clear
19
20 OCC27341 result a ${viewname}
21 build3d result
22
23 fit
24
25 # 0027526: Excess micro-edge in HLR visualization of a torus
26 if { [regexp {Windows} [dversion]] } {
27    checkprops result -l 2377.14
28    checknbshapes result -vertex 1008 -edge 507
29 } else {
30    checkprops result -l 2345.73
31    checknbshapes result -vertex 1007 -edge 506
32 }
33
34 checkview -screenshot -2d -path ${imagedir}/${test_image}.png