Class Coincidence
source code
A joint that makes two nodes clamped to each other. This joints does 
  not exist in MBDyn but is based on the Python interface.
  This joint combines of a SphericalHinge and Prismatic. 
  The SphericalHinge constraints the motion of the two joints 
  but allow rotations. The Prismatic however constraints the orientation matrix of 
  the two nodes, both have to stay the same which suppress the rotation. 
  Example making two nodes clamped:
   ref = ReferenceFrame()
   ref.set_position(10., 0., 0.)
   
   node1 = StructuralNode()
   node2 = StructuralNode()
   node2.set_relative_from(ref)
   joint = Coincidence()
   joint.set_relative_from(ref)
   joint.set_node1(node1)
   joint.set_node2(node2)
  Both joints can be accessed by the attributes: 
  spherical_hinge and prismatic.
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          set_default(self) 
      Set the default for the two joints | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          set_relative_from(self,
        ref) 
      Set the reference frame for the two joints | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          set_node1(self,
        node1) 
      Set the node 1 for the two joints | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          set_node2(self,
        node2) 
      Set the node 2 for the two joints | 
          
            source code
            
           | 
         
       
      
     |