From f9e79d851d014ba4b1c7d391f0f1f6549fa00b04 Mon Sep 17 00:00:00 2001 From: bgbsww Date: Sat, 24 Aug 2024 23:09:13 -0400 Subject: [PATCH] Ignore standalone points in sketches when building faces --- src/Mod/Part/App/FaceMaker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Part/App/FaceMaker.cpp b/src/Mod/Part/App/FaceMaker.cpp index 5f4bc2aa5d..e83e21f199 100644 --- a/src/Mod/Part/App/FaceMaker.cpp +++ b/src/Mod/Part/App/FaceMaker.cpp @@ -71,6 +71,10 @@ void Part::FaceMaker::addTopoShape(const TopoShape& shape) { case TopAbs_FACE: this->myInputFaces.push_back(sh); break; + case TopAbs_VERTEX: + // This is a special case, since this is generally a stand-alone point in a sketch. We + // need to ignore it rather than throw an error + break; default: throw Base::TypeError(tr("Shape must be a wire, edge or compound. Something else was supplied.").toStdString()); break;