1 puts "TODO ?OCC12345 ALL: An exception was caught"
2 puts "TODO ?OCC12345 ALL: \\*\\* Exception "
3 puts "TODO ?OCC23748 ALL: Error: Offset is not done."
4 puts "TODO ?OCC12345 ALL: Faulty OCC745"
10 ##################################################
11 # Exception thrown: Standard_ConstructionError: Offset wire is not closed.
12 ##################################################
14 restore [locate_data_file OCC745_nb3.brep] w
17 if { [catch { mkoffset result w 1 10 } status] } {
20 renamevar result_1 result
21 set nb_info [nbshapes result]
22 regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
23 puts [format "Result shape result contains %s vertexes" $ve]
25 puts [format "Faulty : Result shape is NULL shape"]
27 regexp {WIRE +: +([-0-9.+eE]+)} $nb_info full wi
29 set ll [explode result w]
31 puts [format "Faulty : Result shape result is COMPOUND and contains %s wires" $num]
34 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection $k] full cs
36 puts [format "Faulty : Result shape is UNclosed wire !!! " $k]
38 puts [format "OK: Result shape is CLOSED wire !!! "]