From 10c0af4a8af76450c57ac21bae050cb52b0f307d Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Wed, 10 Jan 2018 11:56:50 +0100 Subject: [PATCH] Sketcher: Validation tool improvement ====================================== The sketch validation tool offers the functionality to detect missing coincidences. It is a problem that internal geometry causes detected missing coincidences. Additionally, the tool only shows the visible profile and not the construction geometry. This commit introduces the ignoring of construction geometry, which "fixes" the two behaviours indicated above. fixes #3298 --- src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp b/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp index 4e9bdb7e0c..585ed129b8 100644 --- a/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp +++ b/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp @@ -179,6 +179,10 @@ void SketcherValidation::on_findButton_clicked() const std::vector& geom = sketch->getInternalGeometry(); for (std::size_t i=0; iConstruction) + continue; + if (g->getTypeId() == Part::GeomLineSegment::getClassTypeId()) { const Part::GeomLineSegment *segm = static_cast(g); VertexIds id;