diff --git a/src/Mod/Part/App/FeatureExtrusion.cpp b/src/Mod/Part/App/FeatureExtrusion.cpp index 66c6229ed5..183b4d7558 100644 --- a/src/Mod/Part/App/FeatureExtrusion.cpp +++ b/src/Mod/Part/App/FeatureExtrusion.cpp @@ -737,9 +737,12 @@ void Extrusion::createTaperedPrismOffset(TopoDS_Wire sourceWire, } if (offsetShape.IsNull()) { if (isSecond) - Base::Console().Error("Extrusion: end face of tapered against extrusion is empty\n"); + Base::Console().Error("Extrusion: end face of tapered against extrusion is empty\n" \ + "This means most probably that the against taper angle is too large or small.\n"); else - Base::Console().Error("Extrusion: end face of tapered along extrusion is empty\n"); + Base::Console().Error("Extrusion: end face of tapered along extrusion is empty\n" \ + "This means most probably that the along taper angle is too large or small.\n"); + Standard_Failure::Raise("Extrusion: end face of tapered extrusion is empty"); } // assure we return a wire and no edge TopAbs_ShapeEnum type = offsetShape.ShapeType(); @@ -757,10 +760,10 @@ void Extrusion::createTaperedPrismOffset(TopoDS_Wire sourceWire, result = TopoDS_Wire(); if (isSecond) Base::Console().Error("Extrusion: type of against extrusion end face is not supported.\n" \ - "This means most probably that the against taper angle is too large.\n"); + "This means most probably that the against taper angle is too large or small.\n"); else Base::Console().Error("Extrusion: type of along extrusion is not supported.\n" \ - "This means most probably that the along taper angle is too large.\n"); + "This means most probably that the along taper angle is too large or small.\n"); } }