1 puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
2 puts "TODO OCC12345 ALL: Faulty : mistakes are found in SOURCE shape by checkshape command"
3 puts "TODO OCC12345 ALL: Faulty BUC60782"
5 puts "========================"
8 puts "========================"
10 puts "Results of Geom2d_OffsetCurve are sometimes strange (not correct). "
13 restore [locate_data_file buc60782b.brep] a
14 set che [checkshape a]
15 if { [regexp {Faulty} $che ] == 1 } {
16 puts "Faulty BUC60782 (case 2): Source shape is invalid"
18 puts "BUC60782 OK (case 2): Sourse shape is correct"
21 set che [checkshape a rr]
22 if { [regexp {OK} $che ] != 1} {
23 puts "Faulty : mistakes are found in SOURCE shape by checkshape command"
24 puts "Body of the script was not executed"
26 puts "Checking of SOURCE shape by checkshape - OK"
27 if [catch { mkoffset result a 1 10 } catch_result] {
28 puts "Faulty BUC60782: mkoffset works wrongly"
31 puts "OK BUC60782: offset is created"