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

@@ -999,7 +999,7 @@ PyMOD_INIT_FUNC(ReverseEngineering)
}
PyObject* mod = Reen::initModule();
Base::Console().Log("Loading ReverseEngineering module... done\n");
Base::Console().log("Loading ReverseEngineering module... done\n");
PyMOD_Return(mod);
}
// clang-format on

View File

@@ -82,7 +82,7 @@ PyMOD_INIT_FUNC(ReverseEngineeringGui)
}
PyObject* mod = ReverseEngineeringGui::initModule();
Base::Console().Log("Loading GUI of ReverseEngineering module... done\n");
Base::Console().log("Loading GUI of ReverseEngineering module... done\n");
// instantiating the commands
CreateReverseEngineeringCommands();

View File

@@ -208,11 +208,11 @@ void CmdApproxPlane::activated(int)
double q0, q1, q2, q3;
pm.getRotation().getValue(q0, q1, q2, q3);
Base::Console().Log("RMS value for plane fit with %lu points: %.4f\n",
Base::Console().log("RMS value for plane fit with %lu points: %.4f\n",
aData.size(),
sigma);
Base::Console().Log(" Plane base(%.4f, %.4f, %.4f)\n", base.x, base.y, base.z);
Base::Console().Log(" Plane normal(%.4f, %.4f, %.4f)\n", norm.x, norm.y, norm.z);
Base::Console().log(" Plane base(%.4f, %.4f, %.4f)\n", base.x, base.y, base.z);
Base::Console().log(" Plane normal(%.4f, %.4f, %.4f)\n", norm.x, norm.y, norm.z);
std::stringstream str;
str << "from FreeCAD import Base" << std::endl;

View File

@@ -211,13 +211,13 @@ void Segmentation::accept()
}
else {
failures.push_back(feaSegm);
Base::Console().Warning("Failed to create face from %s\n",
Base::Console().warning("Failed to create face from %s\n",
feaSegm->Label.getValue());
}
}
catch (Standard_Failure&) {
failures.push_back(feaSegm);
Base::Console().Error("Fatal failure to create face from %s\n",
Base::Console().error("Fatal failure to create face from %s\n",
feaSegm->Label.getValue());
}
}