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

47 lines
815 B
Plaintext

puts "============"
puts "OCC27386"
puts "============"
puts ""
#####################################################################
# BRepOffsetAPI_MakePipeShell does not provide history of generations
#####################################################################
circle cc 0 0 0 100
circle c1 0 100 0 1 0 0 10
polyline pr2 0 -90 0 0 -100 10 0 -110 0 0 -100 -10 0 -90 0
mkedge sp cc
wire sp sp
mkedge pr1 c1
wire pr1 pr1
explode sp v
donly sp pr1 pr2 sp_1
mksweep sp
addsweep sp_1
addsweep pr1
addsweep pr2
buildsweep q
explode pr1
explode pr2
gensweep r1_1 pr1_1
gensweep r2_1 pr2_1
gensweep r2_2 pr2_2
gensweep r2_3 pr2_3
gensweep r2_4 pr2_4
explode pr1 v
explode pr2 v
gensweep r1_1 pr1_1
gensweep r2_1 pr2_1
gensweep r2_2 pr2_2
gensweep r2_3 pr2_3
gensweep r2_4 pr2_4
gensweep r3 sp_1