Files
cadSet/SimpleCADAPI/docs/api/rotate_shape.md
T
2026-07-22 19:38:36 +08:00

18 lines
354 B
Markdown

# 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.