From e2cba9f1ce0208b5427ac1fbbb3d4bb85c1b7318 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Wed, 30 Aug 2017 18:04:29 -0400 Subject: [PATCH] Path: typos --- src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui | 2 +- src/Mod/Path/PathScripts/PathAreaOp.py | 6 +++--- src/Mod/Path/PathScripts/PathOp.py | 2 +- src/Mod/Path/PathScripts/PathOpGui.py | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui b/src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui index 44e608d392..01e1b8d7e7 100644 --- a/src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui @@ -86,7 +86,7 @@ - <html><head/><body><p>The cutting mode assumes that the cut on one side of the tool bit represents the resulting part and the other side is either already milled away or will be removed later on.</p><p>Keeping that in mind climb mode is called when the tool bit is moved into the cut on each rotation, wheras in conventional mode the tool bits rotation and the tools lateral movement are in the same direction.</p></body></html> + <html><head/><body><p>The cutting mode assumes that the cut on one side of the tool bit represents the resulting part and the other side is either already milled away or will be removed later on.</p><p>Keeping that in mind climb mode is called when the tool bit is moved into the cut on each rotation, whereas in conventional mode the tool bits rotation and the tools lateral movement are in the same direction.</p></body></html> diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index 55d344363b..cddc6b4498 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -50,7 +50,7 @@ class ObjectOp(PathOp.ObjectOp): '''Base class for all Path.Area based operations. Provides standard features including debugging properties AreaParams, PathParams and removalshape, all hidding. - The main reason for existance is to implement the standard interface + The main reason for existence is to implement the standard interface to Path.Area so subclasses only have to provide the shapes for the operations.''' @@ -77,7 +77,7 @@ class ObjectOp(PathOp.ObjectOp): def areaOpShapeForDepths(self, obj): '''areaOpShapeForDepths(obj) ... returns the shape used to make an initial calculation for the depths being used. - The default implementation retuns the job's Base.Shape''' + The default implementation returns the job's Base.Shape''' job = PathUtils.findParentJob(obj) if job and job.Base: PathLog.debug("job=%s base=%s shape=%s" % (job, job.Base, job.Base.Shape)) @@ -215,7 +215,7 @@ class ObjectOp(PathOp.ObjectOp): pathParams['resume_height'] = obj.StepDown.Value pathParams['retraction'] = obj.ClearanceHeight.Value pathParams['return_end'] = True - # Note that emmitting preambles between moves breaks some dressups and prevents path optimization on some controllers + # Note that emitting preambles between moves breaks some dressups and prevents path optimization on some controllers pathParams['preamble'] = False if self.endVector is not None: diff --git a/src/Mod/Path/PathScripts/PathOp.py b/src/Mod/Path/PathScripts/PathOp.py index aab3f1aceb..7c9c7010a1 100644 --- a/src/Mod/Path/PathScripts/PathOp.py +++ b/src/Mod/Path/PathScripts/PathOp.py @@ -161,7 +161,7 @@ class ObjectOp(object): def opSetDefaultValues(self, obj): '''opSetDefaultValues(obj) ... overwrite to set initial default values. - Called after the reciever has been fully created with all properties. + Called after the receiver has been fully created with all properties. Can safely be overwritten by subclasses.''' pass diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 3425645548..8bad9fc562 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -653,7 +653,7 @@ class TaskPanel(object): return self.isdirty def setClean(self): - '''setClean() ... set the reciever and all its pages clean.''' + '''setClean() ... set the receiver and all its pages clean.''' self.isdirty = False for page in self.featurePages: page.setClean() @@ -781,7 +781,7 @@ class CommandSetStartPoint: def Create(res): '''Create(res) ... generic implementation of a create function. - res is an instance of CommandResources. It is not excpected that the user invokes + res is an instance of CommandResources. It is not expected that the user invokes this function directly, but calls the Activated() function of the Command object that is created in each operations Gui implementation.''' FreeCAD.ActiveDocument.openTransaction("Create %s" % res.name) @@ -838,8 +838,8 @@ def SetupOperation(name, accelKey = None): '''SetupOperation(name, objFactory, opPageClass, pixmap, menuText, toolTip, accelKey=None) 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), assign a view provider to it - (see ViewProvider in this module) and starts the editor specif for theis operation (driven by opPageClass). + 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. It is not expected to be called manually. '''