Archived issue #0024906
Are commands in DRAWEXE for using MakePipeShellApi?
Description
I'd like to reproduce a problem in the MakePipeShellApi. Therefore i would like to ask if I have overseen existing commands in DRAWEXE that might be helpful to test the MakePipeShellApi.
Additional information
(gdb) bt
#0 TopoDS_ListIteratorOfListOfShape::Initialize (this=0x7fffc92b8178, L=...)
at TCollection/TCollection_ListIterator.gxx:48
#0000001 0x00007fc4d1c5c88c in TopoDS_Iterator::Initialize (this=0x7fffc92b8160,
S=..., cumOri=<optimized out>, cumLoc=<optimized out>)
at TopoDS/TopoDS_Iterator.cxx:39
#0000002 0x00007fc4d2747c2c in BRepLib_MakeWire::Add (this=0x7fffc92b8920, E=...)
at BRepLib/BRepLib_MakeWire.cxx:167
#3 0x00007fc4d37bb955 in BRepFill_CompatibleWires::SameNumberByPolarMethod (
this=this@entry=0x7fffc92b9240, WithRotation=WithRotation@entry=false)
at BRepFill/BRepFill_CompatibleWires.cxx:1122
#4 0x00007fc4d37be3c9 in BRepFill_CompatibleWires::Perform (this=
0x7fffc92b9240, WithRotation=false)
at BRepFill/BRepFill_CompatibleWires.cxx:779
#5 0x00007fc4d3817006 in BRepFill_PipeShell::Prepare (this=this@entry=
0x73ea430) at BRepFill/BRepFill_PipeShell.cxx:1071
#6 0x00007fc4d381af4b in BRepFill_PipeShell::Build (this=0x73ea430)
at BRepFill/BRepFill_PipeShell.cxx:687
#0000007 0x00007fc4d59dc7ba in BRepOffsetAPI_MakePipeShell::Build (this=
0x7fffc92b9710)
at BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.cxx:240
#0000008 0x00007fc4d68e0c55 in Part::Sweep::execute (this=0x3a06f20)
at /free-cad/src/Mod/Part/App/PartFeatures.cpp:411
#0 TopoDS_ListIteratorOfListOfShape::Initialize (this=0x7fffc92b8178, L=...)
at TCollection/TCollection_ListIterator.gxx:48
#0000001 0x00007fc4d1c5c88c in TopoDS_Iterator::Initialize (this=0x7fffc92b8160,
S=..., cumOri=<optimized out>, cumLoc=<optimized out>)
at TopoDS/TopoDS_Iterator.cxx:39
#0000002 0x00007fc4d2747c2c in BRepLib_MakeWire::Add (this=0x7fffc92b8920, E=...)
at BRepLib/BRepLib_MakeWire.cxx:167
#3 0x00007fc4d37bb955 in BRepFill_CompatibleWires::SameNumberByPolarMethod (
this=this@entry=0x7fffc92b9240, WithRotation=WithRotation@entry=false)
at BRepFill/BRepFill_CompatibleWires.cxx:1122
#4 0x00007fc4d37be3c9 in BRepFill_CompatibleWires::Perform (this=
0x7fffc92b9240, WithRotation=false)
at BRepFill/BRepFill_CompatibleWires.cxx:779
#5 0x00007fc4d3817006 in BRepFill_PipeShell::Prepare (this=this@entry=
0x73ea430) at BRepFill/BRepFill_PipeShell.cxx:1071
#6 0x00007fc4d381af4b in BRepFill_PipeShell::Build (this=0x73ea430)
at BRepFill/BRepFill_PipeShell.cxx:687
#0000007 0x00007fc4d59dc7ba in BRepOffsetAPI_MakePipeShell::Build (this=
0x7fffc92b9710)
at BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.cxx:240
#0000008 0x00007fc4d68e0c55 in Part::Sweep::execute (this=0x3a06f20)
at /free-cad/src/Mod/Part/App/PartFeatures.cpp:411
Public activity
4 archived notes
Participants are labeled by their role within this record.
i can reproduce the problem in version 26fd0d9
Program received signal SIGSEGV, Segmentation fault.
0x00007fff8d8d9167 in BRepFill_SectionLaw::Law(int) const ()
from occt/lib/libTKBool.so
#0 0x00007fff8d8d9167 in BRepFill_SectionLaw::Law(int) const ()
occt/lib/libTKBool.so
#0000001 0x00007fff8d8d6d81 in BRepFill_PipeShell::Build() ()
occt/lib/libTKBool.so
#0000002 0x00007fff8ba769ca in BRepOffsetAPI_MakePipeShell::Build() ()
occt/lib/libTKOffset.so
#3 0x00007fff90280a22 in Part::Sweep::execute (this=0x3c88d80)
free-cad/src/Mod/Part/App/PartFeatures.cpp:411
#4 0x00007ffff6c0ec0b in App::DocumentObject::recompute (this=0x3c88d80)
Program received signal SIGSEGV, Segmentation fault.
0x00007fff8d8d9167 in BRepFill_SectionLaw::Law(int) const ()
from occt/lib/libTKBool.so
#0 0x00007fff8d8d9167 in BRepFill_SectionLaw::Law(int) const ()
occt/lib/libTKBool.so
#0000001 0x00007fff8d8d6d81 in BRepFill_PipeShell::Build() ()
occt/lib/libTKBool.so
#0000002 0x00007fff8ba769ca in BRepOffsetAPI_MakePipeShell::Build() ()
occt/lib/libTKOffset.so
#3 0x00007fff90280a22 in Part::Sweep::execute (this=0x3c88d80)
free-cad/src/Mod/Part/App/PartFeatures.cpp:411
#4 0x00007ffff6c0ec0b in App::DocumentObject::recompute (this=0x3c88d80)
In order to build sweeps in DRAW, use commands mksweep, setsweep, addsweep, buildsweep; for example, see samples/tcl/drill.tcl
The actual problem is reported in #0024909
Duplicate of 0024909
Related records