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_3
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

63 lines
1.7 KiB
Plaintext

puts "============"
puts "OCC30186"
puts "============"
puts ""
##############################################################################
# BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
##############################################################################
restore [locate_data_file bug25272_base.brep] base
restore [locate_data_file bug25272_path.brep] path
pipe q path base
savehistory pipe_hist
explode base
generated r1 pipe_hist base_1
generated r2 pipe_hist base_2
checknbshapes r1 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1
checknbshapes r2 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1
checkprops r1 -v 1.88923
checkprops r2 -v 1.88923
explode base e
generated r1 pipe_hist base_1
generated r2 pipe_hist base_2
generated r3 pipe_hist base_3
checknbshapes r1 -vertex 8 -edge 12 -wire 4 -face 4
checknbshapes r2 -vertex 8 -edge 12 -wire 4 -face 4
checknbshapes r3 -vertex 8 -edge 12 -wire 4 -face 4
checkprops r1 -s 93.5894
checkprops r2 -s 95.333
checkprops r3 -s 1.1447
explode base v
generated r1 pipe_hist base_1
generated r3 pipe_hist base_3
checkprops r1 -l 57.2976 -deps 1.e-7
checkprops r3 -l 57.172 -deps 1.e-7
explode path
generated r1 pipe_hist path_1
generated r2 pipe_hist path_2
generated r3 pipe_hist path_3
generated r4 pipe_hist path_4
checknbshapes r1 -vertex 16 -edge 32 -wire 12 -face 12
checknbshapes r2 -vertex 16 -edge 32 -wire 12 -face 12
checknbshapes r3 -vertex 16 -edge 32 -wire 12 -face 12
checknbshapes r4 -vertex 16 -edge 32 -wire 12 -face 12
checkprops r1 -s 191.581
checkprops r2 -s 100.311
checkprops r3 -s 191.581
checkprops r4 -s 328.584
explode path v
generated r1 pipe_hist path_1
checknbshapes r1 -vertex 8 -edge 12
checkprops r1 -l 12.772