File: bug21578

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (52 lines) | stat: -rw-r--r-- 1,092 bytes parent folder | download | duplicates (6)
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
46
47
48
49
50
51
52
puts "TODO OCC11111 ALL: OCC21578: Faulty"
puts "TODO OCC11111 ALL: Error : The square of result shape is"

puts "============"
puts "OCC21578"
puts "============"
puts ""
######################################################
# Attached shape is not vizualized in the shaded mode
######################################################

set BugNumber OCC21578

restore [locate_data_file OCC21578.brep] result

vinit
tclean result
vsetdispmode 1
vdisplay result
vfit

set tri_info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
regexp {Maximal deflection +([-0-9.+eE]+)} $tri_info full defl

set good_tri 231
set good_nod 236
set good_defl 0.004029564463949387

puts [format " Triangles= %s  Nodes= %s Deflection= %s " $tri $nod $defl]

set status 0
if {${tri} != ${good_tri}} {
  set status 1
}
if {${nod} != ${good_nod}} {
  set status 1
}
#if {${defl} != ${good_defl}} {
#  set status 1
#}

if { ${status} != 0 } {
  puts "${BugNumber}: Faulty"
} else {
  puts "${BugNumber}: OK"
}

set only_screen 1
set square 0