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 | |
13 | decho off |
14 | set che_a [checkshape a] |
15 | decho on |
16 | if { [regexp {Faulty} $che_a] } { |
17 | puts "Faulty ${BugNumber} : checkshape is wrong for a" |
18 | } |
19 | |
20 | explode a f |
21 | |
22 | if { [catch { offsetshape result a -1 a_6 } catch_result] } { |
23 | puts "Faulty ${BugNumber} : offsetshape is wrong" |
24 | } |
25 | |
fb60057d |
26 | checkmaxtol result -min_tol 1. |
61c421bf |
27 | |
28 | set square 1185.03 |
29 | |
30 | set nb_v_good 10 |
31 | set nb_e_good 15 |
32 | set nb_w_good 7 |
33 | set nb_f_good 7 |
34 | set nb_sh_good 1 |
35 | set nb_sol_good 1 |
36 | set nb_compsol_good 0 |
37 | set nb_compound_good 0 |
38 | set nb_shape_good 41 |
39 | |
40 | set 2dviewer 0 |