0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_7 / bug28828_3
1 puts "===================================================================="
2 puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3 puts "===================================================================="
4 puts ""
5
6 restore [locate_data_file bug28828_b3.brep] b
7 explode b
8 bfuse a b_1 b_2
9 savehistory hh
10
11 explode b_2 e
12 donly a b_2_1
13
14 chamf_throat result a b_2_1 0.1
15
16 checkshape result
17
18 checknbshapes result -solid 1 -shell 1 -face 8 -wire 9 -edge 17 -vertex 11 -shape 48
19
20 set tolres [checkmaxtol result]
21
22 if { ${tolres} > 0.0001} {
23    puts "Error: bad tolerance of result"
24 }
25
26 checkprops result -v 1041.98 -deps 1.e-7
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png