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

@@ -71,7 +71,7 @@ PyMOD_INIT_FUNC(Surface)
}
PyObject* mod = Surface::initModule();
Base::Console().Log("Loading Surface module... done\n");
Base::Console().log("Loading Surface module... done\n");
Base::Interpreter().addType(&Surface::BlendPointPy::Type, mod, "BlendPoint");
Base::Interpreter().addType(&Surface::BlendCurvePy::Type, mod, "BlendCurve");

View File

@@ -98,8 +98,8 @@ int BlendPointPy::PyInit(PyObject* args, PyObject*)
BRepAdaptor_Curve adapt(e);
if (param < adapt.FirstParameter() || param > adapt.LastParameter()) {
PyErr_Warn(PyExc_UserWarning, "BlendPoint: edge is not a closed curve");
Base::Console().Message("fp=%f\n", adapt.FirstParameter());
Base::Console().Message("lp=%f\n", adapt.LastParameter());
Base::Console().message("fp=%f\n", adapt.FirstParameter());
Base::Console().message("lp=%f\n", adapt.LastParameter());
}
adapt.D0(param, Pt);

View File

@@ -87,6 +87,6 @@ PyMOD_INIT_FUNC(SurfaceGui)
// clang-format on
PyObject* mod = SurfaceGui::initModule();
Base::Console().Log("Loading GUI of Surface module... done\n");
Base::Console().log("Loading GUI of Surface module... done\n");
PyMOD_Return(mod);
}

View File

@@ -452,7 +452,7 @@ void GeomFillSurface::changeFillType(GeomFill_FillingStyle fillType)
editedObject->FillType.setValue(static_cast<long>(fillType));
editedObject->recomputeFeature();
if (!editedObject->isValid()) {
Base::Console().Error("Surface filling: %s", editedObject->getStatusString());
Base::Console().error("Surface filling: %s", editedObject->getStatusString());
}
}
}