Crash with Sweep

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
toughkrua
Posts: 11
Joined: Mon Jan 22, 2018 9:06 pm

Re: Crash with Sweep

Postby toughkrua » Sun Feb 04, 2018 4:00 pm

chrisb wrote:
Sun Feb 04, 2018 2:34 pm
I found what I head in mind: :oops: It was in this very topic, just one week ago.
Yes. It was 27-28 january :)
toughkrua
Posts: 11
Joined: Mon Jan 22, 2018 9:06 pm

Re: Crash with Sweep

Postby toughkrua » Sun Feb 04, 2018 5:49 pm

I got a working "Utility to sweep" with complex BSpline in v0.17, but result some strange. For "sweep a selected sketch..." no result. File attached.
Attachments
helix-BSpline.fcstd
(68.86 KiB) Downloaded 32 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Crash with Sweep

Postby NormandC » Sun Feb 04, 2018 11:39 pm

Please be more explicit. I have no idea what you tried (exact commands), and your file does not contain your succeeding step.
waxitman
Posts: 1
Joined: Sat Aug 18, 2018 9:31 am

Re: Crash with Sweep

Postby waxitman » Sat Aug 18, 2018 12:42 pm

Hello. I'm quite new to CAD, have been slugging away teaching myself FreeCAD for about 8 months. I have a repeatable program crash or errors in my part depending on which methods I attempt. This happens with an installed version 0.17 from the Arch linux AUR and also the latest AppImage.

I'm trying to create a simple 90 degree pipe elbow.
1. create ID and OD sketches. Sweep will not work if they exist in the same sketch.
2. Create a single path sketch.
3. PD WB Additive sweep for the OD sketch, add edge 1, 2, 3 and then click OK
4. PD WB Subtractive sweep for the ID. Add edge 1 then click model and hide Subtractive Sweep. Then add edge 2 and 3
5. FreeCAD crashes completely exiting the program, no error displayed. Terminal output below.

Code: Select all

 FreeCAD 0.17, Libs: 0.17R13528 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Part::Cut: Links go out of the allowed scope
Part::Cut: Links go out of the allowed scope
PositionBySupport: AttachEngine3D::calculateAttachedPlacement: no subobjects specified (need one vertex).
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Coin warning in SbMatrix::inverse(): Matrix is singular.
Program received signal SIGSEGV, Segmentation fault.
#0  /usr/lib/libc.so.6(+0x368f0) [0x7f66dbbad8f0]
#1  0x7f66c30c8621 in ShapeFix_Face::FixOrientation(NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libTKShHealing.so.7+0x801
#2  0x7f66c30cb2ff in ShapeFix_Face::Perform() from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libTKShHealing.so.7+0xa7f
#3  0x7f66c4ee3d00 in fixFace(TopoDS_Face const&) from ././/lib/freecad/lib/Part.so+0x90
#4  0x7f66c4ee8191 in ModelRefine::FaceTypedCylinder::buildFace(std::vector<TopoDS_Face, std::allocator<TopoDS_Face> > const&) const from ././/lib/freecad/lib/Part.so+0x311
#5  0x7f66c4ee88e6 in ModelRefine::FaceUniter::process() from ././/lib/freecad/lib/Part.so+0x386
#6  0x7f66c4ee9d96 in Part::BRepBuilderAPI_RefineModel::Build() from ././/lib/freecad/lib/Part.so+0x596
#7  0x7f66c4eea258 in Part::BRepBuilderAPI_RefineModel::BRepBuilderAPI_RefineModel(TopoDS_Shape const&) from ././/lib/freecad/lib/Part.so+0x208
#8  0x7f66be28799b in PartDesign::ProfileBased::refineShapeIfActive(TopoDS_Shape const&) const from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/freecad/lib/_PartDesign.so+0x3b
#9  0x7f66be2a74ad in PartDesign::Pipe::execute() from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/freecad/lib/_PartDesign.so+0x1bed
#10  0x7f66de06b7e9 in App::DocumentObject::recompute() from ././/lib/freecad/lib/libFreeCADApp.so+0x69
#11  0x7f66c4d1e05b in Part::Feature::recompute() from ././/lib/freecad/lib/Part.so+0xb
#12  0x7f66de038e9c in App::Document::_recomputeFeature(App::DocumentObject*) from ././/lib/freecad/lib/libFreeCADApp.so+0x9c
#13  0x7f66de039297 in App::Document::recomputeFeature(App::DocumentObject*) from ././/lib/freecad/lib/libFreeCADApp.so+0x87
#14  0x7f66bde9e311 in PartDesignGui::TaskPipeParameters::onSelectionChanged(Gui::SelectionChanges const&) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/freecad/lib/PartDesignGui.so+0x81
#15  0x7f66dea0d8c7 in boost::signal1<void, Gui::SelectionChanges const&, boost::last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)> >::operator()(Gui::SelectionChanges const&) from ././/lib/freecad/lib/libFreeCADGui.so+0x457
#16  0x7f66dea0a23d in Gui::SelectionSingleton::addSelection(char const*, char const*, char const*, float, float, float) from ././/lib/freecad/lib/libFreeCADGui.so+0x33d
#17  0x7f66de8ae461 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from ././/lib/freecad/lib/libFreeCADGui.so+0xab1
#18  0x7f66db4ffc0c in SoNode::handleEventS(SoAction*, SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x4c
#19  0x7f66db2c5c04 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x54
#20  0x7f66db415294 in SoChildList::traverse(SoAction*, int, int) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x174
#21  0x7f66db4f566f in SoGroup::doAction(SoAction*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x3f
#22  0x7f66db5126d7 in SoSeparator::doAction(SoAction*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x27
#23  0x7f66db4ffc0c in SoNode::handleEventS(SoAction*, SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x4c
#24  0x7f66db2c5c04 in SoAction::traverse(SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x54
#25  0x7f66db2d01aa in SoHandleEventAction::beginTraversal(SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x7a
#26  0x7f66db2c67d2 in SoAction::apply(SoNode*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0xd2
#27  0x7f66db4330a9 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libCoin.so.80+0x69
#28  0x7f66de9128de in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x1e
#29  0x7f66de91c2c3 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x43
#30  0x7f66de945ba9 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x9
#31  0x7f66de92c7ac in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x3fc
#32  0x7f66de9295f2 in Gui::NavigationStyle::processEvent(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x62
#33  0x7f66de945b77 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from ././/lib/freecad/lib/libFreeCADGui.so+0x77
#34  0x7f66de91905c in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from ././/lib/freecad/lib/libFreeCADGui.so+0x16c
#35  0x7f66dc651646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x86
#36  0x7f66dcb82e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x6c
#37  0x7f66dcb895dd in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x3ad
#38  0x7f66de75e9f1 in Gui::GUIApplication::notify(QObject*, QEvent*) from ././/lib/freecad/lib/libFreeCADGui.so+0x41
#39  0x7f66dc6514dd in QCoreApplication::notifyInternal(QObject*, QEvent*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x6d
#40  0x7f66dcb88d93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x153
#41  /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2449cb) [0x7f66dcbfd9cb]
#42  0x7f66dcbfd269 in QApplication::x11ProcessEvent(_XEvent*) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x1559
#43  /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bb02) [0x7f66dcc24b02]
#44  /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7f66d53cd368]
#45  /usr/lib/libglib-2.0.so.0(+0x4c5b1) [0x7f66d53cd5b1]
#46  /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f66d53cd63e]
#47  0x7f66dc67e7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x71
#48  /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bbb6) [0x7f66dcc24bb6]
#49  0x7f66dc6500af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x2f
#50  0x7f66dc6503a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x175
#51  0x7f66dc655b79 in QCoreApplication::exec() from /tmp/.mount_FreeCAJ1Pqwm/usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x89
#52  0x7f66de71ede7 in Gui::Application::runApplication() from ././/lib/freecad/lib/libFreeCADGui.so+0x1327
#53  /tmp/.mount_FreeCAJ1Pqwm/usr/bin/freecad(main+0x74b) [0x40355b]
#54  /usr/lib/libc.so.6(__libc_start_main+0xeb) [0x7f66dbb9a06b]
#55  /tmp/.mount_FreeCAJ1Pqwm/usr/bin/freecad() [0x4044c7]
 
