0030386: Modeling Algorithms - Unable to perform Cut operation
[occt.git] / tests / bugs / modalg_7 / bug28828_19
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#KPart: cone + plane, symmetrical throat
7pcone a1 40 0 70
8box a2 -50 -50 -20 100 100 40
9bfuse b a1 a2
10savehistory hh
11
12explode a1 f
13generated ee hh a1_1
14donly b ee
15
16chamf_throat result b ee 3.
17
18checkshape result
19
20checknbshapes result -solid 1 -shell 1 -face 8 -wire 9 -edge 17 -vertex 11 -shape 48
21
22set tolres [checkmaxtol result]
23
24if { ${tolres} > 1.001e-7} {
25 puts "Error: bad tolerance of result"
26}
27
28checkprops result -v 445625 -deps 1.e-7
29
30checkview -display result -2d -path ${imagedir}/${test_image}.png