diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 6427f594cc..bd986b674b 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -978,7 +978,7 @@ def SetupOperation(name, Creates an instance of CommandPathOp with the given parameters and registers the command with FreeCAD. When activated it creates a model with proxy (by invoking objFactory), assigns a view provider to it (see ViewProvider in this module) and starts the editor specifically for this operation (driven by opPageClass). - This is an internal function that is automatically called by the intialisation code for each operation. + This is an internal function that is automatically called by the initialisation code for each operation. It is not expected to be called manually. ''' diff --git a/src/Mod/Path/libarea/kurve/Finite.cpp b/src/Mod/Path/libarea/kurve/Finite.cpp index 367502be8b..844557cc19 100644 --- a/src/Mod/Path/libarea/kurve/Finite.cpp +++ b/src/Mod/Path/libarea/kurve/Finite.cpp @@ -354,13 +354,13 @@ namespace geoff_geometry { Point3d Near(const Line& l, const Point3d& p, double& t){ // returns the near point from a line on the extended line and the parameter of the near point (0-length) in range - t = (Vector3d(l.p0, p) * l.v) / l.length; // t parametised 0 - line length + t = (Vector3d(l.p0, p) * l.v) / l.length; // t parametrised 0 - line length return l.v * (t / l.length) + l.p0; } Point3d Line::Near(const Point3d& p, double& t)const{ // returns the near point from a line on the extended line and the parameter of the near point (0-length) in range - t = (Vector3d(this->p0, p) * this->v) / this->length; // t parametised 0 - line length + t = (Vector3d(this->p0, p) * this->v) / this->length; // t parametrised 0 - line length return this->v * (t / this->length) + this->p0; } diff --git a/src/Mod/Path/libarea/kurve/kurve.cpp b/src/Mod/Path/libarea/kurve/kurve.cpp index 4bfe93e201..b44b7a0e34 100644 --- a/src/Mod/Path/libarea/kurve/kurve.cpp +++ b/src/Mod/Path/libarea/kurve/kurve.cpp @@ -321,7 +321,7 @@ namespace geoff_geometry { // returns the near point to span from p if(this->dir == LINEAR) { double t; - t = (Vector2d(this->p0, p) * this->vs); // t parametised 0 - line length + t = (Vector2d(this->p0, p) * this->vs); // t parametrised 0 - line length return this->vs * t + this->p0; } else { double r = p.Dist(this->pc);