Fix more typos + whitespace fix and added 'TODO'

Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,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,./build/doc/SourceDocu`
This commit is contained in:
luz paz
2022-01-04 19:54:13 -05:00
committed by Chris Hennes
parent 3292475613
commit dc288a7ade
6 changed files with 8 additions and 8 deletions

View File

@@ -74,8 +74,8 @@ public:
/** Returns the geo feature group which contains this object.
* In case this object is not part of any geoFeatureGroup 0 is returned.
* Unlike DocumentObjectGroup::getGroupOfObject serches only for GeoFeatureGroups
* @param obj the object to search for
* Unlike DocumentObjectGroup::getGroupOfObject searches only for GeoFeatureGroups
* @param obj the object to search for
*/
static DocumentObject* getGroupOfObject(const DocumentObject* obj);

View File

@@ -86,7 +86,7 @@ public:
*@endcode
*/
std::string completeExtension () const;
/// Checks for a special extension, NOT case sensetive
/// Checks for a special extension, NOT case sensitive
bool hasExtension (const char* Ext) const;
//@}

View File

@@ -251,8 +251,8 @@ def createStructuralMember(ifcfile, ifcbin, obj):
topologyRep = ifcfile.createIfcTopologyRepresentation(structContext, "Analysis", "Face", (face,))
prodDefShape = ifcfile.createIfcProductDefinitionShape(None, None, (topologyRep,))
# sets surface thickness
# ATM limitations
# - for verical slabs (walls) or inclined slabs (ramps) the thickness is taken from the Height property
# TODO: ATM limitations
# - for vertical slabs (walls) or inclined slabs (ramps) the thickness is taken from the Height property
thickness = float(obj.Height)*scaling
# creates structural member
structuralMember = ifcfile.createIfcStructuralSurfaceMember(

View File

@@ -103,7 +103,7 @@ find src/Mod/Draft -name '*.py' ! -name InitGui.py -exec flake8 --ignore=E226,E2
- The online [LGTM service](https://lgtm.com/projects/g/FreeCAD/FreeCAD/latest/files/src/Mod/Draft/)
is also able to analyze the code and detect problems.
- Avoid automatic code formaters.
- Avoid automatic code formatters.
## C++

View File

@@ -45,7 +45,7 @@ namespace Attacher
class AttachEngine;
//Attention! The numbers assiciated to the modes are permanent, because they are what get written into files.
//Attention! The numbers associated to the modes are permanent, because they are what get written into files.
enum eMapMode {
mmDeactivated,
mmTranslate,

View File

@@ -646,7 +646,7 @@ def drill_translate(outstring, cmd, params):
)
print(strF_Feedrate)
# preliminary mouvement(s)
# preliminary movement(s)
if CURRENT_Z < RETRACT_Z:
trBuff += linenumber() + strG0_RETRACT_Z
trBuff += (