Przemo Firszt
0b7c02850e
FEM: Use local variable to avoid long strings in write_materials
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:05 +02:00
Przemo Firszt
5bf115ddba
FEM: Use local variable to avoid long strings in write_load_node_sets
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:48 +02:00
Przemo Firszt
39fd6d9217
FEM: Material name has to be limited to 80 characters for ccx
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:30 +02:00
Przemo Firszt
27e43f6939
FEM: Use local variable to avoid long strings in write_fixed_node_sets
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:14 +02:00
Przemo Firszt
d7ae64fb45
FEM: Use local variable to avoid long strings in write_material_element_sets
...
print material_object['Object'].Name, ': ', material_object['Object'].Material['Name']
becomes this:
print mat_obj_name, ': ', mat_name
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:28:57 +02:00
Przemo Firszt
a99a897ae8
FEM: Rename variables f->elem, inpfile->f
...
The reason behind that change is that auxiliary variables,
like a file handle, should not be too visible. inpfile was
a good description, but we're handling only one file and there
is no need to use a descriptive variable name for it in every function.
It's enough that is used in write_calculix_input_file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:28:39 +02:00
Przemo Firszt
f5874a74e4
FEM: Split inp write_calculix_input_file into functions
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:19 +02:00
Przemo Firszt
30a69a5797
FEM: Make sure Young's modulus is written in MPa
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:18 +02:00
Przemo Firszt
7036d46bf2
FEM: ccxInpWriter shouldn't do any validation or guessing
...
Also, there is no need to print material parameters to the console.
User can see that info in dialog box, in .inp file and it's also printed
to console after material has been set.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:17 +02:00
Przemo Firszt
ed8267643b
FEM: Cleaning ccxInpWriter
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:15 +02:00
Przemo Firszt
cd4e71eadd
FEM: Typo/white space fix
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:12 +02:00
Przemo Firszt
d6b2ae8096
FEM: Move .inp writer to InpWriter.py file
...
Suggested by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-27 21:33:10 +02:00