0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / modalg_7 / bug28828_20
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#KPart: cone + plane, penetrating throat
7pcone a1 40 0 70
8box a2 -50 -50 -20 100 100 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 2. 3.
18
19checkshape result
20
21checknbshapes result -solid 1 -shell 1 -face 8 -wire 9 -edge 17 -vertex 11 -shape 48
22
23set tolres [checkmaxtol result]
24
25if { ${tolres} > 1.001e-7} {
26 puts "Error: bad tolerance of result"
27}
28
29checkprops result -v 446299 -deps 1.e-7
30
31checkview -display result -2d -path ${imagedir}/${test_image}.png