809eca9d |
1 | puts "============" |
2 | puts "OCC22623" |
3 | puts "============" |
4 | puts "" |
5 | puts "ATTENTION! TEST IN DEBUG MODE!" |
6 | puts "" |
7 | ####################################################################### |
8 | # Use of uninitializaed variables in HLRBRep_Curve::UpdateMinMax in debug mode |
9 | ####################################################################### |
10 | |
11 | catch { pload XDE } |
12 | |
13 | set BugNumber OCC22623 |
14 | |
15 | stepread [locate_data_file OCC22623-fg5test.step] a * |
16 | |
17 | # Axes for a_3 only |
18 | hprj p1 -166.887936587259 -524.121423723229 -3.52089319794717 0. 0. 1. 1. 0. 0. |
19 | |
20 | # Axes for complete assembly |
21 | compound a_1 a_2 a_3 a_4 a_5 a |
22 | houtl o1 a_3 |
23 | hfill o1 p1 0 |
24 | hload o1 |
25 | hsetprj p1 |
26 | hupdate |
27 | |
28 | set exception_status 0 |
29 | set r [hhide] |
30 | set index [lsearch $r exception] |
31 | if {$index > -1} { |
32 | set exception_status 1 |
33 | } |
34 | |
35 | hres2d |
36 | |
37 | # Resume |
38 | puts "" |
39 | if { ${exception_status} != 0 } { |
40 | puts "Faulty ${BugNumber}" |
41 | } else { |
42 | puts "OK ${BugNumber}" |
43 | } |
44 | |