File: bug22623

package info (click to toggle)
oce 0.15-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 302,472 kB
  • ctags: 210,903
  • sloc: cpp: 1,165,052; ansic: 75,256; sh: 11,901; tcl: 4,488; python: 2,867; makefile: 337; perl: 37; csh: 12
file content (45 lines) | stat: -rwxr-xr-x 896 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

puts "============"
puts "OCC22623"
puts "============"
puts ""
puts "ATTENTION! TEST IN DEBUG MODE!"
puts ""
#######################################################################
# Use of uninitializaed variables in HLRBRep_Curve::UpdateMinMax in debug mode
#######################################################################

catch { pload XDE }

set BugNumber OCC22623

stepread [locate_data_file OCC22623-fg5test.step] a *

# Axes for a_3 only
hprj p1 -166.887936587259 -524.121423723229 -3.52089319794717 0. 0. 1. 1. 0. 0.

# Axes for complete assembly
compound a_1 a_2 a_3 a_4 a_5 a
houtl o1 a_3
hfill o1 p1 0
hload o1
hsetprj p1
hupdate

set exception_status 0
set r [hhide]
set index [lsearch $r exception]
if {$index > -1} {
  set exception_status 1
}

hres2d

# Resume
puts ""
if { ${exception_status} != 0 } {
   puts "Faulty ${BugNumber}"
} else {
   puts "OK ${BugNumber}"
}