mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08: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
|
|
|
|
|
|
|