6 #########################
7 # Not correct creation of bisector loci.
8 #########################
10 restore [locate_data_file OCC745_nb2.brep] w
18 ##################################################
19 #Exception thrown: Standard_ConstructionError: Offset wire is not closed.
20 ##################################################
22 if { [catch { mkoffset result w 10 -7 } status] } {
25 renamevar result_1 result
26 set nb_info [nbshapes result]
27 regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
28 puts [format "Result shape result contains %s vertexes" $ve]
30 puts [format "Faulty : Result shape is NULL shape"]
32 regexp {WIRE +: +([-0-9.+eE]+)} $nb_info full wi
34 set ll [explode result w]
36 puts [format "Faulty : Result shape result is COMPOUND and contains %s wires" $num]
39 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection $k] full cs
41 puts [format "Faulty : Result shape is UNclosed wire !!! " $k]
43 puts [format "OK: Result shape is CLOSED wire !!! "]