1 puts "TODO OCC12345 ALL: Faulty : Result shape is NULL shape"
2 puts "TODO OCC12345 ALL: Error : The command is not valid. The length is"
8 ######################################################
9 ## Exception thrown: Standard_ConstructionError: Offset wire is not closed:
10 ######################################################
12 source [locate_data_file OCC745_cont1.dat]
15 if { [catch { mkoffset result pp 1 -10 } status] } {
18 renamevar result_1 result
19 set nb_info [nbshapes result]
20 regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
21 puts [format "Result shape result contains %s vertexes" $ve]
23 puts [format "Faulty : Result shape is NULL shape"]
25 regexp {WIRE +: +([-0-9.+eE]+)} $nb_info full wi
27 set ll [explode result w]
29 puts [format "Faulty : Result shape result is COMPOUND and contains %s wires" $num]
32 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection $k] full cs
34 puts [format "Faulty : Result shape is UNclosed wire !!! " $k]
36 puts [format "OK: Result shape is CLOSED wire !!! "]