Correction of testing case for issue 24374
[occt.git] / tests / bugs / modalg_1 / buc60777
CommitLineData
a87752f3 1
2puts "========================"
3puts "BUC60777"
4puts "========================"
5
6profile p x 30 y -10 x 10 y 10 x 10 y 30 t -30 -20 t -30 20
7mkoffset result p 1 -1
8explode p w
9
10regexp {Mass +: +([-0-9.+eE]+)} [lprops result_1] full end
11regexp {Mass +: +([-0-9.+eE]+)} [lprops p_1] full end1
12
13if { $end >= $end1} {
14 puts " Faulty Mkoffset operation was made wrongly"
15 } else {
16 puts " Mkoffset operation was made successfully"
17}
18
19# Lenth of "profile" : 203.733802110964
20
21renamevar result_1 result
22
23set length 191.044
24set 2dviewer 0