mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
26 lines
646 B
Plaintext
Executable File
26 lines
646 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23367"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# New functionality restoring the middle path of pipe-like shape
|
|
##########################################################################################################
|
|
|
|
restore [locate_data_file bug23367_aa.brep] a
|
|
explode a e
|
|
wire w1 a_57 a_73 a_54 a_71
|
|
wire w2 a_133 a_148 a_130 a_146
|
|
donly a w1 w2
|
|
fit
|
|
middlepath result a w2 w1
|
|
|
|
checkprops result -l 3.46311
|
|
checkshape result
|
|
checksection result
|
|
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|
|
|
|
|
|
|