puts "=============" puts "BUC60878" puts "=============" #restore BUC60878-wire1.brep a #########dtext -10 -10 -60 "THE CASE IS INCORRECT" #mkoffset r a 1 0.5 #tpcompound res #checkshape res restore [locate_data_file BUC60878-wire1.brep] a checkshape a set che [checkshape a rr] if { [regexp {OK} $che] != 1 } { puts "Faulty : mistakes are found in SOURCE shape by checkshape command" puts "Body of the script was not executed" } else { puts "Checking of SOURCE shape by checkshape - OK" mkoffset result a 1 0.5 renamevar result_1 result } set length 370.796 set 2dviewer 0