61c421bf |
1 | puts "============" |
2 | puts "OCC10435" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # error in fillet after Cut of torus from box |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC10435 |
10 | |
11 | restore [locate_data_file OCC10435.brep] a |
12 | |
13 | checkshape a |
14 | explode a e |
15 | |
16 | set radius 5. |
17 | |
18 | if { [catch {fillet result a ${radius} a_10 ${radius} a_15 ${radius} a_16 } catch_result] } { |
19 | puts "Faulty ${BugNumber} exception (case 1): Fillet operation fails on given shape " |
20 | } else { |
21 | puts "${BugNumber} (case 1) OK: Fillet operation was made" |
22 | |
58cf74e0 |
23 | checkprops result -s 36455.2 |
24 | checkshape result |
61c421bf |
25 | |
26 | # Analysis of "nbshapes res" |
a4eba920 |
27 | checknbshapes result -vertex 12 -edge 19 -wire 11 -face 10 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 55 |
61c421bf |
28 | } |
29 | |
5747059b |
30 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
61c421bf |
31 | |