Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
  • Loading branch information
yorikvanhavre committed Mar 26, 2021
2 parents 9b2dc76 + a25a220 commit d25eeae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -92,7 +92,7 @@ def setup(doc=None, solvertype="elmer"):
)[0]
eq_obj = ObjectsFem.makeEquationElasticity(doc, solver_object)
eq_obj.LinearSolverType = "Direct"
# direct solver was used in the turorial, thus used here too
# direct solver was used in the tutorial, thus used here too
# the iterative is much faster and gives the same results
eq_obj.DoFrequencyAnalysis = True
eq_obj.CalculateStresses = True
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femtaskpanels/task_material_common.py
Expand Up @@ -278,7 +278,7 @@ def choose_material(self, index):
return
self.card_path = self.parameterWidget.cb_materials.itemData(index) # returns whole path
FreeCAD.Console.PrintMessage(
"Material card choosen:\n"
"Material card chosen:\n"
" {}\n".format(self.card_path)
)
self.material = self.materials[self.card_path]
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/PartDesign/App/FeatureHole.cpp
Expand Up @@ -551,7 +551,7 @@ const char* Hole::ThreadClass_ISOmetricfine_Enums[] = { "4G", "4H", "5G", "5H",

// ISO 965-1:2013 ISO general purpose metric screw threads - Tolerances - Part 1
// Table 1 - Fundamentral deviations for internal threads ...
// reproduced in: https://www.accu.co.uk/en/p/134-iso-metric-thread-tolerances [retrived: 2021-01-11]
// reproduced in: https://www.accu.co.uk/en/p/134-iso-metric-thread-tolerances [retrieved: 2021-01-11]
const double Hole::ThreadClass_ISOmetric_data[ThreadClass_ISOmetric_data_size][2] = {
// Pitch G
{0.2, 0.017},
Expand Down Expand Up @@ -939,7 +939,7 @@ double Hole::getThreadClassClearance()
{
double pitch = getThreadPitch();

// Calulate how much clearance to add based on Thread tolerance class and pitch
// Calculate how much clearance to add based on Thread tolerance class and pitch
if (ThreadClass.getValueAsString()[1] == 'G') {
for(unsigned int i=0; i<ThreadClass_ISOmetric_data_size; i++) {
double p = ThreadClass_ISOmetric_data[i][0];
Expand Down

0 comments on commit d25eeae

Please sign in to comment.