| puts "============" | |
| puts "OCC10234" | |
| puts "============" | |
| puts "" | |
| ############################################################################ | |
| # BRepOffsetAPI_MakePipeShell fails on spine built from two segments and profile built from arc | |
| ############################################################################ | |
| restore [locate_data_file bug10234a.brep] pr | |
| restore [locate_data_file bug10234b.brep] sp | |
| mksweep sp | |
| addsweep pr | |
| buildsweep result -C | |
| checkshape result | |
| checkprops result -s 45.9872 | |
| set nbshapes_expected " | |
| Number of shapes in result | |
| VERTEX : 7 | |
| EDGE : 8 | |
| WIRE : 2 | |
| FACE : 2 | |
| SHELL : 1 | |
| SOLID : 0 | |
| COMPSOLID : 0 | |
| COMPOUND : 0 | |
| SHAPE : 20 | |
| " | |
| checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation" | |
| set tolres [checkmaxtol result] | |
| if { ${tolres} > 5.e-7} { | |
| puts "Error: bad tolerance of result" | |
| } | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png | |