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