Skip to content

Commit

Permalink
Merge pull request #873 from luzpaz/typo-fixes
Browse files Browse the repository at this point in the history
Typo fixes [skip ci]
  • Loading branch information
yorikvanhavre committed Jul 12, 2017
2 parents a689403 + e3066d1 commit 828793f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Cam/App/Approx.h
Expand Up @@ -115,7 +115,7 @@ class CamExport Approximate : protected Routines
std::vector<double> UnparamZ;

std::vector<int> mapper;
/** @brief List of indicies of the boundary points*/
/** @brief List of indices of the boundary points*/
std::list< std::vector <unsigned long> > BoundariesIndex;
/** @brief List of point-coordinates of the boundary points*/
std::list< std::vector <Base::Vector3f> > BoundariesPoints;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/FemInputWriterCcx.py
Expand Up @@ -915,7 +915,7 @@ def write_constraints_pressure(self, f):
f.write("{},P{},{}\n".format(face, fno, rev * prs_obj.Pressure))
elif fno == 0: # on shell mesh face: fno == 0 --> normal of element face == face normal
f.write("{},P,{}\n".format(face, rev * prs_obj.Pressure))
elif fno == -1: # on shell mesh face: fno == -1 --> normal of element face oposite direction face normal
elif fno == -1: # on shell mesh face: fno == -1 --> normal of element face opposite direction face normal
f.write("{},P,{}\n".format(face, -1 * rev * prs_obj.Pressure))

def write_constraints_temperature(self, f):
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Fem/FemMeshTools.py
Expand Up @@ -559,7 +559,7 @@ def get_pressure_obj_faces(femmesh, femelement_table, femnodes_ele_table, femobj
pressure_faces = get_ccxelement_faces_from_binary_search(bit_pattern_dict)
elif is_face_femmesh(femmesh):
pressure_faces = []
# normaly we should call get_femelements_by_references and the group check should be integrated there
# normally we should call get_femelements_by_references and the group check should be integrated there
if femmesh.GroupCount:
meshfaces = get_femelementface_sets_from_group_data(femmesh, femobj)
# print(meshfaces)
Expand Down Expand Up @@ -1075,7 +1075,7 @@ def get_analysis_group_elements(aAnalysis, aPart):

def get_reference_group_elements(obj, aPart):
''' obj is an FEM object which has reference shapes like the group object, the material, most of the constraints
aPart is geometry feature normaly CompSolid, the method searches all reference shapes of obj inside aPart even if
aPart is geometry feature normally CompSolid, the method searches all reference shapes of obj inside aPart even if
the reference shapes are a totally different geometry feature.
a tuple is returned ('Name or Label of the FEMobject', ['Element1', 'Element2', ...])
The names in the list are the Elements of the geometry aPart whereas 'Solid1' == aPart.Shape.Solids[0]
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/CommandCreateGeo.cpp
Expand Up @@ -1304,7 +1304,7 @@ class DrawSketchHandlerLineSet: public DrawSketchHandler
int previousCurve;
Sketcher::PointPos firstPosId;
Sketcher::PointPos previousPosId;
// the latter stores those constraints that a first point would have been given in abscence of the transition mechanism
// the latter stores those constraints that a first point would have been given in absence of the transition mechanism
std::vector<AutoConstraint> sugConstr1, sugConstr2, virtualsugConstr1;

Base::Vector2d CenterPoint;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/TestSketcherApp.py
Expand Up @@ -158,4 +158,4 @@ def testSlotCase(self):
def tearDown(self):
#closing doc
FreeCAD.closeDocument("SketchSolverTest")
#print ("omit close document for debuging")
#print ("omit close document for debugging")

0 comments on commit 828793f

Please sign in to comment.