Fix typos [skip ci]

Found via codespell v1.18.0.dev0  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
This commit is contained in:
luz.paz
2020-06-10 11:55:03 -04:00
committed by Yorik van Havre
parent cf7c241cad
commit 720b0b96d0
11 changed files with 15 additions and 15 deletions

View File

@@ -144,7 +144,7 @@ def circlefrom2Lines1Point(edge1, edge2, point):
def circleFrom2LinesRadius(edge1, edge2, radius):
"""Retun a list of circles from two edges and one radius.
"""Return a list of circles from two edges and one radius.
It calculates 4 centers.
"""

View File

@@ -41,7 +41,7 @@ Part = lz.LazyLoader("Part", globals(), "Part")
def pocket2d(shape, offset):
"""Return a list of wires obtained from offseting wires from the shape.
"""Return a list of wires obtained from offsetting wires from the shape.
Return a list of wires obtained from offsetting the wires
from the given shape by the given offset, and intersection if needed.

View File

@@ -383,7 +383,7 @@ def recomputePointsBezier(obj, pts, idx, v,
if idx >= 1: #move left pole
knotidx = idx if idx < len(pts) else 0
pts[idx-1] = pts[idx-1] + v - pts[knotidx]
#if moveTrackers: # trackers are reseted after editing
#if moveTrackers: # trackers are reset after editing
# self.trackers[obj.Name][idx-1].set(pts[idx-1])
if idx < len(pts)-1: #move right pole
pts[idx+1] = pts[idx+1] + v - pts[idx]

View File

@@ -81,7 +81,7 @@ class PathArray(gui_base_original.Modifier):
"""Execute when the command is called."""
super(PathArray, self).Activated(name=name)
self.name = name
# This was deactivated becuase it doesn't work correctly;
# This was deactivated because it doesn't work correctly;
# the selection needs to be made on two objects, but currently
# it only selects one.

View File

@@ -126,7 +126,7 @@ class PointArray(gui_base_original.Modifier):
"App.ActiveDocument.recompute()"]
self.commit(_tr(self.name), _cmd_list)
# Commit the transaction and execute the comamnds
# Commit the transaction and execute the commands
# through the parent class
self.finish()

View File

@@ -114,7 +114,7 @@ def make_path_array(base_object, path_object, count=4,
`X` is curve tangent, `Y` is normal parameter, Z is the cross
product `X` x `Y`.
- Frenet. It defines a local coordinate system along the path.
`X` is tanget to curve, `Y` is curve normal, `Z` is curve binormal.
`X` is tangent to curve, `Y` is curve normal, `Z` is curve binormal.
If normal cannot be computed, for example, in a straight path,
a default is used.
- Tangent. It is similar to `'Original'` but includes a pre-rotation

View File

@@ -1361,8 +1361,8 @@ def use_instead(function, version=""):
If we don't know when this command will be deprecated
then we should not give a version.
"""
text = "This function will be deprected in "
text2 = "This function will be deprected. "
text = "This function will be deprecated in "
text2 = "This function will be deprecated. "
text3 = "Please use "
if version: