| puts "========" | |
| puts "OCC745" | |
| puts "========" | |
| puts "" | |
| ############################################# | |
| # Negative offset parameter leads to positive offset and vice- | |
| # versa. Result of the offset represent an edge instead of wire. | |
| ############################################# | |
| restore [locate_data_file OCC745_nb1.brep] w | |
| mkoffset result w 1 -1 | |
| set list [whatis result_1] | |
| if { [regexp {WIRE} $list] == 0 } { | |
| puts "Faulty OCC745" | |
| } else { | |
| puts "OCC745 OK" | |
| } | |
| renamevar result_1 result | |
| checkprops result -l 307.876 | |
| checkshape result | |
| checksection result | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |