Files
kittycad.py/kittycad/models/component_transform.py
zoo-github-actions-auth[bot] 6572a92004 Update api spec (#427)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-01 11:42:30 -07:00

21 lines
670 B
Python

from typing import Optional
from pydantic import BaseModel, ConfigDict
from ..models.transform_by_for_point3d import TransformByForPoint3d
from ..models.transform_by_for_point4d import TransformByForPoint4d
class ComponentTransform(BaseModel):
"""Container that holds a translate, rotate and scale. Defaults to no change, everything stays the same (i.e. the identity function)."""
rotate_angle_axis: Optional[TransformByForPoint4d] = None
rotate_rpy: Optional[TransformByForPoint3d] = None
scale: Optional[TransformByForPoint3d] = None
translate: Optional[TransformByForPoint3d] = None
model_config = ConfigDict(protected_namespaces=())