| puts "====================================================================" | |
| puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm" | |
| puts "====================================================================" | |
| puts "" | |
| #non-KPart (nurbsconvert): cone + plane, penetrating throat | |
| pcone a1 40 0 70 | |
| box a2 -50 -50 -20 100 100 40 | |
| bfuse b a1 a2 | |
| nurbsconvert b b | |
| explode b f | |
| explode b_1 e | |
| donly b b_1 b_1_2 | |
| chamf_throat_with_penetration result b b_1_2 b_1 2. 3. | |
| checkshape result | |
| checknbshapes result -solid 1 -shell 1 -face 8 -wire 9 -edge 17 -vertex 11 -shape 48 | |
| set tolres [checkmaxtol result] | |
| if { ${tolres} > 0.0001} { | |
| puts "Error: bad tolerance of result" | |
| } | |
| checkprops result -v 446298 -deps 1.e-7 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |