1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
puts "============"
puts "OCC25043"
puts "============"
puts ""
###############################
## there is no possibility to know what exactly subshape of source shape has detected problems by BRepAlgoAPI_Check
###############################
pload QAcommands
restore [locate_data_file bug25043.brep] a
decho off
set info [OCC25043 a]
decho on
if { [regexp "Faulty shape if found in source shape" ${info}] == 1 } {
puts "OK : Good result"
} else {
puts "Error : Wrong result"
}
|