61c421bf |
1 | puts "============" |
2 | puts "OCC5805" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results. |
7 | ###################################################### |
8 | |
9 | set BugNumber OCC5805 |
10 | |
11 | restore [locate_data_file OCC5805.brep] a |
12 | |
6d368502 |
13 | checkshape a |
61c421bf |
14 | |
15 | explode a f |
16 | |
17 | offsetparameter 1e-7 c a |
18 | offsetload a -1 |
19 | |
20 | if { [catch { offsetperform result } catch_result] } { |
21 | puts "Faulty ${BugNumber} : offsetshape is wrong" |
22 | } |
23 | |
fb60057d |
24 | checkmaxtol result -min_tol 1. |
61c421bf |
25 | |
58cf74e0 |
26 | checkprops result -s 876.584 |
27 | checkshape result |
61c421bf |
28 | |
a4eba920 |
29 | checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41 |
5747059b |
30 | checkview -display result -2d -path ${imagedir}/${test_image}.png |