Beam
Beam
Class Beam()
Beam(parent='MODEL', name='Beam_n', label='Beam_n', active=True, type='CIRCULAR',
b1=None, b2=None, origin=None, origin2=None, length=0, useautolen=True, E=0, G=0, cratio=0,
OD=0, ID=0, as_=0, p2dim=0, p3dim=0, as2=0, as3=0, area=0, I11=0, I22=0, I33=0,
preload_x=0, preload_y=0, preload_z=0, preload_tx=0, preload_ty=0, preload_tz=0)
Creates a beam.
Keyword Arguments
Argument  Data Type  Description  Default 

name  String  The variable name.  Beam_n, for next available integer n. 
label  String  The descriptive label.  Beam_n, for next available integer n. 
parent  Object  The parent.  MODEL 
active  Boolean  Used to activate or deactivate this entity.  True 
type  Enum  The type. One of CIRCULAR, RECTANGULAR or ARBITRARY.  â€˜CIRCULAR' 
b1  Body  The first body attached to the beam.  None 
b2  Body  The second body attached to the beam.  None 
origin  Point  The point at which body_1 is attached to the beam.  None 
origin2  Point  The point at which body_2 is attached to the beam.  None 
length  Double  The length specifies the undeformed length of the beam when useautolen is False.  0 
useautolen  Bool  Indicates that the undeformed length of the beam is calculated automatically using the end points of the beam.  True 
E  Double  The Young's modulus of elasticity. Defaults to 0. * G (Double)  The shear modulus of elasticity. Defaults to 0. * cratio (Double)  The ratio of the stiffness matrix.  0 
OD  Double  The outer diameter of the polybeam cross section.  0 
ID  Double  The inner diameter of the polybeam cross section.  0 
as  Double  The correction factor for the shear deflection.  0 
p2dim  Double  The length of the side along the Y axis for type RECTANGULAR.  0 
p3dim  Double  The length of the side along the Z axis for type RECTANGULAR.  0 
as2  Double  The correction factor for the shear deflection along the Y axis for type RECTANGULAR.  0 
as3  Double  The correction factor for the shear deflection along the Z axis for type RECTANGULAR.  0 
area  Double  The area of cross section of the beam for type ARBITRARY.  0 
I11  Double  Polar moment of inertia of the beam cross section for type ARBITRARY.  0 
I22  Double  Second moment of inertia of the beam cross section bout the Y axis for type ARBITRARY.  0 
I33  Double  Second moment of inertia of the beam cross section bout the Z axis for type ARBITRARY.  0 
preload_x  Double  The preload force in the beam in the X direction.  0 
preload_y  Double  The preload force in the beam in the Y direction.  0 
preload_z  Double  The preload force in the beam in the Z direction.  0 
preload_tx  Double  The preload torsion in the beam in the X direction.  0 
preload_ty  Double  The preload torsion in the beam in the Y direction.  0 
preload_tz  Double  The preload torsion in the beam in the Z direction.  0 
Instances
Instance  Type  Description 

i  Marker  The marker attached to the first body. 
j  Marker  The marker attached to the second body. 
Notes
1. The parent parameter can only be initialized by the constructor and should not be modified directly.
2. Only parent can be used as a positional argument in the constructor.
3. Instance is a reference to an entity. You cannot modify an instance, but can modify its properties.
Methods
 getAssociatedGraphics()

Get all the graphics that are associated with this object.
Returns:
List of all graphic associated with this body.
Return type:
(list)
Beam Pair
Class BeamPair()
BeamPair(parent='MODEL', name='VectorPair_n', label='VectorPair_n', active=True, sym='NONE')
Beam pair containing left and right instances of singles.
Keyword Arguments
Argument  Data Type  Description  Default 

name  String  The variable name.  BeamPair_n, for next available integer n. 
label  String  The descriptive label.  BeamPair_n, for next available integer n. 
parent  Object  The parent.  MODEL 
active  Bool  Defines if entity is activated when True or deactivated when False.  True 
sym  Enum  The symmetry of pair entity. Takes values 'LEFT' for left entity as master, 'RIGHT' for right entity as master or 'NONE' when it is not symmetric.  NONE 
Instances
Instance  Type  Description 

l  Beam  The left Beam. 
r  Beam  The right Beam. 
Notes
Instance is a reference to an entity. You cannot modify an instance, but can modify its properties.