Package mbdyn :: Package elts :: Module joint :: Class Distance
[hide private]

Class Distance

source code

record.RecordBase --+                        
                    |                        
        record.Record --+                    
                        |                    
       common.BasicObject --+                
                            |                
  elements_base.CommonElement --+            
                                |            
    elements_base.ElementWithNode --+        
                                    |        
                          CommonJoint --+    
                                        |    
                        CommonJoint2Nodes --+
                                            |
                                           Distance

Set a distance between two nodes. There is no constraint on the nodes orientation matrix.

Instance Methods [hide private]
 
__init__(self, name='Distance joint') source code
 
set_constant_distance(self, value, com=None)
Set the constant distance between the two nodes
source code

Inherited from CommonJoint2Nodes: attach_to_node, set_node1, set_node2, set_node_label

Inherited from CommonJoint: get_mbdyn_instance

Inherited from elements_base.ElementWithNode: set_relative_from

Inherited from elements_base.CommonElement: do_as_init, set_default, update

Inherited from common.BasicObject: get_lines, set_comment, set_label, set_name, set_simulation_ref

Inherited from record.Record: common_init_results, init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from record.RecordBase: collect_own_parameters, collect_parameters, set_own_para, set_parameters

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self, name='Distance joint')
(Constructor)

source code 
Overrides: CommonJoint2Nodes.__init__