5 #######################################################
6 # Problems making offset wires
7 #######################################################
9 restore [locate_data_file bug6768.brep] co
11 foreach s {co_1 co_2 co_3 co_4} {
13 puts "\n*** make offset of wire r$s\n"
14 mkoffset r${s} ${s} 1 -1
16 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection r${s}_1] full nbv
19 puts "Error : Section is incorrect"
21 puts "Section is correct"
24 if { ${s} eq "co_1" } {
25 checkprops r${s}_1 -l 577.397
26 checknbshapes r${s}_1 -vertex 99
27 } elseif { ${s} eq "co_2" } {
28 checkprops r${s}_1 -l 591.334
29 checknbshapes r${s}_1 -vertex 80
30 } elseif { ${s} eq "co_3" } {
31 checkprops r${s}_1 -l 550.648
32 checknbshapes r${s}_1 -vertex 111
34 checkprops r${s}_1 -l 545.219
35 checknbshapes r${s}_1 -vertex 290
43 checkview -screenshot -2d -path ${imagedir}/${test_image}.png