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_aa.brep] a |
10 | explode a e |
11 | wire w1 a_57 a_73 a_54 a_71 |
12 | wire w2 a_133 a_148 a_130 a_146 |
13 | donly a w1 w2 |
14 | fit |
15 | middlepath result a w1 w2 |
16 | |
17 | set length 3.46311 |
18 | |
19 | set 2dviewer 1 |
20 | |
21 | |
22 | |