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