Skip to content

Commit

Permalink
[skip ci] fix documentation typos
Browse files Browse the repository at this point in the history
Found via codespell v1.17.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
```
  • Loading branch information
luzpaz authored and yorikvanhavre committed Apr 20, 2020
1 parent bf643bb commit 0c326f0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Draft/draftguitools/gui_arcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def drawArc(self, point, info):
Parameters
----------
point: Base::Vector
The dynamic point pased by the callback
The dynamic point passed by the callback
as we move the pointer in the 3D view.
info: str
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Draft/draftguitools/gui_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AddToGroup(gui_base.GuiCommandNeedsSelection):
It adds selected objects to a group, or removes them from any group.
It inherits `GuiCommandNeedsSelection` to only be availbale
It inherits `GuiCommandNeedsSelection` to only be available
when there is a document and a selection.
See this class for more information.
"""
Expand Down Expand Up @@ -151,7 +151,7 @@ class SelectGroup(gui_base.GuiCommandNeedsSelection):
in this case it works in an intuitive manner, selecting
only the objects under the group.
It inherits `GuiCommandNeedsSelection` to only be availbale
It inherits `GuiCommandNeedsSelection` to only be available
when there is a document and a selection.
See this class for more information.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Draft/draftguitools/gui_togglemodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ToggleDisplayMode(gui_base.GuiCommandNeedsSelection):
Switches the display mode of selected objects from flatlines
to wireframe and back.
It inherits `GuiCommandNeedsSelection` to only be availbale
It inherits `GuiCommandNeedsSelection` to only be available
when there is a document and a selection.
See this class for more information.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Draft/draftobjects/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def make_label(targetpoint=None, target=None, direction=None,
["Horizontal","Vertical","Custom"]
distance : Quantity
Lenght of the straight segment of label leader line
Length of the straight segment of label leader line
labeltype : String
Label type in
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/MeshPy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ an empty dictionary if there is no intersection.
<UserDocu>getPlanarSegments(dev,[min faces=0]) -> list
Get all planes of the mesh as segment.
In the worst case each triangle can be regarded as single
plane if none of its neighours is coplanar.</UserDocu>
plane if none of its neighbors are coplanar.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getSegmentsOfType" Const="true">
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/App/AppPartPy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ class Module : public Py::ExtensionModule<Module>
p1.Transform(loc.Transformation());
p2.Transform(loc.Transformation());
p3.Transform(loc.Transformation());
// TODO: verify if tolerence should be hard coded
// TODO: verify if tolerance should be hard coded
if (!p1.IsEqual(p2, 0.01) && !p2.IsEqual(p3, 0.01) && !p3.IsEqual(p1, 0.01)) {
PyObject *t1 = PyTuple_Pack(3, PyFloat_FromDouble(p1.X()), PyFloat_FromDouble(p1.Y()), PyFloat_FromDouble(p1.Z()));
PyObject *t2 = PyTuple_Pack(3, PyFloat_FromDouble(p2.X()), PyFloat_FromDouble(p2.Y()), PyFloat_FromDouble(p2.Z()));
Expand Down

0 comments on commit 0c326f0

Please sign in to comment.