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_bb.brep] b |
10 | explode b e |
11 | wire w1 b_1 b_29 b_60 b_27 |
12 | wire w2 b_11 b_23 b_56 b_33 |
13 | donly b w1 w2 |
14 | fit |
15 | middlepath result b w1 w2 |
16 | |
17 | set length 1.94244 |
18 | |
19 | set 2dviewer 1 |
20 | |
21 | |
22 | |