From 3867e41f4215a9c2ee455868f82114a32215c4fd Mon Sep 17 00:00:00 2001 From: luz paz Date: Wed, 4 Aug 2021 07:26:26 -0400 Subject: [PATCH] Fix trivial typos --- src/Mod/Assembly/App/opendcm/core/property.hpp | 2 +- src/Mod/Fem/femcommands/commands.py | 2 +- src/Mod/Fem/feminout/exportNastranMesh.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Assembly/App/opendcm/core/property.hpp b/src/Mod/Assembly/App/opendcm/core/property.hpp index b0d9b35c7b..62dafc99a1 100644 --- a/src/Mod/Assembly/App/opendcm/core/property.hpp +++ b/src/Mod/Assembly/App/opendcm/core/property.hpp @@ -110,7 +110,7 @@ namespace dcm { * @{ */ /** - * @brief Exeption for property errors + * @brief Exception for property errors * * This exception is thrown when a property related error is detected, for example if a objects is ask for a * property which it does not own. This exceptions own the error-code range from 300-399. diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 5eb4472dc4..782fffc61f 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -119,7 +119,7 @@ class _ClippingPlaneAdd(CommandManager): class _ClippingPlaneRemoveAll(CommandManager): - "The FEM_ClippingPlaneemoveAll command definition" + "The FEM_ClippingPlaneRemoveAll command definition" def __init__(self): super(_ClippingPlaneRemoveAll, self).__init__() diff --git a/src/Mod/Fem/feminout/exportNastranMesh.py b/src/Mod/Fem/feminout/exportNastranMesh.py index 2da80c520e..ef1eb35450 100644 --- a/src/Mod/Fem/feminout/exportNastranMesh.py +++ b/src/Mod/Fem/feminout/exportNastranMesh.py @@ -91,7 +91,7 @@ def write( mesh_pynas_code += missing_code_pnynasmesh # pynas file - basefilename = filename[:len(filename) - 4] # TODO basename is more failsave + basefilename = filename[:len(filename) - 4] # TODO basename is more failsafe pynasf = open(basefilename + ".py", "w") pynasf.write("# written by FreeCAD\n\n\n") pynasf.write("from pyNastran.bdf.bdf import BDF\n")