pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran.op2.writer.op2Writer.Op2Writer Class Reference
Inheritance diagram for pyNastran.op2.writer.op2Writer.Op2Writer:
pyNastran.op2.writer.ougWriter.Ougv1Writer pyNastran.op2.writer.oesWriter.Oes1Writer

List of all members.

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

Detailed Description

Definition at line 29 of file op2Writer.py.


Member Function Documentation

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().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables