pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
Public Member Functions | |
def | pack |
def | writeStart |
def | writeOp2 |
def | printHeader |
def | writeStringBlock |
'OUG' - 1 word = 4 characters 'OUGV' - 1 word = 4 characters 'OUGV1' - 2 words = 8 characters '12345678' - 2 words = 8 characters nWords = round(ceil(len(word)/4.)) nChars = nWords*4 != len(word) just set nChars and dont overthink it too much | |
def | packTitle |
def | writeMarkers |
takes -5,1,0 -> [4,5,4, 4,1,4, 4,0,4] and puts it into binary | |
def | combineApproachDeviceCodes |
def | combineTableSortCodes |
def | aCode_tCode |
Public Attributes | |
deviceCode | |
iTable |
Definition at line 29 of file op2Writer.py.
def pyNastran.op2.writer.op2Writer.Op2Writer.pack | ( | self, | |
format, | |||
vals | |||
) |
Definition at line 31 of file op2Writer.py.
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.packTitle(), pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeStringBlock().
Definition at line 34 of file op2Writer.py.
References pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeStringBlock().
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.writeOp2().
def pyNastran.op2.writer.op2Writer.Op2Writer.writeOp2 | ( | self, | |
op2Name | |||
) |
Definition at line 39 of file op2Writer.py.
References pyNastran.op2.writer.oesWriter.Oes1Writer.writeOES1(), pyNastran.op2.writer.ougWriter.Ougv1Writer.writeOUGV1(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeStart().
def pyNastran.op2.writer.op2Writer.Op2Writer.printHeader | ( | word, | |
nChars | |||
) |
Definition at line 57 of file op2Writer.py.
Referenced by pyNastran.op2.writer.oesWriter.Oes1Writer.writeOES1().
def pyNastran.op2.writer.op2Writer.Op2Writer.writeStringBlock | ( | self, | |
word, | |||
nChars | |||
) |
'OUG' - 1 word = 4 characters 'OUGV' - 1 word = 4 characters 'OUGV1' - 2 words = 8 characters '12345678' - 2 words = 8 characters nWords = round(ceil(len(word)/4.)) nChars = nWords*4 != len(word) just set nChars and dont overthink it too much
Definition at line 81 of file op2Writer.py.
References pyNastran.op2.writer.op2Writer.Op2Writer.pack(), pyNastran.op2.writer.op2Writer.Op2Writer.packTitle(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers().
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.writeStart().
def pyNastran.op2.writer.op2Writer.Op2Writer.packTitle | ( | iSubcase | ) |
Definition at line 92 of file op2Writer.py.
References pyNastran.converters.LaWGS.wgsIO.LaWGS_IO.iSubcaseNameMap, pyNastran.converters.panair.panairIO.PanairIO.iSubcaseNameMap, pyNastran.converters.cart3d.cart3dIO.Cart3dIO.iSubcaseNameMap, pyNastran.op2.op2.OP2.iSubcaseNameMap, pyNastran.f06.f06.F06.iSubcaseNameMap, pyNastran.gui.nastranIO.NastranIO.iSubcaseNameMap, pyNastran.op2.writer.op2Writer.Op2Writer.pack(), pyNastran.op2.op2.OP2.Title, pyNastran.f06.f06Writer.F06Writer.Title, pyNastran.f06.matlabWriter.MatlabWriter.Title, pyNastran.f06.f06.F06.Title, and pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers().
Referenced by pyNastran.op2.writer.ougWriter.Ougv1Writer.writeOUG_displacements(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeStringBlock().
def pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers | ( | markers | ) |
takes -5,1,0 -> [4,5,4, 4,1,4, 4,0,4] and puts it into binary
Definition at line 104 of file op2Writer.py.
References pyNastran.op2.writer.op2Writer.Op2Writer.combineApproachDeviceCodes(), pyNastran.op2.writer.op2Writer.Op2Writer.deviceCode, pyNastran.op2.op2Codes.Op2Codes.deviceCode, pyNastran.op2.op2.OP2.deviceCode, and pyNastran.op2.writer.op2Writer.Op2Writer.pack().
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.packTitle(), pyNastran.op2.writer.oesWriter.Oes1Writer.writeOES1(), pyNastran.op2.writer.ougWriter.Ougv1Writer.writeOUG_displacements(), pyNastran.op2.writer.op2Writer.Op2Writer.writeStart(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeStringBlock().
def pyNastran.op2.writer.op2Writer.Op2Writer.combineApproachDeviceCodes | ( | self, | |
approachCode | |||
) |
Definition at line 111 of file op2Writer.py.
References pyNastran.op2.writer.op2Writer.Op2Writer.combineTableSortCodes().
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.combineTableSortCodes(), and pyNastran.op2.writer.op2Writer.Op2Writer.writeMarkers().
def pyNastran.op2.writer.op2Writer.Op2Writer.combineTableSortCodes | ( | self, | |
tableCode, | |||
sortCode | |||
) |
Definition at line 115 of file op2Writer.py.
References pyNastran.op2.writer.op2Writer.Op2Writer.aCode_tCode(), and pyNastran.op2.writer.op2Writer.Op2Writer.combineApproachDeviceCodes().
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.combineApproachDeviceCodes().
def pyNastran.op2.writer.op2Writer.Op2Writer.aCode_tCode | ( | approachCode, | |
tableCode, | |||
sortCode | |||
) |
Definition at line 119 of file op2Writer.py.
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer.combineTableSortCodes(), and pyNastran.op2.writer.ougWriter.Ougv1Writer.writeOUG_displacements().
Reimplemented from pyNastran.op2.writer.ougWriter.Ougv1Writer.
Definition at line 57 of file op2Writer.py.
Referenced by pyNastran.op2.writer.op2Writer.Op2Writer::writeMarkers(), and pyNastran.op2.writer.ougWriter.Ougv1Writer::writeOUG_displacements().
Reimplemented from pyNastran.op2.writer.ougWriter.Ougv1Writer.
Definition at line 58 of file op2Writer.py.
Referenced by pyNastran.op2.tables.geom.geometryTables.GeometryTables.readTable_PCOMPTS(), and pyNastran.op2.writer.oesWriter.Oes1Writer.writeOES1().