Update api spec (#323)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-11-20 11:09:55 -08:00
committed by GitHub
parent a054e4839e
commit 6e3604f4aa
6 changed files with 838 additions and 728 deletions

View File

@ -1344,6 +1344,20 @@ class OptionGetNumObjects(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class OptionMakeOffsetPath(BaseModel):
"""Make a new path by offsetting an object by a given distance. The new path's ID will be the ID of this command."""
face_id: Optional[str] = None
object_id: str
offset: LengthUnit
type: Literal["make_offset_path"] = "make_offset_path"
model_config = ConfigDict(protected_namespaces=())
ModelingCmd = RootModel[
Annotated[
Union[
@ -1456,6 +1470,7 @@ ModelingCmd = RootModel[
OptionSelectClear,
OptionSelectGet,
OptionGetNumObjects,
OptionMakeOffsetPath,
],
Field(discriminator="type"),
]