mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
24 lines
742 B
Plaintext
Executable File
24 lines
742 B
Plaintext
Executable File
puts "TODO OCC12345 ALL: Faulty OCC406: Command checkshape works wrongly: Source shape looks invalid"
|
|
puts "TODO OCC12345 ALL: Error : The area of result shape is"
|
|
|
|
puts "========"
|
|
puts "OCC406"
|
|
puts "========"
|
|
puts ""
|
|
#########################################
|
|
## Checkshape says face is Ok, but it looks invalid
|
|
#########################################
|
|
|
|
restore [locate_data_file OCC406.brep] result
|
|
|
|
set che [checkshape result]
|
|
|
|
if { [regexp {Faulty} $che ] != 1 } {
|
|
puts "Faulty OCC406: Command checkshape works wrongly: Source shape looks invalid"
|
|
} else {
|
|
puts "OCC406 OK : Source shape is invalid. Command checkshape works properly."
|
|
}
|
|
|
|
checkprops result -s 0
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|