Misc. typos
This commit is contained in:
@@ -708,7 +708,7 @@ class _CommandFemSolverZ88(CommandManager):
|
||||
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject(ObjectsFem.makeSolverZ88(FreeCAD.ActiveDocument))")
|
||||
|
||||
|
||||
# the sting in add command will be the page name on FreeCAD wiki
|
||||
# the string in add command will be the page name on FreeCAD wiki
|
||||
FreeCADGui.addCommand('FEM_Analysis', _CommandFemAnalysis())
|
||||
FreeCADGui.addCommand('FEM_ConstraintBodyHeatSource', _CommandFemConstraintBodyHeatSource())
|
||||
FreeCADGui.addCommand('FEM_ConstraintElectrostaticPotential', _CommandFemConstraintElectrostaticPotential())
|
||||
|
||||
@@ -114,7 +114,7 @@ def import_z88_disp(filename, analysis=None, result_name_prefix=None):
|
||||
def read_z88_disp(z88_disp_input):
|
||||
'''
|
||||
read a z88 disp file and extract the nodes and elements
|
||||
z88 Displacment output file is z88o2.txt
|
||||
z88 Displacement output file is z88o2.txt
|
||||
works with Z88OS14
|
||||
'''
|
||||
nodes = {}
|
||||
|
||||
@@ -96,7 +96,8 @@ def compare_files(file_name1, file_name2):
|
||||
file1 = open(file_name1, 'r')
|
||||
f1 = file1.readlines()
|
||||
file1.close()
|
||||
# workaraound for compare geos of elmer test and temporary file path (not only names change, path changes with operating system)
|
||||
# workaround to compare geos of elmer test and temporary file path
|
||||
# (not only names change, path changes with operating system)
|
||||
lf1 = [l for l in f1 if not (l.startswith('Merge "') or l.startswith('Save "') or l.startswith('// '))]
|
||||
lf1 = force_unix_line_ends(lf1)
|
||||
file2 = open(file_name2, 'r')
|
||||
|
||||
Reference in New Issue
Block a user