0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_5 / bug25704_2
1 puts "============"
2 puts "OCC25704"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BRepOffsetAPI_MakeOffset: some customer's cases are processed incorrect
7 #######################################################################
8
9 circle a 0 0 0 10
10 mkedge a a
11 wire a a
12
13 if [catch { mkoffset resoffset a 1 -3. } ] {
14   puts "Error : mkoffset is wrong"
15 } else {
16   renamevar resoffset_1 result
17
18   checkprops result -l 43.9823 
19 checkshape result 
20 checksection result
21
22   checknbshapes result -vertex 1 -edge 1 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 3
23 }
24
25 smallview
26 display a
27 fit
28 checkview -screenshot -2d -path ${imagedir}/${test_image}.png