How to explode a model - move each part of the model on a distance to create the explosion effect?

I am interested in implementing the model explosion effect by clicking a button. This effect is implemented in such programs as Mayo and FreeCad. So, you click the button and the model splits into parts and each part moves on a distance from the center of the model.