0031492: BRepBuilderAPI_MakeFace crashes on a wire
[occt.git] / tests / bugs / modalg_7 / bug28828_6
CommitLineData
1d54b807 1puts "===================================================================="
2puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
3puts "===================================================================="
4puts ""
5
6#nurbsconvert all shape
7pcylinder a1 10 50
8box a2 -20 -20 -20 40 40 40
9bfuse a a1 a2
10nurbsconvert b a
11explode b f
12explode b_1 e
13donly b b_1 b_1_2
14
15chamf_throat_with_penetration result b b_1_2 b_1 1. 2.
16
17checkshape result
18
19checknbshapes result -solid 1 -shell 1 -face 9 -wire 10 -edge 17 -vertex 11 -shape 50
20
21set tolres [checkmaxtol result]
22
23if { ${tolres} > 0.0001} {
24 puts "Error: bad tolerance of result"
25}
26
27checkprops result -v 73604.1 -deps 1.e-7
28
29checkview -display result -2d -path ${imagedir}/${test_image}.png