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

30 lines
591 B
Plaintext

puts "============"
puts "OCC27386"
puts "============"
puts ""
#####################################################################
# BRepOffsetAPI_MakePipeShell does not provide history of generations
#####################################################################
polyline sp 0 0 0 10 0 0 10 0 10 10 10 10 0 10 10 0 10 0 0 0 0
polyline pr 0 -2 -2 0 2 -2 0 2 2 0 -2 2 0 -2 -2
mksweep sp
addsweep pr
buildsweep q -R
explode pr
gensweep r1 pr_1
gensweep r2 pr_2
gensweep r3 pr_3
gensweep r4 pr_4
explode pr v
gensweep r1 pr_1
gensweep r2 pr_2
gensweep r3 pr_3
gensweep r4 pr_4