human
I am working on the file "Devel/V05/Frame2D_Output.ipynb".
The first task is:
Support Displacements
Can you write Python code for it?
 What is a the Python code you requested?
assistant
#Here is the Python code you requested.

@extend    
class Frame2D:
    
    def list_support_displacements(self):
        ans = []
        dirns = ['DX','DY','RZ']
        for loadid,node,nload in self.nodedeltas:
            for i in [0,1,2]:
                if nload[i]:
                    ans.append((loadid,node.id,dirns[i],nload[i]))
        return ans        

##test:
f.list_support_displacements()

##test:
f.write_table('support_displacements','test-1')
%cat test-1.d/support_displacements.csv