Files
kittycad.py/kittycad/models/rotation.py
zoo-github-actions-auth[bot] 64fc99943e Update api spec (#263)
* YOYO NEW API SPEC!

* new files

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Greg Sweeney <greg@kittycad.io>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
2024-09-10 09:17:32 -07:00

19 lines
380 B
Python

from pydantic import BaseModel, ConfigDict
from ..models.angle import Angle
from ..models.origin_type import OriginType
from ..models.point3d import Point3d
class Rotation(BaseModel):
"""A rotation defined by an axis, origin of rotation, and an angle."""
angle: Angle
axis: Point3d
origin: OriginType
model_config = ConfigDict(protected_namespaces=())