Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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) \
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user