pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
Public Member Functions | |
def | __init__ |
def | Add |
bad name, but adds an SPCADD or MPCADD | |
def | append |
def | crossReference |
def | createConstraintsForID |
This function returns all the constraints with an given constraint ID. | |
def | remapSPCs |
not really done yet | |
def | ConstraintID |
def | getConstraintIDs |
def | __repr__ |
Public Attributes | |
constraints | |
self.addConstraints = addConstraints2 | |
addConstraints |
Definition at line 33 of file constraints.py.
Definition at line 34 of file constraints.py.
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.__repr__().
def pyNastran.bdf.cards.constraints.constraintObject2.Add | ( | self, | |
ADD_Constraint | |||
) |
bad name, but adds an SPCADD or MPCADD
Definition at line 40 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.addConstraints, and pyNastran.bdf.cards.constraints.constraintObject2.append().
def pyNastran.bdf.cards.constraints.constraintObject2.append | ( | self, | |
constraint | |||
) |
Definition at line 49 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.addConstraints, pyNastran.bdf.cards.constraints.constraintObject2.constraints, and pyNastran.bdf.cards.constraints.constraintObject2.crossReference().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.Add(), pyNastran.bdf.cards.constraints.constraintObject2.crossReference(), and pyNastran.bdf.cards.constraints.constraintObject2.remapSPCs().
def pyNastran.bdf.cards.constraints.constraintObject2.crossReference | ( | self, | |
model | |||
) |
Definition at line 65 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2._spc(), pyNastran.bdf.cards.constraints.constraintObject2.addConstraints, pyNastran.bdf.cards.constraints.constraintObject2.append(), pyNastran.bdf.cards.constraints.constraintObject2.constraints, and pyNastran.bdf.cards.constraints.constraintObject2.createConstraintsForID().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.append(), pyNastran.bdf.bdf.BDF.readBDF(), and pyNastran.bdf.bdf.BDF.readBDF_Punch().
This function returns all the constraints with an given constraint ID.
For example an MPCADD that references 2 MPCADDs which reference 4 MPCs should return 4 MPCs (or rather the IDs of those MPCs).
not really done yet, idea needs to be integrated/separated from cross-referencing. no point in doing it twice
Definition at line 95 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.remapSPCs().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.crossReference().
def pyNastran.bdf.cards.constraints.constraintObject2.remapSPCs | ( | self, | |
constraints | |||
) |
not really done yet
Definition at line 119 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.append(), pyNastran.bdf.cards.constraints.SUPORT1.conid, pyNastran.bdf.cards.constraints.MPC.conid, pyNastran.bdf.cards.constraints.SPC.conid, pyNastran.bdf.cards.constraints.SPCAX.conid, pyNastran.bdf.cards.constraints.SPC1.conid, pyNastran.bdf.cards.constraints.SPCADD.conid, pyNastran.bdf.cards.constraints.MPCADD.conid, and pyNastran.bdf.cards.constraints.constraintObject2.ConstraintID().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.createConstraintsForID().
Definition at line 137 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.getConstraintIDs().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.remapSPCs().
Definition at line 142 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.__repr__().
Referenced by pyNastran.bdf.cards.constraints.constraintObject2.ConstraintID().
Definition at line 157 of file constraints.py.
References pyNastran.bdf.cards.constraints.constraintObject2.__init__(), and pyNastran.bdf.cards.constraints.constraintObject2.constraints.
Referenced by pyNastran.bdf.cards.elements.bars.CROD.displacementStress(), pyNastran.bdf.cards.constraints.constraintObject2.getConstraintIDs(), and pyNastran.bdf.cards.elements.bars.CBAR.Stiffness().
self.addConstraints = addConstraints2
Definition at line 34 of file constraints.py.
Referenced by pyNastran.bdf.cards.constraints.constraintObject2::__repr__(), pyNastran.bdf.cards.constraints.constraintObject::add(), pyNastran.bdf.cards.constraints.constraintObject2::append(), pyNastran.bdf.cards.constraints.constraintObject::append(), pyNastran.bdf.cards.constraints.constraintObject2::crossReference(), pyNastran.bdf.cards.constraints.SPC::crossReference(), pyNastran.bdf.cards.constraints.SPC1::crossReference(), pyNastran.bdf.cards.constraints.constraintObject::crossReference_AddConstraint(), pyNastran.bdf.cards.constraints.constraintObject::getConstraint(), and pyNastran.bdf.cards.constraints.SPCAX::rawFields().
Definition at line 34 of file constraints.py.
Referenced by pyNastran.bdf.cards.constraints.constraintObject.__repr__(), pyNastran.bdf.cards.constraints.constraintObject2.Add(), pyNastran.bdf.cards.constraints.constraintObject2.append(), pyNastran.bdf.cards.constraints.constraintObject.ConstraintID(), pyNastran.bdf.cards.constraints.constraintObject2.crossReference(), and pyNastran.bdf.cards.constraints.constraintObject.crossReference_AddConstraint().