| puts "============" | |
| puts "OCC5805" | |
| puts "============" | |
| puts "" | |
| ###################################################### | |
| # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results. | |
| ###################################################### | |
| set BugNumber OCC5805 | |
| restore [locate_data_file OCC5805.brep] a | |
| checkshape a | |
| if { [catch { offsetshape result a -1 } catch_result] } { | |
| puts "Faulty ${BugNumber} : offsetshape is wrong" | |
| } | |
| if { [isdraw result] } { | |
| checkmaxtol result -min_tol 1. | |
| checkprops result -s 876.584 | |
| checkshape result | |
| checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png | |
| } | |