pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran::bdf::bdfInterface::bdf_cardMethods Namespace Reference

Classes

class  CardMethods

Functions

def parse_csv
def make_single_streamed_card
 takes a card that has been split b/c it's a multiline card and gets rid of the required blanks in it.
def nastran_split
 Splits a single BDF line into large field or small field format.
def interpretValue
 converts a value from nastran format into python format.
def stringParser
 not used

Function Documentation

def pyNastran.bdf.bdfInterface.bdf_cardMethods.make_single_streamed_card (   log,
  card,
  debug = False 
)

takes a card that has been split b/c it's a multiline card and gets rid of the required blanks in it.

Definition at line 483 of file bdf_cardMethods.py.

References nastran_split().

Referenced by parse_csv().

def pyNastran.bdf.bdfInterface.bdf_cardMethods.nastran_split (   log,
  line,
  isLargeField,
  debug = False 
)

Splits a single BDF line into large field or small field format.

Parameters:
selfthe object pointer
linethe BDF line
aflag indicating small/large field format (True/False)
debugextra developer debug
Return values:
fieldsthe 9 (small) or 5 (large) fields for the line
Note:
CSV Format is handled by parse_csv
tabs are handled prior to running this

Definition at line 512 of file bdf_cardMethods.py.

References interpretValue().

Referenced by make_single_streamed_card(), and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().

def pyNastran.bdf.bdfInterface.bdf_cardMethods.interpretValue (   valueRaw,
  card = '',
  debug = False 
)

converts a value from nastran format into python format.

Definition at line 540 of file bdf_cardMethods.py.

References stringParser().

Referenced by nastran_split().

not used

Definition at line 640 of file bdf_cardMethods.py.

Referenced by interpretValue().

 All Classes Namespaces Files Functions Variables