6d368502 |
1 | puts "REQUIRED All: 1 F: Syntax error in IGES file at line " |
7faaccfd |
2 | puts "================" |
3 | puts "OCC22165" |
4 | puts "================" |
5 | puts "" |
6 | ####################################################################################### |
7b5e532f |
7 | # IGES translator does not produce any shape |
7faaccfd |
8 | ###################################################################################### |
9 | |
10 | set BugNumber OCC22165 |
11 | |
12 | catch { pload XDE } |
13 | |
14 | igesbrep [locate_data_file OCC22165-cub_spain.igs] result * |
15 | |
16 | set Log [data c] |
17 | |
18 | set LogLength [llength ${Log}] |
19 | |
20 | if { ${LogLength} < 21 } { |
21 | puts "Bad format of data-command" |
22 | puts "Faulty ${BugNumber}" |
23 | } else { |
24 | regexp -all {1[ \t]*F: Syntax error in IGES file at line ([-0-9.+eE]+) in section ([A-Z]).} $Log full word1 word2 |
a849d42d |
25 | if { ${word1} != "204" || ${word2} != "P" } { |
7faaccfd |
26 | puts "Faulty ${BugNumber}" |
27 | } |
28 | } |
29 | |