c7806cb6 |
1 | puts "============" |
2 | puts "OCC25704" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # BRepOffsetAPI_MakeOffset: some customer's cases are processed incorrect |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug25704_offset_lines_case3.brep] a |
10 | |
11 | if [catch { mkoffset resoffset a 1 1. i } ] { |
12 | puts "Error : mkoffset is wrong" |
13 | } else { |
14 | renamevar resoffset_1 result |
15 | |
16 | set length 38.9737 |
17 | |
18 | set nb_v_good 5 |
19 | set nb_e_good 5 |
20 | set nb_w_good 1 |
21 | set nb_f_good 0 |
22 | set nb_sh_good 0 |
23 | set nb_sol_good 0 |
24 | set nb_compsol_good 0 |
25 | set nb_compound_good 0 |
26 | set nb_shape_good 11 |
27 | } |
28 | |
29 | smallview |
30 | display a |
31 | fit |
32 | set only_screen_axo 1 |