> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spherical stop

This example describes the implementation of a spherical stop. A spherical
stop is a joint that has 3 rotations (joints include spherical, slot, bushing,
free and general joints). This specific type of stop creates a limit to the
angle between the z-axis of the reference frame and the z-axis of the moving
frame. This functionality is available using the following command:

```python theme={null}
AddStop(angle_max, restitution_factor)
```

For example, to add a spherical stop for an angle value equal to 0.45 radians
and a restitution factor equal to 1.0, the following command would be issued:

```python theme={null}
Joint.AddStop(0.45,1.0)
```

An example of the model and the results of this command are shown below.

![Mechanical UI](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/rigid-body-dynamics/command-reference-for-rigid-dynamics-systems/2025-r2/images/gds_cmdref_sp_stop_win.jpg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=c0cf630b0d6449de37f973d7a59337b7)

![model](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/rigid-body-dynamics/command-reference-for-rigid-dynamics-systems/2025-r2/images/gds_cmdref_sp_stop_pic.jpg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=9394e5d06f2474b81e1e48cc33cd475e)

![output](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/rigid-body-dynamics/command-reference-for-rigid-dynamics-systems/2025-r2/images/gds_cmdref_sp_stop_results.jpg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=fa48658a50c0017483e4c9fa38e1aee1)
