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

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

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