833e7561 |
1 | puts "============" |
2 | puts "OCC29204" |
3 | puts "============" |
4 | puts "" |
5 | ################################################################################## |
6 | # BRepOffsetAPI_MakePipeShell produces invalid result and raises exception in Draw |
7 | ################################################################################## |
8 | |
9 | restore [locate_data_file bug29204_sweep_spine.brep] sp |
10 | restore [locate_data_file bug29204_sweep_profile.brep] pr |
11 | |
12 | mksweep sp |
13 | addsweep pr |
14 | buildsweep result -C -S |
15 | |
16 | checkshape result |
17 | |
18 | checknbshapes result -solid 1 -shell 1 -face 28 -wire 28 -edge 64 -vertex 36 -shape 158 |
19 | |
20 | set tolres [checkmaxtol result] |
21 | |
2052b04e |
22 | if { ${tolres} > 0.003} { |
833e7561 |
23 | puts "Error: bad tolerance of result" |
24 | } |
25 | |
26 | checkprops result -v 1.16577e+007 |