Misc typos and whitespace fixes
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*`
This commit is contained in:
@@ -667,7 +667,7 @@ std::map<std::string, std::string> _getFreeCADMechResultVectorProperties() {
|
||||
return resFCVecProp;
|
||||
}
|
||||
|
||||
// see https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&start=30#p277434 for further information in the regard of names etc
|
||||
// see https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&start=30#p277434 for further information regarding names etc...
|
||||
// some scalar list are not needed on VTK file export but they are needed for internal VTK pipeline
|
||||
// TODO some filter to only export the needed values to VTK file but have all in FreeCAD VTK pipline
|
||||
std::map<std::string, std::string> _getFreeCADMechResultScalarProperties() {
|
||||
|
||||
@@ -46,7 +46,7 @@ class _CommandFemAnalysis(CommandManager):
|
||||
FreeCADGui.addModule("ObjectsFem")
|
||||
FreeCADGui.doCommand("ObjectsFem.makeAnalysis(FreeCAD.ActiveDocument, 'Analysis')")
|
||||
FreeCADGui.doCommand("FemGui.setActiveAnalysis(FreeCAD.ActiveDocument.ActiveObject)")
|
||||
# create a CalculiX ccx tools solver for any new analysis, to be on the save side fo rnew users
|
||||
# create a CalculiX ccx tools solver for any new analysis, to be on the safe side for new users
|
||||
FreeCADGui.doCommand("ObjectsFem.makeSolverCalculixCcxTools(FreeCAD.ActiveDocument)")
|
||||
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject(FreeCAD.ActiveDocument.ActiveObject)")
|
||||
FreeCAD.ActiveDocument.recompute()
|
||||
|
||||
@@ -37,7 +37,7 @@ def shapeset(shapelst):
|
||||
return set([shape.hashCode() for shape in shapelst])
|
||||
|
||||
def mostbasiccompound(comp):
|
||||
'''searches fo the most basic shape in a Compound'''
|
||||
'''searches for the most basic shape in a Compound'''
|
||||
solids=shapeset(comp.Solids)
|
||||
shells=shapeset(comp.Shells)
|
||||
faces=shapeset(comp.Faces)
|
||||
|
||||
@@ -404,7 +404,7 @@ bool PartGui::DlgProjectionOnSurface::store_part_in_vector(SShapeStore& iCurrent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (currentType == TopAbs_FACE)
|
||||
{
|
||||
iCurrentShape.aFace = TopoDS::Face(iCurrentShape.inputShape);
|
||||
@@ -590,7 +590,7 @@ void PartGui::DlgProjectionOnSurface::higlight_object(Part::Feature* iCurrentObj
|
||||
|
||||
TopoDS_Shape currentShape = subShape;
|
||||
if (subShape.IsNull()) currentShape = partenShape;
|
||||
|
||||
|
||||
auto currentShapeType = currentShape.ShapeType();
|
||||
TopTools_IndexedMapOfShape anIndices;
|
||||
TopExp::MapShapes(partenShape, currentShapeType, anIndices);
|
||||
@@ -668,7 +668,7 @@ void PartGui::DlgProjectionOnSurface::create_projection_face_from_wire(std::vect
|
||||
auto surface = BRep_Tool::Surface(itCurrentShape.surfaceToProject);
|
||||
|
||||
//create a wire of all edges in parametric space on the surface of the face to projected
|
||||
// --> othwerwise BRepBuilderAPI_MakeFace can not make a face from the wire!
|
||||
// --> otherwise BRepBuilderAPI_MakeFace can not make a face from the wire!
|
||||
for (auto itWireVec : itCurrentShape.aProjectedWireVec)
|
||||
{
|
||||
std::vector<TopoDS_Shape> edgeVec;
|
||||
@@ -764,7 +764,7 @@ TopoDS_Wire PartGui::DlgProjectionOnSurface::sort_and_heal_wire(const std::vecto
|
||||
Handle(TopTools_HSequenceOfShape) shapeList = new TopTools_HSequenceOfShape;
|
||||
Handle(TopTools_HSequenceOfShape) aWireHandle;
|
||||
Handle(TopTools_HSequenceOfShape) aWireWireHandle;
|
||||
|
||||
|
||||
for (auto it : iEdgeVec)
|
||||
{
|
||||
shapeList->Append(it);
|
||||
@@ -826,7 +826,7 @@ void PartGui::DlgProjectionOnSurface::store_wire_in_vector(const SShapeStore& iC
|
||||
if (iCurrentShape.inputShape.IsNull()) return;
|
||||
auto currentType = iCurrentShape.inputShape.ShapeType();
|
||||
if (currentType != TopAbs_EDGE) return;
|
||||
|
||||
|
||||
std::vector<TopoDS_Wire> aWireVec;
|
||||
for (TopExp_Explorer aExplorer(iParentShape, TopAbs_WIRE); aExplorer.More(); aExplorer.Next())
|
||||
{
|
||||
@@ -1045,5 +1045,3 @@ void TaskProjectionOnSurface::clicked(int id)
|
||||
}
|
||||
|
||||
#include "moc_DlgProjectionOnSurface.cpp"
|
||||
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@
|
||||
PARAM_TYPE(_param) _src(_param);
|
||||
|
||||
/**
|
||||
* Delcares parameters using the given field as name
|
||||
* Declares parameters using the given field as name
|
||||
*
|
||||
* \arg \c _src: \anchor ParamSrc Macro to generate source variable. The
|
||||
* signature must be <tt>_src(_param)<\tt>, where \c _param is the tuple
|
||||
@@ -349,7 +349,7 @@
|
||||
PARAM_TYPE(_param) _src(_param) = PARAM_FDEF(_param);
|
||||
|
||||
/**
|
||||
* Delcares parameters with initialization to default using the given field as
|
||||
* Declares parameters with initialization to default using the given field as
|
||||
* name
|
||||
*
|
||||
* \arg \c _src: macro to generate source field. See \ref ParamSrc "here" for
|
||||
@@ -635,7 +635,7 @@
|
||||
#define PARAM_ARGS_DEF_(_,_src,_i,_param) \
|
||||
BOOST_PP_COMMA_IF(_i) PARAM_TYPE(_param) _src(_param)=PARAM_FDEF(_param)
|
||||
|
||||
/** Delcare the parameters as function argument list with defaults.
|
||||
/** Declare the parameters as function argument list with defaults.
|
||||
*
|
||||
* \arg \c _src: macro to generate source field. See \ref ParamSrc "here" for
|
||||
* more details
|
||||
@@ -654,7 +654,7 @@
|
||||
#define PARAM_ARGS_(_,_src,_i,_param) \
|
||||
BOOST_PP_COMMA_IF(_i) PARAM_TYPE(_param) _src(_param)
|
||||
|
||||
/** Delcare the parameters as function argument list without defaults.
|
||||
/** Declare the parameters as function argument list without defaults.
|
||||
*
|
||||
* \arg \c _src: macro to generate source field. See \ref ParamSrc "here" for
|
||||
* more details
|
||||
|
||||
@@ -420,7 +420,7 @@ class ObjectOp(object):
|
||||
It also sets the following instance variables that can and should be safely be used by
|
||||
implementation of opExecute():
|
||||
self.model ... List of base objects of the Job itself
|
||||
self.stock ... Stock object fo the Job itself
|
||||
self.stock ... Stock object for the Job itself
|
||||
self.vertFeed ... vertical feed rate of assigned tool
|
||||
self.vertRapid ... vertical rapid rate of assigned tool
|
||||
self.horizFeed ... horizontal feed rate of assigned tool
|
||||
|
||||
Reference in New Issue
Block a user