FEM: typos

[skip ci]
This commit is contained in:
luz.paz
2018-01-25 10:50:43 -05:00
committed by wmayer
parent f24ebb8857
commit 9566ca2198
2 changed files with 4 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ bool ViewProviderFemConstraintTransform::setEdit(int ModNum)
#define RADIUSAXIS (0.8)
#define ARROWLENGTH (3)
#define ARROWHEADRADIUS (ARROWLENGTH/3)
#define LENGHTDISC (0.25)
#define LENGTHDISC (0.25)
#define RADIUSDISC (0.8)
void ViewProviderFemConstraintTransform::updateData(const App::Property* prop)

View File

@@ -1330,19 +1330,19 @@ def get_ccx_elset_name_standard(names):
if len(ccx_elset_name) < 81:
return ccx_elset_name
else:
error = 'FEM: Touble in ccx input file, because a elset name is longer than 80 character!' + ' ' + ccx_elset_name + '\n'
error = 'FEM: Trouble in ccx input file, because an elset name is longer than 80 character!' + ' ' + ccx_elset_name + '\n'
raise Exception(error)
def get_ccx_elset_name_short(names):
# restricted max lenght = 20 (beam elsets)
# restricted max length = 20 (beam elsets)
ccx_elset_name = ''
for name in names:
ccx_elset_name += name['short']
if len(ccx_elset_name) < 21:
return ccx_elset_name
else:
error = 'FEM: Touble in ccx input file, because a beam elset name is longer than 20 character!' + ' ' + ccx_elset_name + '\n'
error = 'FEM: Trouble in ccx input file, because a beam elset name is longer than 20 character!' + ' ' + ccx_elset_name + '\n'
raise Exception(error)