Misc: Fix various typos
Found via codespell
This commit is contained in:
@@ -237,9 +237,9 @@ public:
|
||||
* @brief Visit each property in the container.
|
||||
*
|
||||
* This method allows you to apply a function to each property in the
|
||||
* container. The visiting order is undefined. This mehod is necessary
|
||||
* container. The visiting order is undefined. This method is necessary
|
||||
* because PropertyContainer has no begin and end methods and it is not
|
||||
* practical to implement these. What gets visited is undefined if the
|
||||
* practical to implement these. What gets visited is undefined if the
|
||||
* collection of Properties is changed during this call.
|
||||
*
|
||||
* @param[in] visitor The function to apply to each property.
|
||||
|
||||
@@ -738,7 +738,7 @@ def Execute(op, obj):
|
||||
# stepping down depths like this. If we don't, it will keep history
|
||||
# from the last region we did.
|
||||
|
||||
# TODO: QThread/QRunnable trigger Python's global interpretor lock
|
||||
# TODO: QThread/QRunnable trigger Python's global interpreter lock
|
||||
# (GIL). To calculate toolpaths in parallel, making a C++ shim that
|
||||
# takes in the array of regions/stock paths and parallelizes in
|
||||
# C++-land is probably the way to do it.
|
||||
@@ -1237,7 +1237,7 @@ def _getWorkingEdges(op, obj):
|
||||
depths = [d for d in depthParams.data if d < op.stock.Shape.BoundBox.ZMax]
|
||||
|
||||
# Get the stock outline at each stepdown. Used to calculate toolpaths and
|
||||
# for calcuating cut regions in some instances
|
||||
# for calculating cut regions in some instances
|
||||
# NOTE: See note in _workingEdgeHelperRoughing- tl;dr slice stock lower
|
||||
# than cut depth to effectively leave (at least) obj.ZStockToLeave
|
||||
# NOTE: Stock is handled DIFFERENTLY than inside and outside regions!
|
||||
|
||||
@@ -602,10 +602,10 @@ class SvgPathElement:
|
||||
_d1 = pole1.distanceToLine(last_v, next_v)
|
||||
_d2 = pole2.distanceToLine(last_v, next_v)
|
||||
if _d1 < _tol and _d2 < _tol:
|
||||
# poles and endpints are all on a line
|
||||
# poles and endpoints are all on a line
|
||||
if equals(last_v, next_v, self.precision):
|
||||
# in this case we don't accept (nearly) zero
|
||||
# distance betwen start and end (skip it).
|
||||
# distance between start and end (skip it).
|
||||
next_v = last_v
|
||||
else:
|
||||
seg = LineSegment(last_v, next_v).toShape()
|
||||
|
||||
@@ -62,7 +62,7 @@ class MaterialManagerExternal(ABC):
|
||||
"""Returns a list of libraries managed by this interface
|
||||
|
||||
The list contains a series of tuples describing all libraries managed by
|
||||
this module. Each tuple containes the library name, icon, a boolean to indicate
|
||||
this module. Each tuple contains the library name, icon, a boolean to indicate
|
||||
if it is a read only library, and a timestamp that indicates when it was last
|
||||
modified."""
|
||||
pass
|
||||
@@ -72,7 +72,7 @@ class MaterialManagerExternal(ABC):
|
||||
"""Returns a list of libraries managed by this interface
|
||||
|
||||
The list contains a series of tuples describing all libraries managed by
|
||||
this module. Each tuple containes the library name, icon, and a boolean to indicate
|
||||
this module. Each tuple contains the library name, icon, and a boolean to indicate
|
||||
if it is a read only library, and a timestamp that indicates when it was last
|
||||
modified.
|
||||
|
||||
@@ -85,7 +85,7 @@ class MaterialManagerExternal(ABC):
|
||||
"""Returns a list of libraries managed by this interface
|
||||
|
||||
The list contains a series of tuples describing all libraries managed by
|
||||
this module. Each tuple containes the library name, icon, and a boolean to indicate
|
||||
this module. Each tuple contains the library name, icon, and a boolean to indicate
|
||||
if it is a read only library, and a timestamp that indicates when it was last
|
||||
modified.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user