1d54b807 |
1 | puts "====================================================================" |
2 | puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm" |
3 | puts "====================================================================" |
4 | puts "" |
5 | |
6 | #non-KPart: cylinder + plane (intersection is line), penetrating throat |
7 | pcylinder a1 10 50 |
8 | box a2 -20 -20 -20 25 40 40 |
9 | bfuse b a1 a2 |
10 | savehistory hh |
11 | |
12 | explode a1 f |
13 | modified ff hh a1_1 |
14 | generated ee hh a1_1 |
15 | explode ee |
16 | donly b ff ee_3 ee_4 |
17 | |
18 | chamf_throat_with_penetration result b ee_3 ff 1. 1.2 ee_4 ff 1. 1.2 |
19 | |
20 | checkshape result |
21 | |
22 | checknbshapes result -solid 1 -shell 1 -face 11 -wire 11 -edge 31 -vertex 22 -shape 78 |
23 | |
24 | set tolres [checkmaxtol result] |
25 | |
26 | if { ${tolres} > 0.0001} { |
27 | puts "Error: bad tolerance of result" |
28 | } |
29 | |
30 | checkprops result -v 50702.4 -deps 1.e-7 |
31 | |
32 | checkview -display result -2d -path ${imagedir}/${test_image}.png |