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
|