mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
25 lines
623 B
Plaintext
Executable File
25 lines
623 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23367"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# New functionality restoring the middle path of pipe-like shape
|
|
##########################################################################################################
|
|
|
|
polyline pp 0 0 0 5 0 0 10 0 0 10 10 0 0 10 0 0 0 0
|
|
mkplane ff pp
|
|
prism a ff 0 0 50
|
|
explode a f
|
|
donly a a_6 a_7
|
|
fit
|
|
middlepath result a a_6 a_7
|
|
|
|
checkprops result -l 50.
|
|
checkshape result
|
|
checksection result
|
|
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|
|
|
|
|