FEM: shell thickness and elment geometry 2D object, make name fit in FEM name system
This commit is contained in:
committed by
Yorik van Havre
parent
977fd8995e
commit
34ad6af337
@@ -408,7 +408,7 @@ def get_elset_short_name(obj, i):
|
||||
return 'Beam' + str(i)
|
||||
elif hasattr(obj, "Proxy") and obj.Proxy.Type == 'FemFluidSection':
|
||||
return 'Fluid' + str(i)
|
||||
elif hasattr(obj, "Proxy") and obj.Proxy.Type == 'FemShellThickness':
|
||||
elif hasattr(obj, "Proxy") and obj.Proxy.Type == 'FemElementGeometry2D':
|
||||
return 'Shell' + str(i)
|
||||
else:
|
||||
print('Error: ', obj.Name, ' --> ', obj.Proxy.Type)
|
||||
@@ -1030,7 +1030,7 @@ def get_analysis_group_elements(aAnalysis, aPart):
|
||||
else:
|
||||
FreeCAD.Console.PrintError('Problem: more than one object with empty references.\n')
|
||||
print('We gone try to get the empty material references anyway.\n')
|
||||
# ShellThickness, ElementGeometry1D and FluidSection could have empty references, but on solid meshes only materials should have empty references
|
||||
# FemElementGeometry2D, ElementGeometry1D and FluidSection could have empty references, but on solid meshes only materials should have empty references
|
||||
for er in empty_references:
|
||||
print(er.Name)
|
||||
group_elements = get_anlysis_empty_references_group_elements(group_elements, aAnalysis, aPart.Shape)
|
||||
|
||||
Reference in New Issue
Block a user