| |
- __init__(self, timestep, oversample=1, gravity=None, viscosity=None, name='KineticsKit', **keywords)
- Construct a system.
- advance(self)
- Perform one Iteration of the system by advancing one timestep.
- dispatchDnD(self)
- Process the drag and drop interaction from the mouse.
- insertMass(self, mass)
- Insert mass into the system.
- insertMassList(self, masslist)
- Insert all Masses in masslist into the system.
- insertSpring(self, spring)
- Insert spring into the system.
- insertSpringList(self, springlist)
- Insert all Springs in springlist into the system.
- mainloop(self)
- Start the mainloop, which means that step() is
called in an infinite loop.
- povexport(self, filename=None, **keywords)
- Export the system to a POV-Ray file. If no filename
is given, the name of the system is used.
- step(self)
- Perform one step. This is a convenience method.
It actually calls dispatchDnD() and advance().
|