| puts "================" | |
| puts "OCC637" | |
| puts "(case 2)" | |
| puts "================" | |
| puts "" | |
| ########################################## | |
| ## BRepOffsetAPI_MakePipeShell crashes with fatal exception | |
| ########################################## | |
| restore [locate_data_file OCC637d.brep] s | |
| checkshape s | |
| restore [locate_data_file OCC637c.brep] s1 | |
| checkshape s1 | |
| restore [locate_data_file OCC637f.brep] s2 | |
| checkshape s2 | |
| mksweep s | |
| addsweep s1 | |
| addsweep s2 | |
| if [catch {buildsweep result } catch_result] { | |
| puts "Faulty OCC637 (case 2): function buildsweep works wrongly" | |
| } | |
| checkprops result -s 1090.91 | |
| checkshape result | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png | |