Skip to content

Commit

Permalink
+ Rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 12, 2014
1 parent 99d10a6 commit ca3b87a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions src/Mod/Part/App/TopoShapePy.xml
Expand Up @@ -307,14 +307,18 @@ Orientation is not taken into account.</UserDocu>
<UserDocu>Project a shape on this shape</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeCylindricalProjection" Const="true">
<Methode Name="makeParallelProjection" Const="true">
<Documentation>
<UserDocu>Cylindrical projection of an edge or wire on this shape</UserDocu>
<UserDocu>Parallel projection of an edge or wire on this shape
makeParallelProjection(shape, dir)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeConicalProjection" Const="true">
<Methode Name="makePerspectiveProjection" Const="true">
<Documentation>
<UserDocu>Conical projection of an edge or wire on this shape</UserDocu>
<UserDocu>Perspective projection of an edge or wire on this shape
makePerspectiveProjection(shape, pnt)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeShapeFromMesh">
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Part/App/TopoShapePyImp.cpp
Expand Up @@ -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)) {
Expand All @@ -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)) {
Expand Down

0 comments on commit ca3b87a

Please sign in to comment.