Files
2026-07-22 13:48:46 +08:00

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.