Files
kittycad.py/kittycad/models/system.py
Jess Frazelle 2b44cdfb96 updates
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-07-28 15:21:51 -07:00

22 lines
514 B
Python

from pydantic import BaseModel, ConfigDict
from ..models.axis_direction_pair import AxisDirectionPair
class System(BaseModel):
"""Co-ordinate system definition.
The `up` axis must be orthogonal to the `forward` axis.
See [cglearn.eu] for background reading.
[cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)
"""
forward: AxisDirectionPair
up: AxisDirectionPair
model_config = ConfigDict(protected_namespaces=())