1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_6/bug27386_4
jgv 953d87f32c 0027386: BRepOffsetAPI_MakePipeShell does not provide history of generations
The method BRepOffsetAPI_MakePipeShell::Generated now returns generated shapes for sub-edges and sub-vertices of sections.

The method BRepFill_PipeShell::BuildHistory is redesigned: now it builds generated shapes for sub-edges and sub-vertices of sections.

New Draw command "gensweep" is added to sweep commands for testing of history building.
2016-11-03 18:04:33 +03:00

35 lines
647 B
Plaintext

puts "============"
puts "OCC27386"
puts "============"
puts ""
#####################################################################
# BRepOffsetAPI_MakePipeShell does not provide history of generations
#####################################################################
restore [locate_data_file bug27386_sp.brep] sp
restore [locate_data_file bug27386_pr2.brep] pr2
explode sp v
donly sp sp_1 pr2 sp_2
mksweep sp
addsweep sp_1
addsweep pr2
addsweep sp_2
buildsweep q
explode pr2
gensweep r1 pr2_1
gensweep r2 pr2_2
gensweep r3 pr2_3
explode pr2 v
gensweep r1 pr2_1
gensweep r2 pr2_2
gensweep r3 pr2_3
gensweep r4 sp_1
gensweep r5 sp_2