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_7/bug30186_4
jgv cab49d68fc 0030186: BRepOffsetAPI_MakePipe Generated() method produces no results for the spine edges
Add method BuildHistory providing history for sub-shapes of profile and spine to BRepFill_Pipe.
2018-11-09 17:32:39 +03:00

53 lines
1.2 KiB
Plaintext

puts "============"
puts "OCC30186"
puts "============"
puts ""
##############################################################################
# BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
##############################################################################
restore [locate_data_file OCC25887_shape.brep] a
explode a
renamevar a_1 path
renamevar a_2 base
pipe q path base
savehistory pipe_hist
explode base
generated r1 pipe_hist base_1
checknbshapes r1 -vertex 6 -edge 10 -wire 8 -face 6 -shell 1 -solid 1
checkprops r1 -v 0.689148
explode base e
generated r1 pipe_hist base_1
generated r2 pipe_hist base_2
checknbshapes r1 -vertex 3 -edge 5 -wire 2 -face 2
checknbshapes r2 -vertex 3 -edge 5 -wire 2 -face 2
checkprops r1 -s 35.3469
checkprops r2 -s 33.5796
explode base v
generated r1 pipe_hist base_1
generated r2 pipe_hist base_2
checkprops r1 -l 14.0641
checkprops r2 -l 14.0641
explode path
generated r1 pipe_hist path_1
generated r2 pipe_hist path_2
checknbshapes r1 -vertex 4 -edge 6 -wire 2 -face 2
checknbshapes r2 -vertex 4 -edge 6 -wire 2 -face 2
checkprops r1 -s 35.9763
checkprops r2 -s 32.9503
explode path v
generated r2 pipe_hist path_2
checknbshapes r2 -vertex 2 -edge 2
checkprops r2 -l 4.90088