mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
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.
30 lines
591 B
Plaintext
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
|