Skip to content

Commit

Permalink
Fix typos (#61)
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -L abd,cutted,dorder`
  • Loading branch information
luzpaz authored Sep 19, 2024
1 parent 01bed9f commit 5b35a55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
A FreeCAD module that uses Generative Design to calculate and show structural analysis results

### Background
This project was devoloped based on [Rahul](https://github.com/MightyBucket/) Master's thesis and [Ogeday Yavuz](https://github.com/OgedaYY/) Graduation Thesis.
This project was developed based on [Rahul](https://github.com/MightyBucket/) Master's thesis and [Ogeday Yavuz](https://github.com/OgedaYY/) Graduation Thesis.
[František Löffelmann](https://github.com/fandaL)'s [calculix/beso](https://github.com/calculix/beso) topology optimization script was added as a feature recently.
The following process image is taken from [Master Thesis Poster of Rahul Jhuree](https://mightybucket.github.io/misc/FYP_poster.pdf):

Expand Down
4 changes: 2 additions & 2 deletions fembygen/Results.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def calculateFEAMetric(self):
FreeCAD.Console.PrintMessage(f"Generation {i+1} Analysis {j+1} result values imported\n")
except:
FreeCAD.Console.PrintError(
f"During getting result values of Generation {i+1} Analysis {j+1} problem occured. Please check the generation results by opening Gen{i+1} folder in master file directory.\n")
f"During getting result values of Generation {i+1} Analysis {j+1} problem occurred. Please check the generation results by opening Gen{i+1} folder in master file directory.\n")
result.append([None]*6)
else:
FreeCAD.Console.PrintError(f"Generation {i+1} Loadcase {j+1} couldn't imported\n")
Expand Down Expand Up @@ -630,7 +630,7 @@ def plotParetoGraph(self, index):


def normalize(self, vals):
"""Resuls range can be different. So, the function make results between 0~1 to calculate ranking score.
"""Results range can be different. So, the function make results between 0~1 to calculate ranking score.
"""
minVal = np.min(vals)
maxVal = np.max(vals)
Expand Down
2 changes: 1 addition & 1 deletion fembygen/design/pydoe2/doe_factorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def fracfact_opt(n_factors, n_erased, max_attempts=0) :
The design is searched by exhaustive search, with the most "promising"
combinations attempted first. For large designs it might be unfeasible
to attempt all combinations.
Posite values give the number of models to attemps. Zero or negative
Posite values give the number of models to attempts. Zero or negative
values indicate all combinations should be attempted.
Returns
Expand Down

0 comments on commit 5b35a55

Please sign in to comment.