Fixing 'red ink' bugs in CAM

fixes:  https://github.com/Ondsel-Development/FreeCAD/issues/93
fixes https://github.com/Ondsel-Development/FreeCAD/issues/87
fixes https://github.com/Ondsel-Development/FreeCAD/issues/88


fix threadmilling error if not proper tool
fix vcarve error if no proper tool
fix probe error if no proper tool
fix deburr error if no base geometry
Fix adaptive op error if no base geometry
This commit is contained in:
sliptonic
2024-06-15 09:30:53 -05:00
parent c9db224412
commit cb23383526
15 changed files with 134 additions and 54 deletions

View File

@@ -1639,7 +1639,9 @@ std::vector<shared_ptr<Area> > Area::makeSections(
if (hitMin) continue;
hitMin = true;
double zNew = zMin + myParams.SectionTolerance;
AREA_WARN("hit bottom " << z << ',' << zMin << ',' << zNew);
//Silence the warning if _heights is not empty
if (_heights.empty() && FC_LOG_INSTANCE.isEnabled(FC_LOGLEVEL_LOG))
AREA_WARN("hit bottom " << z << ',' << zMin << ',' << zNew);
z = zNew;
}
else if (zMax - z < myParams.SectionTolerance) {