# rotate_shape ## API Definition ```python def rotate_shape(shape: AnyShape, angle: ScalarLike, axis: Tuple[float, float, float] = (0, 0, 1), origin: Tuple[float, float, float] = (0, 0, 0)) -> AnyShape ``` *Source: operations.py* ## Import Surface - top-level: `from simplecadapi import rotate_shape` ## Description Rotate a shape around an axis.