diff --git a/src/Mod/PartDesign/App/FeaturePipe.cpp b/src/Mod/PartDesign/App/FeaturePipe.cpp index ae41478b3d..3ee4f68a5d 100644 --- a/src/Mod/PartDesign/App/FeaturePipe.cpp +++ b/src/Mod/PartDesign/App/FeaturePipe.cpp @@ -225,6 +225,10 @@ App::DocumentObjectExecReturn *Pipe::execute(void) scalinglaw = s; }*/ + // Verify that path is not a null shape + if (path.IsNull()) + return new App::DocumentObjectExecReturn("Path must not be a null shape"); + //build all shells std::vector shells; std::vector frontwires, backwires;