0023457: Slow text rendering
[occt.git] / tests / bugs / modalg / bug399
1 if { [array get env os_type] != "" } {
2     set os $env(os_type)
3 }
4 if { [string compare $os "windows"] != 0 } {
5    puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
6    puts "TODO OCC12345 ALL: Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
7 ### by apn master 16.12.2012
8 ###   puts "TODO OCC12345 ALL: Error : The square of result shape is"
9 }
10
11 puts "========"
12 puts "OCC399"
13 puts "========"
14 puts ""
15 #########################################
16 ## Checkshape gives wrong result for valid face 
17 #########################################
18
19 restore [locate_data_file OCC399.brep] result
20
21 set che [checkshape result]
22 if { [regexp {Faulty} $che ] == 1 } {
23     puts "Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
24 } else {
25     puts "OCC399 OK : Source shape is valid. Command checkshape works properly."
26 }
27
28 set square 4558.53
29 set 2dviewer 0