()
| 134 | |
| 135 | # Reset the simulation |
| 136 | def reset(): |
| 137 | sim = pbd.Simulation.getCurrent() |
| 138 | sim.reset() |
| 139 | sim.getModel().cleanup() |
| 140 | cd = sim.getTimeStep().getCollisionDetection() |
| 141 | cd.cleanup() |
| 142 | buildModel() |
| 143 | |
| 144 | def main(): |
| 145 | # Activate logger to output info on the console |
no test coverage detected