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:
committed by
GitHub
parent
1ea1bb98a9
commit
109984c9e6
@ -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,
|
||||
|
Reference in New Issue
Block a user