mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
22 lines
545 B
Plaintext
Executable File
22 lines
545 B
Plaintext
Executable File
puts "========"
|
|
puts "CR25202"
|
|
puts "========"
|
|
puts ""
|
|
#########################################
|
|
## Incorrect value of IsClosed flag in shapes produced by some algorithms
|
|
#########################################
|
|
|
|
plane pp 0 0 0 0 0 1
|
|
trim pp pp 0 100 0 100
|
|
mkface ff pp
|
|
prism result ff 0 0 20
|
|
|
|
set info [whatis result]
|
|
if { [regexp {Closed} ${info}] != 1 } {
|
|
puts "OK : value of IsClosed flag is correct"
|
|
} else {
|
|
puts "Error : value of IsClosed flag is not correct"
|
|
}
|
|
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|