I believe this happens because both faces of the sweep end on the same plane. If I create a new path sketch which is longer at both ends I can create two sweeps, one inside the other. Crash does not occur if both circles are swept along the same path using the Part WB.

A boolean cut in Part WB always fails though. I get the same failure if the whole creation is attempted in only the Part WB with sweep tool, my cut is always a failure (Resulting shape is invalid). If I make a solid cube and then use the subtractive sweep tool in PD WB I can achieve an internal pipe, inside a cube which I don't want... It also has short 'walls' inside it which become invisible depending on which end I look through. (Attached images) Are these real or simply a glitchy leftover of the subtractive process? Has this particular crash been reported in the tracker or should I? Please also help me to achieve my results. I'm still trying to learn new methods.

I hope I've explained this sufficiently and in the right place (this is my first post).
WallsInsidePipe-1.png
WallsInsidePipe-1.png (147.61 KiB) Viewed 306 times
WallsInsidePipe-2.png
WallsInsidePipe-2.png (141.06 KiB) Viewed 306 times
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: C/Default (C)

Installed version:

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.Unknown
Build type: Release
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.2.0
Locale: C/Default (C)

I've made my elbow somehow! PD WB, Additive/Subtractive sweeps, the subtractive using the longer path sketch. Switched back and forwards between viewed objects several times (space bar) and it suddenly appeared as I wanted it. No boolean cut was required. Small internal walls still exist as in the images above. Thought I'd leave the other content if it's helpful to diagnose the issue.
Attachments
FailedElbow.fcstd
(58.93 KiB) Downloaded 19 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Crash with Sweep

Postby NormandC » Sun Aug 19, 2018 9:44 pm

Hello waxitman,

Welcome to the forum. The problem with your FailedElbow.fcstd file is that the sweep path sketch, which is centred on the sweep section sketches, has a radius that is smaller than the radius of either section, so this creates a self-intersecting shape. A self-intersecting shape cannot form a valid solid. Either move your path so it touches the east quadrant of the outer sweep section (Sketch), or raise the radius of the path sketch so it's bigger than the radius of the circle in Sketch (which means at least 15.01 mm).

Also, your sweep path sketches (for example Sketch003) are very poorly constrained. You don't constrain an arc's radius with a vertical and a horizontal distance constraint. You use a radius constraint. And you should also ensure your arc is tangent to both line segments it's connected to with tangent constraints. See my file attached.

waxitman wrote:
Sat Aug 18, 2018 12:42 pm
Small internal walls still exist as in the images above. Thought I'd leave the other content if it's helpful to diagnose the issue.
Check if your Body is valid with Part CheckGeometry. I'm pretty sure it's not, if you didn't follow the rule about the sweep radius I mentioned above.