7416e83c |
1 | puts "============" |
2 | puts "CR23367" |
3 | puts "============" |
4 | puts "" |
5 | ########################################################################################################## |
6 | # New functionality restoring the middle path of pipe-like shape |
7 | ########################################################################################################## |
8 | |
9 | restore [locate_data_file bug23367_pipe1.brep] a |
10 | explode a e |
11 | wire w1 a_2 |
12 | wire w2 a_6 |
13 | donly a w1 w2 |
14 | fit |
15 | middlepath result a w2 w1 |
16 | |
58cf74e0 |
17 | checkprops result -l 1386.13 |
18 | checkshape result |
19 | checksection result |
7416e83c |
20 | |
5747059b |
21 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
7416e83c |
22 | |
23 | |
24 | |
25 | |