Skip to content

Commit 5136233

Browse files
Update api spec (#132)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2a8e37c commit 5136233

File tree

2 files changed

+301
-257
lines changed

2 files changed

+301
-257
lines changed

spec.json

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19434,6 +19434,48 @@
1943419434
"type"
1943519435
]
1943619436
},
19437+
{
19438+
"description": "Mirror the input entities over the specified axis. (Currently only supports sketches)",
19439+
"type": "object",
19440+
"properties": {
19441+
"axis": {
19442+
"description": "Axis to use as mirror.",
19443+
"allOf": [
19444+
{
19445+
"$ref": "#/components/schemas/Point3d"
19446+
}
19447+
]
19448+
},
19449+
"ids": {
19450+
"description": "ID of the mirror entities.",
19451+
"type": "array",
19452+
"items": {
19453+
"type": "string",
19454+
"format": "uuid"
19455+
}
19456+
},
19457+
"point": {
19458+
"description": "Point through which the mirror axis passes.",
19459+
"allOf": [
19460+
{
19461+
"$ref": "#/components/schemas/Point3d"
19462+
}
19463+
]
19464+
},
19465+
"type": {
19466+
"type": "string",
19467+
"enum": [
19468+
"entity_mirror"
19469+
]
19470+
}
19471+
},
19472+
"required": [
19473+
"axis",
19474+
"ids",
19475+
"point",
19476+
"type"
19477+
]
19478+
},
1943719479
{
1943819480
"description": "Enter edit mode",
1943919481
"type": "object",
@@ -21338,8 +21380,8 @@
2133821380
"type": "object",
2133921381
"properties": {
2134021382
"object_ids": {
21341-
"nullable": true,
21342-
"description": "Which objects to fit to",
21383+
"description": "Which objects to fit camera to; if empty, fit to all non-default objects. Defaults to empty vector.",
21384+
"default": [],
2134321385
"type": "array",
2134421386
"items": {
2134521387
"type": "string",

0 commit comments

Comments
 (0)