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

33 lines
669 B
Plaintext

puts "============"
puts "OCC27386"
puts "============"
puts ""
#####################################################################
# BRepOffsetAPI_MakePipeShell does not provide history of generations
#####################################################################
restore [locate_data_file bug27386_s.brep] sp
restore [locate_data_file bug27386_p.brep] pr
explode pr
donly sp pr_1
mksweep sp
setsweep -CN -0.0101004948353626 0 0.999948988700964
addsweep pr_1
buildsweep q
explode pr_1
gensweep r1 pr_1_1
gensweep r2 pr_1_2
gensweep r3 pr_1_3
gensweep r4 pr_1_4
explode pr_1 v
gensweep r1 pr_1_1
gensweep r2 pr_1_2
gensweep r3 pr_1_3
gensweep r4 pr_1_4