1 puts "TODO OCC12345 ALL: Faulty : Result shape is NULL shape"
2 puts "TODO OCC12345 ALL: Exception: result is not a topological shape!!!"
3 puts "TODO OCC12345 ALL: TEST INCOMPLETE"
11 ###########################################
12 # Exception Standard_NullValue while performing the offset:
13 ###########################################
15 restore [locate_data_file OCC745_pocket1.brep] a
18 if { [catch { mkoffset result a 1 -10 } status] } {
21 renamevar result_1 result
22 set nb_info [nbshapes result]
24 regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
25 puts [format "Result shape result contains %s vertexes" $ve]
27 puts [format "Faulty : Result shape is NULL shape"]
29 regexp {WIRE +: +([-0-9.+eE]+)} $nb_info full wi
31 set ll [explode result w]
33 puts [format "Faulty : Result shape result is COMPOUND and contains %s wires" $num]
36 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection $k] full cs
38 puts [format "Faulty : Result shape is UNclosed wire !!! " $k]
40 puts [format "OK: Result shape is CLOSED wire !!! "]