Path: typos
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user