0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / modalg_7 / bug28828_14
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#KPart: plane + plane, penetrating throat
7polyline b 0 0 0 20 0 0 20 0 20 10 0 20 10 0 40 0 0 40 0 0 0
8mkplane b b
9prism b b 0 20 0
10explode b f
11explode b_4 e
12donly b b_4_1
13
14chamf_throat_with_penetration result b b_4_1 b_4 1. 2.
15
16checkshape result
17
18checknbshapes result -solid 1 -shell 1 -face 9 -wire 9 -edge 17 -vertex 9 -shape 47
19
20set tolres [checkmaxtol result]
21
22if { ${tolres} > 0.0001} {
23 puts "Error: bad tolerance of result"
24}
25
26checkprops result -v 12052 -deps 1.e-7
27
28checkview -display result -2d -path ${imagedir}/${test_image}.png