1 puts "TODO OCC12345 ALL: An exception was caught"
2 puts "TODO OCC12345 ALL: Exception"
3 puts "TODO OCC12345 ALL: Faulty BUC60782: mkoffset works wrongly"
4 puts "TODO OCC12345 ALL: Error : The square of result shape is"
8 puts "========================"
11 puts "========================"
13 puts "Results of Geom2d_OffsetCurve are sometimes strange (not correct). "
16 restore [locate_data_file buc60782c.brep] a
18 set che [checkshape a]
19 if { [regexp {Faulty} $che ] == 1 } {
20 puts "Faulty BUC60782 (case 3): Source shape is invalid"
22 puts "BUC60782 OK (case 3): Sourse shape is correct"
25 set che [checkshape a rr]
26 if { [regexp {OK} $che ] != 1 } {
27 puts "Faulty : mistakes are found in SOURCE shape by checkshape command"
28 puts "Body of the script was not executed"
30 puts "Checking of SOURCE shape by checkshape - OK"
31 if [catch { mkoffset result a 1 10 } catch_result] {
32 puts "Faulty BUC60782: mkoffset works wrongly"
35 puts "OK BUC60782: offset is created"