0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28828_16
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#non-KPart: cylinder + plane (intersection is line), penetrating throat
7pcylinder a1 10 50
8box a2 -20 -20 -20 25 40 40
9bfuse b a1 a2
10savehistory hh
11
12explode a1 f
13modified ff hh a1_1
14generated ee hh a1_1
15explode ee
16donly b ff ee_3 ee_4
17
18chamf_throat_with_penetration result b ee_3 ff 1. 1.2 ee_4 ff 1. 1.2
19
20checkshape result
21
22checknbshapes result -solid 1 -shell 1 -face 11 -wire 11 -edge 31 -vertex 22 -shape 78
23
24set tolres [checkmaxtol result]
25
26if { ${tolres} > 0.0001} {
27 puts "Error: bad tolerance of result"
28}
29
30checkprops result -v 50702.4 -deps 1.e-7
31
32checkview -display result -2d -path ${imagedir}/${test_image}.png