Console: rename PascalCase named methods to camelCase

This commit is contained in:
bofdahof
2025-03-30 00:50:27 +10:00
committed by Kacper Donat
parent 1dbc0638c3
commit ba2c2ca5ad
497 changed files with 2423 additions and 2425 deletions

View File

@@ -63,7 +63,7 @@ PyMOD_INIT_FUNC(PathApp)
}
PyObject* pathModule = PathApp::initModule();
Base::Console().Log("Loading Path module... done\n");
Base::Console().log("Loading Path module... done\n");
Py::Object module(pathModule);

View File

@@ -63,7 +63,7 @@
else { \
str += "No OCCT Exception Message"; \
} \
Base::Console().Error(str.c_str()); \
Base::Console().error(str.c_str()); \
PyErr_SetString(Part::PartExceptionOCCError, str.c_str()); \
} \
catch (Base::Exception & e) \
@@ -81,7 +81,7 @@
str += "STL exception thrown ("; \
str += e.what(); \
str += ")"; \
Base::Console().Error(str.c_str()); \
Base::Console().error(str.c_str()); \
PyErr_SetString(Base::PyExc_FC_GeneralError, str.c_str()); \
} \
catch (const char* e) \

View File

@@ -154,7 +154,7 @@ double Toolpath::getCycleTime(double hFeed, double vFeed, double hRapid, double
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath(
"User parameter:BaseApp/Preferences/Mod/CAM");
if (!hGrp->GetBool("WarningsSuppressAllSpeeds", true)) {
Base::Console().Warning("Feed Rate Error: Check Tool Controllers have Feed Rates");
Base::Console().warning("Feed Rate Error: Check Tool Controllers have Feed Rates");
}
return 0;
}