pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
Public Member Functions | |
def | __init__ |
def | update_card_lines |
expands a card with tabs in it | |
def | isLargeField |
returns True if the card is in 16-character width fields | |
def | processCard |
takes a list of strings and returns a list with the proper value in the fields of the list | |
def | expandTabCommas |
The only valid tab/commas format in nastran is having the first field be a tab and the rest of the fields be separated by commas. | |
def | parseDynamicSyntax |
Applies the dynamic syntax for varName. | |
def | getValue |
converts a value from nastran format into python format. | |
Public Attributes | |
nCardLinesMax | |
doneReading |
Definition at line 30 of file bdf_cardMethods.py.
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.__init__ | ( | self, | |
nCardLinesMax = 1000 |
|||
) |
Definition at line 31 of file bdf_cardMethods.py.
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.update_card_lines | ( | self, | |
lines | |||
) |
expands a card with tabs in it
Definition at line 55 of file bdf_cardMethods.py.
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.isLargeField | ( | self, | |
card | |||
) |
returns True if the card is in 16-character width fields
Definition at line 222 of file bdf_cardMethods.py.
References pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().
Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard | ( | self, | |
tempcard, | |||
debug = False |
|||
) |
takes a list of strings and returns a list with the proper value in the fields of the list
Definition at line 235 of file bdf_cardMethods.py.
References pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.expandTabCommas(), pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.getValue(), pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.isLargeField(), pyNastran.bdf.bdfInterface.bdf_Reader.BDFReader.log, pyNastran.converters.panair.panairGridPatch.PanairPatch.log, pyNastran.bdf.caseControlDeck.CaseControlDeck.log, pyNastran.converters.panair.panairGrid.PanairGrid.log, pyNastran.converters.cart3d.cart3d_reader.Cart3DAsciiReader.log, pyNastran.op2.resultObjects.op2_Objects.scalarObject.log, pyNastran.f06.f06.F06.log, pyNastran.converters.panair.panairGridPatch.PanairWakePatch.log, pyNastran.converters.cart3d.cart3d_reader.Cart3DBinaryReader.log, pyNastran::bdf::bdfInterface::bdf_cardMethods.nastran_split(), and pyNastran::bdf::bdfInterface::bdf_cardMethods.parse_csv().
Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.isLargeField().
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.expandTabCommas | ( | self, | |
line | |||
) |
The only valid tab/commas format in nastran is having the first field be a tab and the rest of the fields be separated by commas.
self | the object pointer |
line | a BDF line |
Definition at line 305 of file bdf_cardMethods.py.
References pyNastran.bdf.bdf.BDF.dictOfVars, and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().
Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().
Applies the dynamic syntax for varName.
self | the object pointer |
key | the uppercased key |
value | the dynamic value defined by dictOfVars |
Definition at line 341 of file bdf_cardMethods.py.
References pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.getValue(), pyNastran.bdf.bdf.BDF.isDynamicSyntax, and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().
Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.expandTabCommas(), and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().
def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.getValue | ( | self, | |
valueRaw, | |||
card, | |||
debug = False |
|||
) |
converts a value from nastran format into python format.
Definition at line 351 of file bdf_cardMethods.py.
References pyNastran::bdf::bdfInterface::bdf_cardMethods.parse_csv().
Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax(), and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().
Definition at line 31 of file bdf_cardMethods.py.
Definition at line 72 of file bdf_cardMethods.py.