FEM: code formating, flake8
This commit is contained in:
@@ -1019,7 +1019,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
||||
f.write('** Outputs --> frd file\n')
|
||||
f.write('** written by {} function\n'.format(sys._getframe().f_code.co_name))
|
||||
if self.beamsection_objects or self.shellthickness_objects or self.fluidsection_objects:
|
||||
if self.solver_obj.BeamShellResultOutput3D == False:
|
||||
if self.solver_obj.BeamShellResultOutput3D is False:
|
||||
f.write('*NODE FILE, OUTPUT=2d\n')
|
||||
else:
|
||||
f.write('*NODE FILE, OUTPUT=3d\n')
|
||||
|
||||
@@ -143,7 +143,7 @@ class _FemSolverCalculix():
|
||||
obj.MatrixSolverType = known_ccx_solver_types
|
||||
solver_type = ccx_prefs.GetInt("Solver", 0)
|
||||
obj.MatrixSolverType = known_ccx_solver_types[solver_type]
|
||||
|
||||
|
||||
obj.addProperty("App::PropertyBool", "BeamShellResultOutput3D", "Fem", "Output 3D results for 1D and 2D anlysis ")
|
||||
dimout = ccx_prefs.GetBool("BeamShellOutput", False)
|
||||
obj.BeamShellResultOutput3D = dimout
|
||||
|
||||
Reference in New Issue
Block a user