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