228148b3 |
1 | puts "============" |
2 | puts "OCC1477" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # Problems in MakePipeShell |
7 | # (case 13) |
8 | ###################################################### |
9 | |
10 | restore [locate_data_file OCC1477_3dPolyline_c0.brep] s1 |
11 | restore [locate_data_file OCC1477_profile1_polygon.brep] e1 |
12 | wire s2 e1 |
13 | |
14 | puts "###############################################################################" |
15 | puts "# (case /-/-/-C -S/)" |
16 | puts "###############################################################################" |
17 | |
a4eba920 |
18 | checkshape s1 |
19 | checkshape s2 |
20 | |
21 | mksweep s1 |
22 | |
23 | addsweep s2 |
24 | if [catch { buildsweep result -C -S} res] { |
25 | puts "Faulty OCC1477: buildsweep is wrong" |
26 | } |
228148b3 |
27 | |
58cf74e0 |
28 | checkprops result -s 21665 -v 57222.2 |
228148b3 |
29 | |
a4eba920 |
30 | checknbshapes result -vertex 25 -edge 45 -wire 22 -face 22 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 116 |
228148b3 |
31 | set 2dviewer 0 |