e1ed38e0 |
1 | puts "TODO OCC26556 ALL: ERROR. offsetperform operation not done." |
2 | |
61c421bf |
3 | puts "============" |
4 | puts "OCC5805" |
5 | puts "============" |
6 | puts "" |
7 | ###################################################### |
8 | # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results. |
9 | ###################################################### |
10 | |
11 | set BugNumber OCC5805 |
12 | |
13 | restore [locate_data_file OCC5805.brep] a |
14 | |
15 | decho off |
16 | set che_a [checkshape a] |
17 | decho on |
18 | if { [regexp {Faulty} $che_a] } { |
19 | puts "Faulty ${BugNumber} : checkshape is wrong for a" |
20 | } |
21 | |
22 | explode a f |
23 | |
24 | if { [catch { offsetshape result a -1 a_6 } catch_result] } { |
25 | puts "Faulty ${BugNumber} : offsetshape is wrong" |
26 | } |
27 | |
fb60057d |
28 | checkmaxtol result -min_tol 1. |
61c421bf |
29 | |
30 | set square 1185.03 |
31 | |
a4eba920 |
32 | checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41 |
61c421bf |
33 | set 2dviewer 0 |