FEM: writer base, change print from error to warning
This commit is contained in:
@@ -101,15 +101,15 @@ class FemInputWriter():
|
||||
elif hasattr(self.mesh_object, "Part"):
|
||||
self.theshape = self.mesh_object.Part
|
||||
else:
|
||||
FreeCAD.Console.PrintError(
|
||||
FreeCAD.Console.PrintWarning(
|
||||
"A finite mesh without a link to a Shape was given. "
|
||||
"Happen on pure mesh objects. Some methods might be broken.\n"
|
||||
"Happen on pure mesh objects. Not all methods do work without this link.\n"
|
||||
)
|
||||
self.femmesh = self.mesh_object.FemMesh
|
||||
else:
|
||||
FreeCAD.Console.PrintError(
|
||||
FreeCAD.Console.PrintWarning(
|
||||
"No finite element mesh object was given to the writer class. "
|
||||
"In rare cases this might not be an error. Some methods might be broken.\n"
|
||||
"In rare cases this might not be an error. Not all methods do work without this link.\n"
|
||||
)
|
||||
self.femnodes_mesh = {}
|
||||
self.femelement_table = {}
|
||||
|
||||
Reference in New Issue
Block a user