Update api spec (#379)

* 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]
2025-02-12 16:33:01 -08:00
committed by GitHub
parent 1ea1bb98a9
commit 109984c9e6
8 changed files with 951 additions and 831 deletions

View File

@ -1390,6 +1390,20 @@ class OptionZoomToFit(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class OptionOrientToFace(BaseModel):
"""Looks along the normal of the specified face (if it is planar!), and fits the view to it."""
animated: bool = False
face_id: str
padding: float = 0.0
type: Literal["orient_to_face"] = "orient_to_face"
model_config = ConfigDict(protected_namespaces=())
class OptionViewIsometric(BaseModel):
"""Fit the view to the scene with an isometric view."""
@ -1586,6 +1600,7 @@ ModelingCmd = RootModel[
OptionDefaultCameraCenterToSelection,
OptionDefaultCameraCenterToScene,
OptionZoomToFit,
OptionOrientToFace,
OptionViewIsometric,
OptionSolid3DGetExtrusionFaceInfo,
OptionSelectClear,