diff --git a/src/Mod/Part/App/TopoShapePy.xml b/src/Mod/Part/App/TopoShapePy.xml index 6e8b54e05a19..53440bd64e62 100644 --- a/src/Mod/Part/App/TopoShapePy.xml +++ b/src/Mod/Part/App/TopoShapePy.xml @@ -307,14 +307,18 @@ Orientation is not taken into account. Project a shape on this shape - + - Cylindrical projection of an edge or wire on this shape + Parallel projection of an edge or wire on this shape +makeParallelProjection(shape, dir) + - + - Conical projection of an edge or wire on this shape + Perspective projection of an edge or wire on this shape +makePerspectiveProjection(shape, pnt) + diff --git a/src/Mod/Part/App/TopoShapePyImp.cpp b/src/Mod/Part/App/TopoShapePyImp.cpp index 42f0243ebd15..f499dbce5de5 100644 --- a/src/Mod/Part/App/TopoShapePyImp.cpp +++ b/src/Mod/Part/App/TopoShapePyImp.cpp @@ -1274,7 +1274,7 @@ PyObject* TopoShapePy::project(PyObject *args) return 0; } -PyObject* TopoShapePy::makeCylindricalProjection(PyObject *args) +PyObject* TopoShapePy::makeParallelProjection(PyObject *args) { PyObject *pShape, *pDir; if (PyArg_ParseTuple(args, "O!O!", &(Part::TopoShapePy::Type), &pShape, &Base::VectorPy::Type, &pDir)) { @@ -1296,7 +1296,7 @@ PyObject* TopoShapePy::makeCylindricalProjection(PyObject *args) return 0; } -PyObject* TopoShapePy::makeConicalProjection(PyObject *args) +PyObject* TopoShapePy::makePerspectiveProjection(PyObject *args) { PyObject *pShape, *pDir; if (PyArg_ParseTuple(args, "O!O!", &(Part::TopoShapePy::Type), &pShape, &Base::VectorPy::Type, &pDir)) {