Misc. typos

+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
This commit is contained in:
luzpaz
2017-10-03 11:09:41 -04:00
committed by wmayer
parent 04530ff516
commit ab8f8919b6
97 changed files with 125 additions and 125 deletions

View File

@@ -696,7 +696,7 @@ Base::Reference<ParameterGrp> Application::GetParameterGroupByPath(const char*
std::string::size_type pos = cName.find(':');
// is there a path seperator ?
// is there a path separator ?
if (pos == std::string::npos) {
throw Base::ValueError("Application::GetParameterGroupByPath() no parameter set name specified");
}
@@ -1886,7 +1886,7 @@ void Application::ParseOptions(int ac, char ** av)
("write-log,l", descr.c_str())
("log-file", value<string>(), "Unlike --write-log this allows logging to an arbitrary file")
("user-cfg,u", value<string>(),"User config file to load/save user settings")
("system-cfg,s", value<string>(),"Systen config file to load/save system settings")
("system-cfg,s", value<string>(),"System config file to load/save system settings")
("run-test,t", value<string>() ,"Test case - or 0 for all")
("module-path,M", value< vector<string> >()->composing(),"Additional module paths")
("python-path,P", value< vector<string> >()->composing(),"Additional python paths")

View File

@@ -26,7 +26,7 @@ This is besides the Application class the most important class in FreeCAD
It contains all the data of the opened, saved or newly created FreeCAD Document.
The Document manage the Undo and Redo mechanism and the linking of documents.
Note: the documents are not free objects. They are completly handled by the
Note: the documents are not free objects. They are completely handled by the
App::Application. Only the Application can Open or destroy a document.
\section Exception Exception handling

View File

@@ -163,7 +163,7 @@ public:
std::vector<App::DocumentObject*> importObjects(Base::XMLReader& reader);
/// Opens the document from its file name
//void open (void);
/// Is the document already saved to a file
/// Is the document already saved to a file?
bool isSaved() const;
/// Get the document name
const char* getName() const;
@@ -172,20 +172,20 @@ public:
virtual void Save (Base::Writer &writer) const;
virtual void Restore(Base::XMLReader &reader);
/// returns the complet document mermory consumption, including all managed DocObjects and Undo Redo.
/// returns the complete document memory consumption, including all managed DocObjects and Undo Redo.
unsigned int getMemSize (void) const;
/** @name Object handling */
//@{
/** Add a feature of sType with sName (ASCII) to this document and set it active.
* Unicode names are set through the Label propery.
* Unicode names are set through the Label property.
* @param sType the type of created object
* @param pObjectName if nonNULL use that name otherwise generate a new uniq name based on the \a sType
* @param pObjectName if nonNULL use that name otherwise generate a new unique name based on the \a sType
* @param isNew if false don't call the \c DocumentObject::setupObject() callback (default is true)
*/
DocumentObject *addObject(const char* sType, const char* pObjectName=0, bool isNew=true);
/** Add an array of features of the given types and names.
* Unicode names are set through the Label propery.
* Unicode names are set through the Label property.
* @param sType The type of created object
* @param objectNames A list of object names
* @param isNew If false don't call the \c DocumentObject::setupObject() callback (default is true)
@@ -198,7 +198,7 @@ public:
* This is an overloaded function of the function above and can be used to create
* a feature outside and add it to the document afterwards.
* \note The passed feature must not yet be added to a document, otherwise an exception
* is raisedd.
* is raised.
*/
void addObject(DocumentObject*, const char* pObjectName=0);
@@ -244,7 +244,7 @@ public:
/** @name methods for modification and state handling
*/
//@{
/// Remove all modifications. After this call The document becomes again Valid.
/// Remove all modifications. After this call The document becomes Valid again.
void purgeTouched();
/// check if there is any touched object in this document
bool isTouched(void) const;
@@ -260,7 +260,7 @@ public:
void recomputeFeature(DocumentObject* Feat);
/// get the error log from the recompute run
const std::vector<App::DocumentObjectExecReturn*> &getRecomputeLog(void)const{return _RecomputeLog;}
/// get the text of the error of a spezified object
/// get the text of the error of a specified object
const char* getErrorDescription(const App::DocumentObject*) const;
/// return the status bits
bool testStatus(Status pos) const;
@@ -281,7 +281,7 @@ public:
void openTransaction(const char* name=0);
// Commit the Command transaction. Do nothing If there is no Command transaction open.
void commitTransaction();
/// Abort the actually running transaction.
/// Abort the actually running transaction.
void abortTransaction();
/// Check if a transaction is open
bool hasPendingTransaction() const;
@@ -295,17 +295,17 @@ public:
unsigned int getMaxUndoStackSize(void)const;
/// Remove all stored Undos and Redos
void clearUndos();
/// Returns the number of stored Undos. If greater than 0 Undo will be effective.
/// Returns the number of stored Undos. If greater than 0 Undo will be effective.
int getAvailableUndos() const;
/// Returns a list of the Undo names
std::vector<std::string> getAvailableUndoNames() const;
/// Will UNDO one step, returns False if no undo was done (Undos == 0).
/// Will UNDO one step, returns False if no undo was done (Undos == 0).
bool undo();
/// Returns the number of stored Redos. If greater than 0 Redo will be effective.
int getAvailableRedos() const;
/// Returns a list of the Redo names.
std::vector<std::string> getAvailableRedoNames() const;
/// Will REDO one step, returns False if no redo was done (Redos == 0).
/// Will REDO one step, returns False if no redo was done (Redos == 0).
bool redo() ;
/// returns true if the document is in an Transaction phase, e.g. currently performing a redo/undo or rollback
bool isPerformingTransaction() const;

View File

@@ -155,9 +155,9 @@ public:
bool isInOutListRecursive(DocumentObject* objToTest) const;
/// test if this object is directly (non recursive) in the OutList
bool isInOutList(DocumentObject* objToTest) const;
/// internal, used by ProperyLink to maintain DAG back links
/// internal, used by PropertyLink to maintain DAG back links
void _removeBackLink(DocumentObject*);
/// internal, used by ProperyLink to maintain DAG back links
/// internal, used by PropertyLink to maintain DAG back links
void _addBackLink(DocumentObject*);
//@}
@@ -196,7 +196,7 @@ public:
/** Called in case of losing a link
* Get called by the document when a object got deleted a link property of this
* object ist pointing to. The standard behaviour of the DocumentObject implementation
* is to reset the links to nothing. You may overide this method to implement
* is to reset the links to nothing. You may override this method to implement
* additional or different behavior.
*/
virtual void onLostLinkToObject(DocumentObject*);

View File

@@ -102,7 +102,7 @@ public:
//App::PropertyQuantity QuantityMass;
//App::PropertyQuantity QuantityAngle;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual DocumentObjectExecReturn *execute(void);

View File

@@ -36,7 +36,7 @@ namespace App
/**
* @brief The base class for placeable group of DocumentObjects. It represents a local coordnate system
*
* This class is the FreeCAD way of representing local coordinate systems. It groups its childs beneath
* This class is the FreeCAD way of representing local coordinate systems. It groups its children beneath
* it and transforms them all with the GeoFeatureGroup placement. A few important properties:
* - Every child that belongs to the CS must be in the Group property. Even if a sketch is part of a pad,
* it must be in the Group property of the same GeoFeatureGroup as pad. This also holds for normal

View File

@@ -731,7 +731,7 @@ std::string PropertyExpressionEngine::validateExpression(const ObjectIdentifier
// Get document object
DocumentObject * pathDocObj = usePath.getDocumentObject();
// Check for document object dependecies
// Check for document object dependencies
for (std::set<App::ObjectIdentifier>::const_iterator j = exprDeps.begin(); j != exprDeps.end(); ++j) {
DocumentObject * docObj = (*j).getDocumentObject();

View File

@@ -369,7 +369,7 @@ public:
/**
* @brief getValue emulates the action of a single-object link.
* @return reference to object, if the link is to only one object. NULL if
* the link is empty, or links to subelements of more than one documant
* the link is empty, or links to subelements of more than one document
* object.
*/
DocumentObject* getValue() const;

View File

@@ -33,7 +33,7 @@ namespace Base
/** A test class. A more elaborate class description.
* Detaild description with some formating:
* Detailed description with some formatting:
* \par
* bla blablablablablablabl:
* \code

View File

@@ -103,7 +103,7 @@ public:
std::vector<std::string> getErrors() const;
//@}
/** @name pretty formating for XML */
/** @name pretty formatting for XML */
//@{
/// get the current indentation
const char* ind(void) const {return indBuf;}

View File

@@ -67,7 +67,7 @@
is by no means a well structured corpus or a textbook, but more an
utility to browse through the sources.
If you seek informations on FreeCAD at large, please consult our
If you seek information on FreeCAD at large, please consult our
<a href="http://www.freecadweb.org/wiki/Main_Page">Wiki</a>
FreeCAD being a fast moving target, don't hesitate to rebuild an up to

View File

@@ -450,7 +450,7 @@ QuarterWidget::clearWindow(void) const
/*!
Enable/disable interaction mode.
Specifies wether you may use the alt-key to enter interaction mode.
Specifies whether you may use the alt-key to enter interaction mode.
*/
void
QuarterWidget::setInteractionModeEnabled(bool onoff)

View File

@@ -840,7 +840,7 @@ SoFCSelection::redrawHighlighted(SoAction * action , SbBool doHighlight )
SbBool
SoFCSelection::readInstance ( SoInput * in, unsigned short flags )
{
// Note: The read in document name can be false, so the caller must ensure pointing to the correct documemt
// Note: The read in document name can be false, so the caller must ensure pointing to the correct document
SbBool ret = inherited::readInstance(in, flags);
return ret;
}

View File

@@ -15,7 +15,7 @@ CONFIG += debug_and_release
macx {
# Using gcc
QMAKESPEC=macx-g++
# uncoment this line if you want use xcode
# uncomment this line if you want use xcode
# QMAKESPEC=macx-xcode
}

View File

@@ -102,7 +102,7 @@ struct SignalOwner {
* disconnect the slot by the same boost:function it was connected with.
*
* @tparam S the signal type of interest
* @param c connection with which the slot was initialy connected
* @param c connection with which the slot was initially connected
* @return void
**/
template<typename S>

View File

@@ -24,7 +24,7 @@
#include "opendcm/core/imp/constraint_holder_imp.hpp"
#ifdef DCM_EXTERNAL_CORE
//following macros are used for externalization. As the holder type can hould a very big set of combinations,
//following macros are used for externalization. As the holder type can hold a very big set of combinations,
//especially with module states recursive incarnation, we explicitly initiate all possible versions of this
//struct so that it must only be compiled once. To get all possible equation
//combinations boost pp is needed.

View File

@@ -58,7 +58,7 @@ TaskAssemblyConstraints::TaskAssemblyConstraints(ViewProviderConstraint* vp)
ui->setupUi(proxy);
this->groupLayout()->addWidget(proxy);
//initialy hide the value and orientation field
//initially hide the value and orientation field
ui->value_widget->hide();
ui->orientation_widget->hide();

View File

@@ -51,7 +51,7 @@ typedef struct
std::vector<unsigned int> Constraining;
std::vector<unsigned int> FacetRef;
}VERTICES; /*!< VERTICES struct. Contains coordinates, index, face reference, and constraining informations*/
}VERTICES; /*!< VERTICES struct. Contains coordinates, index, face reference, and constraining information*/
typedef struct
{

View File

@@ -1973,8 +1973,8 @@ bool SpringbackCorrection::GetCurvature(TopoDS_Face aFace)
}
// 1. Computes the curvature of the mesh at the verticies
// 2. Stores the minimum curvatures along the neighbours for all verticies in a vector
// 1. Computes the curvature of the mesh at the vertices
// 2. Stores the minimum curvatures along the neighbours for all vertices in a vector
std::vector<double> SpringbackCorrection::MeshCurvature(const TopoDS_Face& aFace, const MeshCore::MeshKernel& mesh)
{

View File

@@ -492,7 +492,7 @@ bool cutting_tools::arrangecuts_ZLEVEL()
// gp_Vec first_u,first_v,second_u,second_v,third_u,third_v, Norm_first,Norm_second,Norm_third,Norm_average;
// double u_middle,v_middle;
// /*
// Generate three random point on the surface to get the surface normal and decide wether its a
// Generate three random point on the surface to get the surface normal and decide whether it's a
// planar face or not
// */
// FirstUParameter = aAdaptor_Surface.FirstUParameter();

View File

@@ -3161,7 +3161,7 @@ bool path_simulate::WriteOutputDouble(ofstream &anOutputFile, ofstream &anOutput
int pid2 = 3; // Slave
int pid3 = 4; // Platte
if (brob == false) // Simulations-Output (brob == true -> roboter-ouput)
if (brob == false) // Simulations-Output (brob == true -> roboter-output)
{
TimeCorrection();

View File

@@ -49,7 +49,7 @@ namespace DraftUtils
// FreeCAD-specific functions
void AddObject(Part::TopoShape *shape); //Called by OnRead functions to add Part objects
std::string Deformat(const char* text); // Removes DXF formating from texts
std::string Deformat(const char* text); // Removes DXF formatting from texts
private:
gp_Pnt makePoint(const double* p);

View File

@@ -50,7 +50,7 @@ public:
App::PropertyString ViewResult;
App::PropertyBool Visible;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -49,7 +49,7 @@ public:
App::PropertyFile Template;
App::PropertyStringList EditableTexts;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -59,7 +59,7 @@ public:
App::PropertyBool OutLineHCompound;
App::PropertyBool IsoLineHCompound;
/** @name methods overide feature */
/** @name methods override feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -58,7 +58,7 @@ public:
}
protected:
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *recompute(void);

View File

@@ -52,7 +52,7 @@ public:
App::PropertyString Font;
App::PropertyColor TextColor;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -57,7 +57,7 @@ public:
App::PropertyFloatConstraint Tolerance;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -78,7 +78,7 @@ App::DocumentObjectExecReturn *FeatureViewSpreadsheet::execute(void)
if ( (scellstart.empty()) || (scellend.empty()) )
return new App::DocumentObjectExecReturn("Empty cell value");
// build a list of available colums: A, B, C, ... AA, AB, ... ZY, ZZ.
// build a list of available columns: A, B, C, ... AA, AB, ... ZY, ZZ.
std::string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
std::vector<std::string> availcolumns;
for (int i=0; i<26; ++i) {

View File

@@ -50,7 +50,7 @@ public:
App::PropertyFloat LineWidth;
App::PropertyFloat FontSize;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyString Symbol;
App::PropertyStringList EditableTexts;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -315,7 +315,7 @@ void ViewProviderFemMesh::attach(App::DocumentObject *pcObj)
SoGroup* pcFlatWireRoot = new SoSeparator();
// add the complete flat group (contains the coordinates)
pcFlatWireRoot->addChild(pcFlatRoot);
//pcFlatWireRoot->addChild(offset); // makes no differents.....
//pcFlatWireRoot->addChild(offset); // makes no difference.....
// add the line nodes
SoMaterialBinding *pcMatBind = new SoMaterialBinding;
pcMatBind->value = SoMaterialBinding::OVERALL;
@@ -1298,7 +1298,7 @@ void ViewProviderFEMMeshBuilder::createMesh(const App::Property* prop,
// 6 nodes
case 6:
// tria6 face
// penta6 volume, two 3-node triangle and three 4-node qudrangles
// penta6 volume, two 3-node triangle and three 4-node quadrangles
switch (facesHelper[l].FaceNo){
case 0: { // tria6 face, 6-node triangle
// prefeche all node indexes of this face
@@ -1758,9 +1758,9 @@ void ViewProviderFEMMeshBuilder::createMesh(const App::Property* prop,
break;
// 13 nodes
case 13:
// pyra13 volume, four 6-node triangle and one 8-node qudrangles
// pyra13 volume, four 6-node triangle and one 8-node quadrangles
switch(facesHelper[l].FaceNo){
case 1: { // pyra13 volume: face 1, 8-node qudrangles
case 1: { // pyra13 volume: face 1, 8-node quadrangles
int nIdx0 = mapNodeIndex[facesHelper[l].Element->GetNode(0)];
int nIdx1 = mapNodeIndex[facesHelper[l].Element->GetNode(5)];
int nIdx2 = mapNodeIndex[facesHelper[l].Element->GetNode(1)];
@@ -1943,7 +1943,7 @@ void ViewProviderFEMMeshBuilder::createMesh(const App::Property* prop,
break;
// 15 nodes
case 15:
// penta15 volume, two 6-node triangles and three 8-node qudrangles
// penta15 volume, two 6-node triangles and three 8-node quadrangles
switch(facesHelper[l].FaceNo){
case 1: { // penta15 volume: face 1, 6-node triangle
int nIdx0 = mapNodeIndex[facesHelper[l].Element->GetNode(0)];
@@ -2154,7 +2154,7 @@ void ViewProviderFEMMeshBuilder::createMesh(const App::Property* prop,
break;
// 20 nodes
case 20:
// hexa20 volume, six 8-node qudrangles
// hexa20 volume, six 8-node quadrangles
switch(facesHelper[l].FaceNo){
case 1: { // hexa20 volume: face 1
int nIdx0 = mapNodeIndex[facesHelper[l].Element->GetNode(0)];

View File

@@ -37,7 +37,7 @@ import time
INSTANCE_DEFINITION_RE = re.compile("#(\d+)[^\S\n]?=[^\S\n]?(.*?)\((.*)\)[^\S\n]?;[\\r]?$")
def map_string_to_num(stri):
""" Take a string, check wether it is an integer, a float or not
""" Take a string, check whether it is an integer, a float or not
"""
if ('.' in stri) or ('E' in stri): #it's definitely a float
return REAL(stri)

View File

@@ -46,7 +46,7 @@ def cast_python_object_to_aggregate(obj, aggregate):
return aggregate
def check_type(instance, expected_type):
""" This function checks wether an object is an instance of a given class
""" This function checks whether an object is an instance of a given class
returns False or True
"""
type_match = False #by default, will be set to True if any match

View File

@@ -227,7 +227,7 @@
<string>Source</string>
</property>
<property name="toolTip">
<string>An optional description of where the informations included in this card come from</string>
<string>An optional description of where the information included in this card comes from</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEditable|ItemIsDragEnabled|ItemIsUserCheckable|ItemIsEnabled</set>

View File

@@ -281,7 +281,7 @@ public:
* Therefore the two facets must be adjacent.
*/
inline bool HasSameOrientation(const MeshFacet&) const;
/** Checks wether the facet is degenerated to a line of point. */
/** Checks whether the facet is degenerated to a line of point. */
inline bool IsDegenerated() const;
/** Flips the orientation of the facet. */
void FlipNormal (void)

View File

@@ -129,7 +129,7 @@ protected:
};
/**
* The MeshOutput class is able to write a mesh object to an ouput stream
* The MeshOutput class is able to write a mesh object to an output stream
* on various formats.
*/
class MeshExport MeshOutput

View File

@@ -138,7 +138,7 @@
#define POINT_IN_TRI(V0,U0,U1,U2) \
{ \
float a,b,c,d0,d1,d2; \
/* is T1 completly inside T2? */ \
/* is T1 completely inside T2? */ \
/* check if V0 is inside tri(U0,U1,U2) */ \
a=U1[i1]-U0[i1]; \
b=-(U1[i0]-U0[i0]); \

View File

@@ -48,7 +48,7 @@ public:
App::PropertyLink Source;
PropertyCurvatureList CurvInfo;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -46,7 +46,7 @@ public:
App::PropertyFile FileName;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -53,7 +53,7 @@ public:
App::PropertyVector Normal;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyLink Source2;
App::PropertyString OperationType;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -49,7 +49,7 @@ public:
App::PropertyMatrix Position;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -48,7 +48,7 @@ public:
App::PropertyFloat Rotation;
App::PropertyVector Axis;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -91,7 +91,7 @@ void GTSAlgos::boolean(const Mesh::MeshObject& ToolMesh, int Type)
s1 = GTSAlgos::createGTSSurface(_Mesh);
s2 = GTSAlgos::createGTSSurface(ToolMesh);
// clear the mesh (mermory)
// clear the mesh (memory)
//Mesh1.clear();
//Mesh2.clear();

View File

@@ -66,7 +66,7 @@ public:
PropertyMeshKernel Mesh;
//@}
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -183,7 +183,7 @@ MeshCore::MeshKernel* MeshAlgos::boolean(MeshCore::MeshKernel* pMesh1,
s1 = MeshAlgos::createGTSSurface(pMesh1);
s2 = MeshAlgos::createGTSSurface(pMesh2);
// clear the mesh (mermory)
// clear the mesh (memory)
//Mesh1.clear();
//Mesh2.clear();

View File

@@ -219,8 +219,8 @@ def p_anymodifier(p):
| MODIFIERDISABLE
'''
#just return the plain modifier for now
#has to be changed when the modifiers are inplemented
#please note that disabled objects usually are stript of the CSG ouput during compilation
#has to be changed when the modifiers are implemented
#please note that disabled objects usually are stripped of the CSG output during compilation
p[0] = p[1]
def p_statementwithmod(p):

View File

@@ -250,7 +250,7 @@
</Methode>
<Methode Name="insertUKnot">
<Documentation>
<UserDocu>insertUKnote(float U, int Index, float Tolerance) - Insert or overide a knot</UserDocu>
<UserDocu>insertUKnote(float U, int Index, float Tolerance) - Insert or override a knot</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertUKnots">
@@ -260,7 +260,7 @@
</Methode>
<Methode Name="insertVKnot">
<Documentation>
<UserDocu>insertUKnote(float V, int Index, float Tolerance) - Insert or overide a knot.</UserDocu>
<UserDocu>insertUKnote(float V, int Index, float Tolerance) - Insert or override a knot.</UserDocu>
</Documentation>
</Methode>
<Methode Name="insertVKnots">

View File

@@ -42,7 +42,7 @@ public:
PropertyGeometryList GeometrySet;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -43,7 +43,7 @@ public:
App::PropertyLink Tool;
PropertyShapeHistory History;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -37,7 +37,7 @@ class Common : public Boolean
public:
Common();
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
protected:

View File

@@ -41,7 +41,7 @@ public:
App::PropertyString FileName;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -38,7 +38,7 @@ class Cut : public Boolean
public:
Cut();
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
protected:

View File

@@ -38,7 +38,7 @@ class Fuse : public Boolean
public:
Fuse();
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
protected:

View File

@@ -41,7 +41,7 @@ public:
App::PropertyString FileName;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -41,7 +41,7 @@ public:
App::PropertyString FileName;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -45,7 +45,7 @@ public:
App::PropertyString FileName;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -42,7 +42,7 @@ public:
App::PropertyVectorList Nodes;
App::PropertyBool Close;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -38,7 +38,7 @@ class Section : public Boolean
public:
Section();
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
protected:

View File

@@ -38,13 +38,13 @@ namespace Part
class Geometry;
/** 2D Shape
* This is a specialiced version of the PartShape for use with
* This is a specialized version of the PartShape for use with
* flat (2D) geometry. The Z direction has always to be 0.
* The position and orientation of the Plane this 2D geometry is
* referenced is defined by the Placement property. It also
* has a link to a supporting Face which defines the position
* in space where it is located. If the support is changed the
* static methode positionBySupport() is used to calculate a
* static method positionBySupport() is used to calculate a
* new position for the Part2DObject.
* This object can be used stand alone or for constraint
* geometry as its descend Sketcher::SketchObject .
@@ -82,7 +82,7 @@ public:
static const int V_Axis;
static const int N_Axis;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -1194,7 +1194,7 @@ void ViewProviderPartExt::updateVisual(const TopoDS_Shape& inputShape)
}
# ifdef FC_DEBUG
// printing some informations
// printing some information
Base::Console().Log("ViewProvider update time: %f s\n",Base::TimeInfo::diffTimeF(start_time,Base::TimeInfo()));
Base::Console().Log("Shape tria info: Faces:%d Edges:%d Nodes:%d Triangles:%d IdxVec:%d\n",numFaces,numEdges,numNodes,numTriangles,numLines);
# endif

View File

@@ -74,7 +74,7 @@ void relinkToBody ( PartDesign::Feature *feature );
/// Check if feature is dependent on anything except movable sketches and datums
bool isFeatureMovable(App::DocumentObject* feature);
/// Collect dependencies of the features during the move. Dependecies should only be dependent on origin
/// Collect dependencies of the features during the move. Dependencies should only be dependent on origin
std::vector<App::DocumentObject*> collectMovableDependencies(std::vector<App::DocumentObject*>& features);
/// Relink sketches and datums to target body's origin
void relinkToOrigin(App::DocumentObject* feature, PartDesign::Body* body);

View File

@@ -85,7 +85,7 @@ class PartDesignGuiTestCases(unittest.TestCase):
self.Doc = FreeCAD.newDocument("SketchGuiTest")
def testRefuseToMoveSingleFeature(self):
FreeCAD.Console.PrintMessage('Testing refuse to move the feature with dependecies from one body to another\n')
FreeCAD.Console.PrintMessage('Testing refuse to move the feature with dependencies from one body to another\n')
self.BodySource = self.Doc.addObject('PartDesign::Body','Body')
Gui.activeView().setActiveObject('pdbody', self.BodySource)

View File

@@ -40,7 +40,7 @@ if open.__module__ == '__builtin__':
def export(objectslist, filename,argstring):
output = '''(This ouput produced with the dump post processor)
output = '''(This output produced with the dump post processor)
(Dump is useful for inspecting the raw commands in your paths)
(but is not useful for driving machines.)
(Consider setting a default postprocessor in your project or )

View File

@@ -58,7 +58,7 @@ public:
Feature(void);
virtual ~Feature(void);
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
void Restore(Base::XMLReader &reader);
void RestoreDocFile(Base::Reader &reader);

View File

@@ -46,7 +46,7 @@ public:
App::PropertyInteger Width; /**< The width of the structured cloud. */
App::PropertyInteger Height; /**< The height of the structured cloud. */
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyColor Color;
App::PropertyPercent Transparency;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyString Camera;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyColor Color;
App::PropertyPercent Transparency;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyString Camera;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -50,7 +50,7 @@ public:
App::PropertyString Result;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -104,7 +104,7 @@ int _EatSpace( std::istream& is,int* countp=NULL) {
// Eats whites, returns, tabs and the delim character
// Checks wether delim char. is encountered.
// Checks whether delim char. is encountered.
void Eat( std::istream& is, int delim )
{
int ch;
@@ -117,7 +117,7 @@ void Eat( std::istream& is, int delim )
}
// Eats whites, returns, tabs and the delim character
// Checks wether delim char. is encountered.
// Checks whether delim char. is encountered.
// EatEnd does not eat all space-like char's at the end.
void EatEnd( std::istream& is, int delim )
{

View File

@@ -58,7 +58,7 @@ public:
Part ::PropertyGeometryList Geometry;
Sketcher::PropertyConstraintList Constraints;
App ::PropertyLinkSubList ExternalGeometry;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature (if no recompute is needed see also solve() and solverNeedsUpdate boolean)
App::DocumentObjectExecReturn *execute(void);
@@ -220,7 +220,7 @@ public:
bool increaseBSplineDegree(int GeoId, int degreeincrement = 1);
/*!
\ brief Increases or Decreases the multiplicity of a BSpline knot by the multiplicityincr param, which defaults to 1, if the result is multiplicity zero, the knot is removed
\brief Increases or Decreases the multiplicity of a BSpline knot by the multiplicityincr param, which defaults to 1, if the result is multiplicity zero, the knot is removed
\param GeoId - the geometry of type bspline to increase the degree
\param knotIndex - the index of the knot to modify (note that index is OCC consistent, so 1<=knotindex<=knots)
\param multiplicityincr - the increment (positive value) or decrement (negative value) of multiplicity of the knot

View File

@@ -44,7 +44,7 @@ public:
/// Property
App::PropertyFileIncluded SketchFlatFile;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute(void);

View File

@@ -158,4 +158,4 @@ class SketcherSolverTestCases(unittest.TestCase):
def tearDown(self):
#closing doc
FreeCAD.closeDocument("SketchSolverTest")
#print ("omit close document for debugging")
#print ("omit closing document for debugging")

View File

@@ -974,7 +974,7 @@ void PropertySheet::addDependencies(CellAddress key)
}
/**
* Remove dependecies given by \a expression for cell at \a key.
* Remove dependencies given by \a expression for cell at \a key.
*
* @param expression Expression to extract dependencies from
* @param key Address of cell containing the expression

View File

@@ -603,7 +603,7 @@ void Sheet::updateAlias(CellAddress key)
}
/**
* Update the Propery given by \a key. This will also eventually trigger recomputations of cells depending on \a key.
* Update the Property given by \a key. This will also eventually trigger recomputations of cells depending on \a key.
*
* @param key The address of the cell we want to recompute.
*
@@ -649,7 +649,7 @@ void Sheet::updateProperty(CellAddress key)
}
/**
* Retrieve a specifc Property given by \a name.
* Retrieve a specific Property given by \a name.
* This function might throw an exception if something fails, but might also
* return 0 in case the property is not found.
*

View File

@@ -49,7 +49,7 @@ public:
App::PropertyFloatConstraint Scale;
App::PropertyEnumeration ProjectionType; // First or Third Angle
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -48,7 +48,7 @@ public:
App::PropertyFile Template;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -93,7 +93,7 @@ public:
Base::Vector3d getXYPosition(const char *viewTypeCStr);
short mustExecute() const override;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void) override;

View File

@@ -44,7 +44,7 @@ public:
App::PropertyFileIncluded PageResult;
App::PropertyFile Template;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -61,7 +61,7 @@ public:
virtual void getBlockDimensions(double &x, double &y, double &width, double &height) const;
virtual DrawPage* getParentPage() const;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -57,7 +57,7 @@ public:
App::PropertyBool KeepLabel;
App::PropertyString Caption;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void) override;

View File

@@ -57,7 +57,7 @@ public:
virtual QRectF getRect() const;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -50,7 +50,7 @@ public:
App::PropertyFloat LineWidth;
App::PropertyFloat FontSize;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -55,7 +55,7 @@ public:
void removeView(DrawView *view);
short mustExecute() const;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -69,7 +69,7 @@ public:
bool has2DReferences(void) const;
bool has3DReferences(void) const;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -51,7 +51,7 @@ public:
App::PropertyString LineStyle;
App::PropertyFloat LineSpacing;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -48,7 +48,7 @@ public:
App::PropertyFloat Width;
App::PropertyFloat Height;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -60,7 +60,7 @@ public:
App::PropertyLinkListGlobal Sources;
virtual short mustExecute() const;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void) override;

View File

@@ -143,7 +143,7 @@ public:
bool handleFaces(void);
bool showSectionEdges(void);
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void);

View File

@@ -120,7 +120,7 @@ App::DocumentObjectExecReturn *DrawViewSpreadsheet::execute(void)
std::vector<std::string> DrawViewSpreadsheet::getAvailColumns(void)
{
// build a list of available colums: A, B, C, ... AA, AB, ... ZY, ZZ.
// build a list of available columns: A, B, C, ... AA, AB, ... ZY, ZZ.
std::string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
std::vector<std::string> availcolumns;
for (int i=0; i<26; ++i) {

View File

@@ -47,7 +47,7 @@ public:
App::PropertyString Symbol;
App::PropertyStringList EditableTexts;
/** @name methods overide Feature */
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void) override;

View File

@@ -189,7 +189,7 @@ class ViewProvider(object):
"switches this object to invisible"
self.__vobject__.hide()
def isVisible(self):
"shows wether this object is visible or invisible"
"shows whether this object is visible or invisible"
return self.__vobject__.isVisible()
def toString(self):
"returns a string representation of the coin node of this object"
@@ -201,7 +201,7 @@ class ViewProvider(object):
"leaves edit mode for this object"
self.__vobject__.finishEditing()
def isEditing(self):
"shows wether this object is in edit mode"
"shows whether this object is in edit mode"
self.__vobject__.isEditing()
def setTransformation(self,trsf):
"defines a transformation for this object"

View File

@@ -579,7 +579,7 @@ PyObject * @self.export.Name@::staticCallback_@i.Name@ (PyObject *self, PyObject
PyErr_SetString(Base::BaseExceptionFreeCADError,e);
return NULL;
}
// in debug not all exceptions will be catched to get the attention of the developer!
// in debug not all exceptions will be caught to get the attention of the developer!
#ifndef DONT_CATCH_CXX_EXCEPTIONS
catch(const std::exception& e) // catch other c++ exceptions
{

View File

@@ -44,7 +44,7 @@ NORETRIEVE = ['Manual','Developer_hub','Power_users_hub','Users_hub','Source_doc
GETTRANSLATIONS = True # Set true if you want to get the translations too.
MAXFAIL = 3 # max number of retries if download fails
VERBOSE = True # to display what's going on. Otherwise, runs totally silent.
COMPILE = True # Wether qt assistant will be used to compile the final help file
COMPILE = True # Whether Qt assistant will be used to compile the final help file
OUTPUTPATH = os.path.expanduser("~")+os.sep+'.FreeCAD' # Where to store the qch file
QHELPCOMPILER = 'qhelpgenerator'
QCOLLECTIOMGENERATOR = 'qcollectiongenerator'