1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_2/bug23367_9
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

28 lines
603 B
Plaintext
Executable File

puts "============"
puts "CR23367"
puts "============"
puts ""
##########################################################################################################
# New functionality restoring the middle path of pipe-like shape
##########################################################################################################
ptorus a 50 10 0 180
explode a f
shape b Sh
add a_1 b
explode b e
wire ww b_2
donly b ww
fit
middlepath result b ww ww
checkprops result -l 314.159
checkshape result
checksection result
checkview -display result -2d -path ${imagedir}/${test_image}.png