5 ######################################################
6 # Offset algorithm produces an invalid shape from a cone
7 ######################################################
11 set expected_MaxTolerance 1.02470e-007
12 set tol_abs_MaxTolerance 1.e-08
13 set tol_rel_MaxTolerance 1.e-08
15 restore [locate_data_file bug27134_cone.brep] a
18 offsetshape res a_1 10
21 checknbshapes res -vertex 5 -edge 7 -wire 2 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 17
25 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance res] full MaxTolerance
26 checkreal "MaxTolerance" ${MaxTolerance} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
28 checkview -screenshot -2d -path ${imagedir}/${test_image}.png