FEM: Warn user about not implemented Loads/Supports

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt 2015-03-19 20:12:05 +00:00 committed by wmayer
parent 0ed9b18367
commit e0ed154996

View File

@ -395,10 +395,12 @@ class _JobControlTaskPanel:
elif fo.ShapeType == 'Edge':
FixedObjectType = 'LineSupport'
print 'Line Supports are not yet implemented to export to CalculiX'
self.femConsoleMessage("Line Supports are not yet implemented to export to CalculiX", "#FF0000")
# getNodesByEdge(fo) # not implemented yet
elif fo.ShapeType == 'Vertex':
FixedObjectType = 'PointSupport'
print 'Point Supports are not yet implemented to export to CalculiX'
self.femConsoleMessage("Point Supports are not yet implemented to export to CalculiX", "#FF0000")
# write load node set
NodeSetNameForce = ForceObject.Name
@ -417,10 +419,12 @@ class _JobControlTaskPanel:
elif fo.ShapeType == 'Edge':
ForceObjectType = 'LineLoad'
print 'Line Loads are not yet implemented to export to CalculiX'
self.femConsoleMessage("Line Loads are not yet implemented to export to CalculiX", "#FF0000")
# getNodesByEdge(fo) # not implemented yet
elif fo.ShapeType == 'Vertex':
ForceObjectType = 'PointLoad'
print 'Point Loads are not yet implemented to export to CalculiX'
self.femConsoleMessage("Point Loads are not yet implemented to export to CalculiX", "#FF0000")
# get material properties
YM = FreeCAD.Units.Quantity(MathObject.Material['Mechanical_youngsmodulus'])