0027565: [Regression to OCCT 7.0.0] Number of Intersections Is Wrong
[occt.git] / tests / bugs / modalg_6 / bug27341_315
CommitLineData
5ae6e53d 1puts "============"
2puts "OCC27341"
3puts "============"
4puts ""
5######################################################
6# Incorrect exact HLR results
7######################################################
8
9pload XDE
10pload QAcommands
11
12testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a
13
14set viewname "right"
15
16smallview
17top
18clear
19
20OCC27341 result a ${viewname}
21build3d result
22
23fit
24
25checkprops result -l 5343.53
26
27# 0027526: Excess micro-edge in HLR visualization of a torus
28if { [regexp {Windows} [dversion]] } {
29 checknbshapes result -vertex 1813 -edge 909
30} else {
31 checknbshapes result -vertex 1812 -edge 908
32}
33
34checkview -screenshot -2d -path ${imagedir}/${test_image}.png