mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
23 lines
511 B
Plaintext
Executable File
23 lines
511 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23367"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# New functionality restoring the middle path of pipe-like shape
|
|
##########################################################################################################
|
|
|
|
restore [locate_data_file bug23367_pipe1.brep] a
|
|
explode a e
|
|
wire w1 a_2
|
|
wire w2 a_6
|
|
donly a w1 w2
|
|
fit
|
|
middlepath result a w1 w2
|
|
|
|
set length 1386.13
|
|
|
|
set 2dviewer 1
|
|
|
|
|
|
|