0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28828_12
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#KPart: plane + plane, symmetrical throat
7polyline b 0 0 0 20 0 0 20 0 20 10 0 20 0 0 40 0 0 0
8mkplane b b
9prism b b 0 20 0
10explode b e
11donly b b_8
12
13chamf_throat result b b_8 2.
14
15checkshape result
16
17checknbshapes result -solid 1 -shell 1 -face 8 -wire 8 -edge 15 -vertex 8 -shape 42
18
19set tolres [checkmaxtol result]
20
21if { ${tolres} > 0.0001} {
22 puts "Error: bad tolerance of result"
23}
24
25checkprops result -v 10129.4 -deps 1.e-7
26
27checkview -display result -2d -path ${imagedir}/${test_image}.png