()
| 163 | |
| 164 | # Reset the simulation |
| 165 | def reset(): |
| 166 | sim = pbd.Simulation.getCurrent() |
| 167 | sim.reset() |
| 168 | sim.getModel().cleanup() |
| 169 | cd = sim.getTimeStep().getCollisionDetection() |
| 170 | cd.cleanup() |
| 171 | buildModel() |
| 172 | |
| 173 | def main(): |
| 174 | # Activate logger to output info on the console |
no test coverage detected