pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran::bdf::cards::coordinateSystems Namespace Reference

Classes

class  Coord
class  RectangularCoord
class  CylindricalCoord
 

\[ r = \sqrt(x^2+y^2) \]

\[ \theta = tan^-1(\frac{y}{x}) \]

\[ z = z \]

More...
class  SphericalCoord
 

\[ r = \rho = \sqrt(x^2+y^2+z^2) \]

\[ \theta = tan^-1(\frac{y}{x}) \]

\[ \phi = cos^-1(\frac{z}{r}) \]

More...
class  Cord2x
class  Cord1x
class  CORD3G
 Defines a general coordinate system using three rotational angles as functions of coordinate values in the reference coordinate system. More...
class  CORD1R
class  CORD1C
class  CORD1S
class  CORD2R
class  CORD2S
class  CORD2C

Functions

def __init__
 Intilizes the CORD3G.
def crossReference
def CidRef
def transformToGlobal
def RotationX
def RotationY
def RotationZ
def rawFields

Variables

string type = 'CORD3G'
 cid
 methodES
 methodInt
 form
 thetas
 cidRef

Function Documentation

def pyNastran.bdf.cards.coordinateSystems.__init__ (   self,
  card = [0,
  data = None 
)

Intilizes the CORD3G.

Parameters:
selfthe object pointer
carda list version of the fields

Definition at line 624 of file coordinateSystems.py.

Referenced by RotationY(), and pyNastran.bdf.cards.coordinateSystems.SphericalCoord.XYZtoCoord().

Definition at line 644 of file coordinateSystems.py.

Definition at line 647 of file coordinateSystems.py.

References RotationX(), and RotationY().

def pyNastran.bdf.cards.coordinateSystems.transformToGlobal (   self,
  p,
  debug = False 
)
Warning:
not done, just setting up how you'd do this
Note:
per http://en.wikipedia.org/wiki/Euler_angles "This means for example that a convention named (YXZ) is the result of performing first an intrinsic Z rotation, followed by X and Y rotations, in the moving axes (Note: the order of multiplication of matrices is the opposite of the order in which they're applied to a vector)."

Definition at line 662 of file coordinateSystems.py.

References rawFields(), and RotationZ().

def pyNastran.bdf.cards.coordinateSystems.RotationX (   self,
  ct,
  st 
)

Definition at line 671 of file coordinateSystems.py.

Referenced by CidRef().

def pyNastran.bdf.cards.coordinateSystems.RotationY (   self,
  ct,
  st 
)

Definition at line 677 of file coordinateSystems.py.

References __init__().

Referenced by CidRef().

def pyNastran.bdf.cards.coordinateSystems.RotationZ (   self,
  ct,
  st 
)

Definition at line 683 of file coordinateSystems.py.

Referenced by transformToGlobal().

Definition at line 689 of file coordinateSystems.py.

Referenced by transformToGlobal().


Variable Documentation

 All Classes Namespaces Files Functions Variables