Update api spec (#337)

* 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-12-11 13:14:58 -08:00
committed by GitHub
parent 7153c7ab17
commit d25fc283e9
10 changed files with 1207 additions and 805 deletions

View File

@ -90,6 +90,22 @@ class OptionExtrude(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class OptionSweep(BaseModel):
"""Extrude the object along a path."""
sectional: bool
target: ModelingCmdId
tolerance: LengthUnit
trajectory: ModelingCmdId
type: Literal["sweep"] = "sweep"
model_config = ConfigDict(protected_namespaces=())
class OptionRevolve(BaseModel):
"""Command for revolving a solid 2d."""
@ -349,7 +365,9 @@ class OptionEntityLinearPatternTransform(BaseModel):
entity_id: str
transform: List[Transform]
transform: List[Transform] = []
transforms: List[List[Transform]] = []
type: Literal["entity_linear_pattern_transform"] = "entity_linear_pattern_transform"
@ -1366,6 +1384,7 @@ ModelingCmd = RootModel[
OptionMovePathPen,
OptionExtendPath,
OptionExtrude,
OptionSweep,
OptionRevolve,
OptionSolid3DShellFace,
OptionRevolveAboutEdge,