6 ###################################################
7 ## Exception thrown: Standard_ConstructionError: Offset wire is not closed:
8 ###################################################
10 restore [locate_data_file BUC60830-face2.brep] f
13 if { [catch { mkoffset result f 45 -0.042225 } status] } {
16 renamevar result_1 result
17 set nb_info [nbshapes result]
18 regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
19 puts [format "Result shape result contains %s vertexes" $ve]
21 puts [format "Faulty : Result shape is NULL shape"]
23 regexp {WIRE +: +([-0-9.+eE]+)} $nb_info full wi
25 set ll [explode result w]
27 puts [format "Faulty : Result shape result is COMPOUND and contains %s wires" $num]
30 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection $k] full cs
32 puts [format "Faulty : Result shape is UNclosed wire !!! " $k]
34 puts [format "OK: Result shape is CLOSED wire !!! "]
41 checkprops result -l 72.1851
44 checkview -display result -2d -path ${imagedir}/${test_image}.png