Files
kittycad.py/kittycad/models/linear_transform.py
Greg Sweeney 556ec31ca2 Use default values for non-required properties if a default is specified (#254)
* use default values for non-required properties if a default is specified

* generate client

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-20 10:10:56 -07:00

17 lines
392 B
Python

from pydantic import BaseModel, ConfigDict
from ..models.point3d import Point3d
class LinearTransform(BaseModel):
"""Ways to transform each solid being replicated in a repeating pattern."""
replicate: bool = True
scale: Point3d = {"x": 1.0, "y": 1.0, "z": 1.0}
translate: Point3d = {"x": 0.0, "y": 0.0, "z": 0.0}
model_config = ConfigDict(protected_namespaces=())