PATH: typo fixes

This commit is contained in:
Unknown
2017-12-20 22:18:14 -05:00
committed by wmayer
parent 495c048ece
commit f92d63008e
17 changed files with 29 additions and 29 deletions

View File

@@ -49,7 +49,7 @@ def translate(context, text, disambig=None):
class ObjectOp(PathOp.ObjectOp):
'''Base class for all Path.Area based operations.
Provides standard features including debugging properties AreaParams,
PathParams and removalshape, all hidding.
PathParams and removalshape, all hidden.
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.'''
@@ -104,7 +104,7 @@ class ObjectOp(PathOp.ObjectOp):
pass
def opOnChanged(self, obj, prop):
'''opOnChanged(obj, prop) ... base implemenation of the notification framework - do not overwrite.
'''opOnChanged(obj, prop) ... base implementation of the notification framework - do not overwrite.
The base implementation takes a stab at determining Heights and Depths if the operations's Base
changes.
Do not overwrite, overwrite areaOpOnChanged(obj, prop) instead.'''

View File

@@ -163,7 +163,7 @@ class ObjectDressup:
def arcTwist(self, obj, queue, lastXY, twistCW=False):
'''returns gcode to do an arc move toward an arc to perform
a corner action twist. Inclues lifting and plungeing the knife'''
a corner action twist. Includes lifting and plungeing the knife'''
global currLocation
pivotheight = obj.pivotheight
@@ -176,7 +176,7 @@ class ObjectDressup:
else:
arcdir = "G2"
# move to the pivot heigth
# move to the pivot height
zdepth = currLocation["Z"]
retract = Path.Command("G0", {"Z": pivotheight})
results.append(retract)

View File

@@ -396,7 +396,7 @@ class PathGeom:
def splitArcAt(cls, edge, pt):
"""(edge, pt)
Returns a list of 2 edges which together form the original arc split at the given point.
The Vector pt has to represnt a point on the given arc."""
The Vector pt has to represent a point on the given arc."""
p1 = edge.valueAt(edge.FirstParameter)
p2 = pt
p3 = edge.valueAt(edge.LastParameter)

View File

@@ -33,7 +33,7 @@ from pivy import coin
__title__ = "Path GetPoint UI"
__author__ = "sliptonic (Brad Collette)"
__url__ = "http://www.freecadweb.org"
__doc__ = "Helper class to use FreeCADGUi.Snapper to let the user enter arbitray points while the task panel is active."
__doc__ = "Helper class to use FreeCADGUi.Snapper to let the user enter arbitrary points while the task panel is active."
PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())
#PathLog.track(PathLog.thisModule())

View File

@@ -73,7 +73,7 @@ def setProperty(obj, prop, value):
def updateInputField(obj, prop, widget, onBeforeChange=None):
'''updateInputField(obj, prop, widget) ... update obj's property prop with the value of widget.
The property's value is only assigned if the new value differs from the current value.
This prevents onChanged notifications where the value didn't acutally change.
This prevents onChanged notifications where the value didn't actually change.
Gui::InputField and Gui::QuantitySpinBox widgets are supported - and the property can
be of type Quantity or Float.
If onBeforeChange is specified it is called before a new value is assigned to the property.

View File

@@ -36,7 +36,7 @@ from PySide import QtCore
__title__ = "Base class for all operations."
__author__ = "sliptonic (Brad Collette)"
__url__ = "http://www.freecadweb.org"
__doc__ = "Base class and properties implemenation for all Path operations."
__doc__ = "Base class and properties implementation for all Path operations."
if False:
PathLog.setLevel(PathLog.Level.DEBUG, PathLog.thisModule())

View File

@@ -685,7 +685,7 @@ class TaskPanel(object):
This class only implements the framework and takes care of bringing all pages up and down in a controller fashion.
It implements the standard editor behaviour for OK, Cancel and Apply and tracks if the model is still in sync with
the UI.
However, all display and processing of fields is handled by the page contollers which are managed in a list. All
However, all display and processing of fields is handled by the page controllers which are managed in a list. All
event callbacks and framework actions are forwarded to the page controllers in turn and each page controller is
expected to process all events concerning the data it manages.
'''

View File

@@ -51,7 +51,7 @@ Strip comments and white spaces
Add file name in brackets limited to 8 alpha numeric no spaces all caps as first line in file
Change Q to K For depth of peck on G83
Fix tool change
Limit comments length and characters to Uppercase, alpha numeric and spaces add / prior to coments
Limit comments length and characters to Uppercase, alpha numeric and spaces add / prior to comments
import linuxcnc_post
linuxcnc_post.export(object,"/path/to/file.ncc","")