354 B
354 B
rotate_shape
API Definition
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.