diff --git a/src/Mod/Part/App/AppPartPy.cpp b/src/Mod/Part/App/AppPartPy.cpp index f817a47f0e..0103fbf6fb 100644 --- a/src/Mod/Part/App/AppPartPy.cpp +++ b/src/Mod/Part/App/AppPartPy.cpp @@ -787,13 +787,13 @@ static PyObject * makeHelix(PyObject *self, PyObject *args) static PyObject * makeThread(PyObject *self, PyObject *args) { - double pitch, height, depth, radius; - if (!PyArg_ParseTuple(args, "dddd", &pitch, &height, &depth, &radius)) + double pitch, depth, height, radius; + if (!PyArg_ParseTuple(args, "dddd", &pitch, &depth, &height, &radius)) return 0; try { TopoShape helix; - TopoDS_Shape wire = helix.makeThread(pitch, height, depth, radius); + TopoDS_Shape wire = helix.makeThread(pitch, depth, height, radius); return new TopoShapeWirePy(new TopoShape(wire)); } catch (Standard_Failure) {