> ## 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/images/gds_cmdref_sp_stop_win.jpg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=54132a678b95b0243051160b3ac2021e)

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

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