Fix misc. typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -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 -L od,orign,orginx,orginy`
This commit is contained in:
@@ -379,7 +379,7 @@ protected:
|
||||
|
||||
enum eWinGestureTuneState{
|
||||
ewgtsDisabled, //suppress tuning/re-tuning after errors
|
||||
ewgtsNeedTuning, //gestures are to be retuned upon next event
|
||||
ewgtsNeedTuning, //gestures are to be re-tuned upon next event
|
||||
ewgtsTuned
|
||||
};
|
||||
eWinGestureTuneState winGestureTuneState;//See ViewerEventFilter::eventFilter function for explanation
|
||||
@@ -458,4 +458,3 @@ private:
|
||||
} // namespace Gui
|
||||
|
||||
#endif // GUI_VIEW3DINVENTORVIEWER_H
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ END-ISO-10303-21;
|
||||
|
||||
# ************************************************************************************************
|
||||
# ********** duplicate methods ****************
|
||||
# TODO red rid of this duplicate
|
||||
# TODO get rid of this duplicate
|
||||
|
||||
def getPreferences():
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ def dms2dd(degrees, minutes, seconds, milliseconds=0):
|
||||
|
||||
# ************************************************************************************************
|
||||
# ********** duplicate methods ****************
|
||||
# TODO red rid of this duplicate
|
||||
# TODO get rid of this duplicate
|
||||
def getPreferences():
|
||||
|
||||
"""retrieves IFC preferences"""
|
||||
@@ -1195,9 +1195,9 @@ def insert(filename,docname,skip=[],only=[],root=None):
|
||||
if hasattr(objects[o],"Material"):
|
||||
# the reason behind ...
|
||||
# there are files around in which the material color is different from the shape color
|
||||
# all viewers use the shape color wheras in FreeCAD the shape color will be
|
||||
# overwritten by the material coloer (if there is a material with a color)
|
||||
# in such a case FreeCAD shows different color than all common ifc viewers
|
||||
# all viewers use the shape color whereas in FreeCAD the shape color will be
|
||||
# overwritten by the material color (if there is a material with a color).
|
||||
# In such a case FreeCAD shows different a color than all common ifc viewers
|
||||
# https://forum.freecadweb.org/viewtopic.php?f=39&t=38440
|
||||
col = objects[o].ViewObject.ShapeColor[:3]
|
||||
dig = 5
|
||||
|
||||
@@ -347,7 +347,7 @@ def angle(u, v=Vector(1, 0, 0), normal=Vector(0, 0, 1)):
|
||||
dp = u.dot(v)/ll
|
||||
|
||||
# Due to rounding errors, the dot product could be outside
|
||||
# the range [-1, 1], so let's force it to be withing this range.
|
||||
# the range [-1, 1], so let's force it to be within this range.
|
||||
if dp < -1:
|
||||
dp = -1
|
||||
elif dp > 1:
|
||||
@@ -785,7 +785,7 @@ def removeDoubles(vlist):
|
||||
Finding duplicated vectors tests for `equality` which depends
|
||||
on the `precision` parameter in the parameter database.
|
||||
|
||||
Paramaters
|
||||
Parameters
|
||||
----------
|
||||
vlist : list of Base::Vector3
|
||||
List with vectors.
|
||||
|
||||
@@ -66,7 +66,7 @@ class plane:
|
||||
A vector that is supposed to be perpendicular to `u` and `v`;
|
||||
it is helpful although redundant.
|
||||
position : Base::Vector3
|
||||
A point throught which the plane goes through,
|
||||
A point, which the plane goes through,
|
||||
that helps define the working plane.
|
||||
stored : bool
|
||||
A placeholder for a stored state.
|
||||
@@ -159,7 +159,7 @@ class plane:
|
||||
|
||||
The points are as follows
|
||||
|
||||
* `p` is an arbitraty point outside the plane.
|
||||
* `p` is an arbitrary point outside the plane.
|
||||
* `c` is a known point on the plane,
|
||||
for example, `plane.position`.
|
||||
* `x` is the intercept on the plane from `p` in
|
||||
@@ -532,7 +532,7 @@ class plane:
|
||||
Returns
|
||||
-------
|
||||
bool
|
||||
`True` if the operation was succesful, and `False` if the shape
|
||||
`True` if the operation was successful, and `False` if the shape
|
||||
is not a `'Face'`.
|
||||
|
||||
See Also
|
||||
@@ -585,7 +585,7 @@ class plane:
|
||||
Returns
|
||||
-------
|
||||
bool
|
||||
`True` if the operation was succesful, and `False` otherwise.
|
||||
`True` if the operation was successful, and `False` otherwise.
|
||||
"""
|
||||
import Part
|
||||
w = Part.makePolygon([p1, p2, p3, p1])
|
||||
@@ -612,7 +612,7 @@ class plane:
|
||||
Returns
|
||||
-------
|
||||
bool
|
||||
`True` if the operation was succesful, and `False` otherwise.
|
||||
`True` if the operation was successful, and `False` otherwise.
|
||||
It returns `False` if the selection has no elements,
|
||||
or if it has more than one element,
|
||||
or if the object is not derived from `'Part::Feature'`
|
||||
|
||||
@@ -1559,7 +1559,7 @@ class svgHandler(xml.sax.ContentHandler):
|
||||
obj.ViewObject.TextColor = (0.0, 0.0, 0.0, 0.0)
|
||||
|
||||
def endElement(self, name):
|
||||
"""Finish procesing the element indicated by the name.
|
||||
"""Finish processing the element indicated by the name.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user