3da62e0e |
1 | puts "============" |
2 | puts "OCC26334" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # BRepOffsetAPI_MakePipeShell returns the wrong shape |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug26334_pw1.brep] pw1 |
10 | restore [locate_data_file bug26334_pw2.brep] pw2 |
11 | restore [locate_data_file bug26334_pw3.brep] pw3 |
12 | |
13 | mksweep pw1 |
14 | addsweep pw2 |
15 | addsweep pw3 |
16 | setsweep -DT |
17 | |
18 | buildsweep result |
19 | |
20 | set square 1.72246 |
21 | |
22 | set nbshapes_expected " |
23 | Number of shapes in shape |
24 | VERTEX : 10 |
25 | EDGE : 13 |
26 | WIRE : 4 |
27 | FACE : 4 |
28 | SHELL : 1 |
29 | SOLID : 0 |
30 | COMPSOLID : 0 |
31 | COMPOUND : 0 |
32 | SHAPE : 32 |
33 | " |
34 | |
35 | checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by BRepOffsetAPI_MakePipeShell" |
36 | |
5747059b |
37 | checkview -display result -2d -path ${imagedir}/${test_image}.png |