File: bug399

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 (27 lines) | stat: -rwxr-xr-x 751 bytes parent folder | download
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
if { [array get env os_type] != "" } {
    set os $env(os_type)
}
if { [string compare $os "windows"] != 0 } {
### by apn master 16.12.2012
###   puts "TODO OCC12345 ALL: Error : The square of result shape is"
}

puts "========"
puts "OCC399"
puts "========"
puts ""
#########################################
## Checkshape gives wrong result for valid face 
#########################################

restore [locate_data_file OCC399.brep] result

set che [checkshape result]
if { [regexp {Faulty} $che ] == 1 } {
    puts "Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
} else {
    puts "OCC399 OK : Source shape is valid. Command checkshape works properly."
}

set square 4558.53
set 2dviewer 0