6fcb77aa |
1 | puts "============" |
2 | puts "OCC20866" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # BRepOffsetAPI_MakePipeShell fails on sections having different form |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC20866 |
10 | |
11 | restore [locate_data_file bug20866_V_path_Eo_Co.brep] spine |
12 | |
13 | restore [locate_data_file bug20866_Compound_sections.brep] profile |
14 | explode profile |
15 | |
16 | mksweep spine |
17 | addsweep profile_1 |
18 | addsweep profile_2 |
19 | addsweep profile_3 |
20 | addsweep profile_4 |
21 | addsweep profile_5 |
22 | addsweep profile_6 |
23 | addsweep profile_7 |
24 | |
25 | if [catch { buildsweep result } ] { |
26 | puts "Faulty ${BugNumber} : buildsweep is wrong" |
27 | } else { |
28 | |
29 | set square 1.87535e+06 |
30 | |
31 | set nb_v_good 161 |
32 | set nb_e_good 299 |
33 | set nb_w_good 138 |
34 | set nb_f_good 138 |
35 | set nb_sh_good 1 |
36 | set nb_sol_good 0 |
37 | set nb_compsol_good 0 |
38 | set nb_compound_good 0 |
39 | set nb_shape_good 737 |
40 | } |
41 | set 2dviewer 0 |
42 | |