mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
23 lines
522 B
Plaintext
Executable File
23 lines
522 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
|
|
|
|
set length 50.
|
|
|
|
set 2dviewer 1
|
|
|
|
|
|
|