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
This commit is contained in:
Abdullah Tahiri
2018-01-10 11:56:50 +01:00
committed by wmayer
parent f60c5203fc
commit 3c6fa1f0ed

View File

@@ -179,6 +179,10 @@ void SketcherValidation::on_findButton_clicked()
const std::vector<Part::Geometry *>& geom = sketch->getInternalGeometry();
for (std::size_t i=0; i<geom.size(); i++) {
Part::Geometry* g = geom[i];
if(g->Construction)
continue;
if (g->getTypeId() == Part::GeomLineSegment::getClassTypeId()) {
const Part::GeomLineSegment *segm = static_cast<const Part::GeomLineSegment*>(g);
VertexIds id;