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