FEM: beam rotation, add some pre checks

This commit is contained in:
Bernd Hahnebach
2018-01-23 06:39:38 +01:00
committed by wmayer
parent 9935150972
commit 223a2b196b

View File

@@ -433,6 +433,11 @@ class FemToolsCcx(QtCore.QRunnable, QtCore.QObject):
message += "Beam sections defined but FEM mesh has volume or shell elements.\n"
if self.mesh.FemMesh.EdgeCount == 0:
message += "Beam sections defined but FEM mesh has no edge elements.\n"
if len(self.beam_rotations) > 1:
message += "Multiple beam rotations in one analysis are not supported at the moment.\n"
# beam rotations
if self.beam_rotations and not self.beam_sections:
message += "Beam rotations in the analysis but no beam sections defined.\n"
# shell thickness
if self.shell_thicknesses:
has_no_references = False