@coloopx/colocad 0.0.0-stage → 0.1.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE.md +5 -0
  3. package/README.md +131 -2
  4. package/README.zh-CN.md +100 -0
  5. package/bin/colocad.mjs +32 -0
  6. package/examples/manifold.json +11 -0
  7. package/examples/sensor-rail.json +9 -0
  8. package/kernel/LICENSE +21 -0
  9. package/kernel/dist/artifacts.d.ts +3 -0
  10. package/kernel/dist/artifacts.js +19 -0
  11. package/kernel/dist/assets.d.ts +3 -0
  12. package/kernel/dist/assets.js +11 -0
  13. package/kernel/dist/binary.d.ts +2 -0
  14. package/kernel/dist/binary.js +14 -0
  15. package/kernel/dist/client.d.ts +22 -0
  16. package/kernel/dist/client.js +99 -0
  17. package/kernel/dist/files.d.ts +19 -0
  18. package/kernel/dist/files.js +103 -0
  19. package/kernel/dist/generated.d.ts +707 -0
  20. package/kernel/dist/generated.js +1 -0
  21. package/kernel/dist/helpers.d.ts +9 -0
  22. package/kernel/dist/helpers.js +23 -0
  23. package/kernel/dist/index.d.ts +8 -0
  24. package/kernel/dist/index.js +6 -0
  25. package/kernel/dist/preview-cache.d.ts +19 -0
  26. package/kernel/dist/preview-cache.js +29 -0
  27. package/kernel/dist/process.d.ts +12 -0
  28. package/kernel/dist/process.js +41 -0
  29. package/kernel/dist/tools.d.ts +67 -0
  30. package/kernel/dist/tools.js +20 -0
  31. package/kernel/dist/types.d.ts +26 -0
  32. package/kernel/dist/types.js +1 -0
  33. package/kernel/licenses/adler2-2.0.1-LICENSE-0BSD +12 -0
  34. package/kernel/licenses/adler2-2.0.1-LICENSE-APACHE +201 -0
  35. package/kernel/licenses/adler2-2.0.1-LICENSE-MIT +23 -0
  36. package/kernel/licenses/allocator-api2-0.2.21-LICENSE-APACHE +176 -0
  37. package/kernel/licenses/allocator-api2-0.2.21-LICENSE-MIT +23 -0
  38. package/kernel/licenses/autocfg-1.5.1-LICENSE-APACHE +201 -0
  39. package/kernel/licenses/autocfg-1.5.1-LICENSE-MIT +25 -0
  40. package/kernel/licenses/bitflags-1.3.2-LICENSE-APACHE +201 -0
  41. package/kernel/licenses/bitflags-1.3.2-LICENSE-MIT +25 -0
  42. package/kernel/licenses/block-buffer-0.10.4-LICENSE-APACHE +201 -0
  43. package/kernel/licenses/block-buffer-0.10.4-LICENSE-MIT +25 -0
  44. package/kernel/licenses/cfg-if-1.0.5-LICENSE-APACHE +201 -0
  45. package/kernel/licenses/cfg-if-1.0.5-LICENSE-MIT +25 -0
  46. package/kernel/licenses/cpufeatures-0.2.17-LICENSE-APACHE +201 -0
  47. package/kernel/licenses/cpufeatures-0.2.17-LICENSE-MIT +25 -0
  48. package/kernel/licenses/crc32fast-1.5.4-LICENSE-APACHE +202 -0
  49. package/kernel/licenses/crc32fast-1.5.4-LICENSE-MIT +21 -0
  50. package/kernel/licenses/crossbeam-deque-0.8.8-LICENSE-APACHE +201 -0
  51. package/kernel/licenses/crossbeam-deque-0.8.8-LICENSE-MIT +27 -0
  52. package/kernel/licenses/crossbeam-epoch-0.9.21-LICENSE-APACHE +201 -0
  53. package/kernel/licenses/crossbeam-epoch-0.9.21-LICENSE-MIT +27 -0
  54. package/kernel/licenses/crossbeam-utils-0.8.23-LICENSE-APACHE +201 -0
  55. package/kernel/licenses/crossbeam-utils-0.8.23-LICENSE-MIT +27 -0
  56. package/kernel/licenses/crypto-common-0.1.7-LICENSE-APACHE +201 -0
  57. package/kernel/licenses/crypto-common-0.1.7-LICENSE-MIT +25 -0
  58. package/kernel/licenses/dependencies.json +618 -0
  59. package/kernel/licenses/digest-0.10.7-LICENSE-APACHE +201 -0
  60. package/kernel/licenses/digest-0.10.7-LICENSE-MIT +25 -0
  61. package/kernel/licenses/dyn-clone-1.0.20-LICENSE-APACHE +176 -0
  62. package/kernel/licenses/dyn-clone-1.0.20-LICENSE-MIT +23 -0
  63. package/kernel/licenses/either-1.19.0-LICENSE-APACHE +201 -0
  64. package/kernel/licenses/either-1.19.0-LICENSE-MIT +25 -0
  65. package/kernel/licenses/equivalent-1.0.3-LICENSE-APACHE +201 -0
  66. package/kernel/licenses/equivalent-1.0.3-LICENSE-MIT +25 -0
  67. package/kernel/licenses/fdeflate-0.3.7-LICENSE-APACHE +177 -0
  68. package/kernel/licenses/fdeflate-0.3.7-LICENSE-MIT +25 -0
  69. package/kernel/licenses/flate2-1.1.10-LICENSE-APACHE +201 -0
  70. package/kernel/licenses/flate2-1.1.10-LICENSE-MIT +25 -0
  71. package/kernel/licenses/foldhash-0.2.0-LICENSE +19 -0
  72. package/kernel/licenses/generic-array-0.14.7-LICENSE +21 -0
  73. package/kernel/licenses/hashbrown-0.16.1-LICENSE-APACHE +201 -0
  74. package/kernel/licenses/hashbrown-0.16.1-LICENSE-MIT +25 -0
  75. package/kernel/licenses/itoa-1.0.18-LICENSE-APACHE +176 -0
  76. package/kernel/licenses/itoa-1.0.18-LICENSE-MIT +23 -0
  77. package/kernel/licenses/libc-0.2.191-LICENSE-APACHE +176 -0
  78. package/kernel/licenses/libc-0.2.191-LICENSE-MIT +25 -0
  79. package/kernel/licenses/memchr-2.8.3-COPYING +3 -0
  80. package/kernel/licenses/memchr-2.8.3-LICENSE-MIT +21 -0
  81. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE +25 -0
  82. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-APACHE.md +177 -0
  83. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-MIT.md +24 -0
  84. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-ZLIB.md +14 -0
  85. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE +25 -0
  86. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-APACHE.md +177 -0
  87. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-MIT.md +24 -0
  88. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-ZLIB.md +14 -0
  89. package/kernel/licenses/num-traits-0.2.19-LICENSE-APACHE +201 -0
  90. package/kernel/licenses/num-traits-0.2.19-LICENSE-MIT +25 -0
  91. package/kernel/licenses/png-0.17.16-LICENSE-APACHE +201 -0
  92. package/kernel/licenses/png-0.17.16-LICENSE-MIT +25 -0
  93. package/kernel/licenses/proc-macro2-1.0.107-LICENSE-APACHE +176 -0
  94. package/kernel/licenses/proc-macro2-1.0.107-LICENSE-MIT +23 -0
  95. package/kernel/licenses/quote-1.0.47-LICENSE-APACHE +176 -0
  96. package/kernel/licenses/quote-1.0.47-LICENSE-MIT +23 -0
  97. package/kernel/licenses/rayon-1.12.0-LICENSE-APACHE +201 -0
  98. package/kernel/licenses/rayon-1.12.0-LICENSE-MIT +25 -0
  99. package/kernel/licenses/rayon-core-1.13.0-LICENSE-APACHE +201 -0
  100. package/kernel/licenses/rayon-core-1.13.0-LICENSE-MIT +25 -0
  101. package/kernel/licenses/ref-cast-1.0.27-LICENSE-APACHE +176 -0
  102. package/kernel/licenses/ref-cast-1.0.27-LICENSE-MIT +23 -0
  103. package/kernel/licenses/ref-cast-impl-1.0.27-LICENSE-APACHE +176 -0
  104. package/kernel/licenses/ref-cast-impl-1.0.27-LICENSE-MIT +23 -0
  105. package/kernel/licenses/robust-1.2.0-LICENSE-APACHE +201 -0
  106. package/kernel/licenses/robust-1.2.0-LICENSE-MIT +26 -0
  107. package/kernel/licenses/schemars-1.2.3-LICENSE +21 -0
  108. package/kernel/licenses/schemars_derive-1.2.3-LICENSE +21 -0
  109. package/kernel/licenses/serde-1.0.229-LICENSE-APACHE +176 -0
  110. package/kernel/licenses/serde-1.0.229-LICENSE-MIT +23 -0
  111. package/kernel/licenses/serde_core-1.0.229-LICENSE-APACHE +176 -0
  112. package/kernel/licenses/serde_core-1.0.229-LICENSE-MIT +23 -0
  113. package/kernel/licenses/serde_derive-1.0.229-LICENSE-APACHE +176 -0
  114. package/kernel/licenses/serde_derive-1.0.229-LICENSE-MIT +23 -0
  115. package/kernel/licenses/serde_derive_internals-0.30.0-LICENSE-APACHE +176 -0
  116. package/kernel/licenses/serde_derive_internals-0.30.0-LICENSE-MIT +23 -0
  117. package/kernel/licenses/serde_json-1.0.154-LICENSE-APACHE +176 -0
  118. package/kernel/licenses/serde_json-1.0.154-LICENSE-MIT +23 -0
  119. package/kernel/licenses/sha2-0.10.9-LICENSE-APACHE +201 -0
  120. package/kernel/licenses/sha2-0.10.9-LICENSE-MIT +27 -0
  121. package/kernel/licenses/simd-adler32-0.3.10-LICENSE.md +21 -0
  122. package/kernel/licenses/smallvec-1.16.4-LICENSE-APACHE +201 -0
  123. package/kernel/licenses/smallvec-1.16.4-LICENSE-MIT +25 -0
  124. package/kernel/licenses/solidcore-1.0.1-LICENSE +203 -0
  125. package/kernel/licenses/solidcore-1.0.1-NOTICE +30 -0
  126. package/kernel/licenses/solidcore-ATTRIBUTION.md +92 -0
  127. package/kernel/licenses/solidcore-LICENSE +203 -0
  128. package/kernel/licenses/solidcore-NOTICE +30 -0
  129. package/kernel/licenses/solidcore-convert-0.1.0-ATTRIBUTION.md +92 -0
  130. package/kernel/licenses/solidcore-convert-0.1.0-LICENSE +203 -0
  131. package/kernel/licenses/solidcore-convert-0.1.0-NOTICE +30 -0
  132. package/kernel/licenses/solidcore-record-0.1.0-ATTRIBUTION.md +92 -0
  133. package/kernel/licenses/solidcore-record-0.1.0-LICENSE +203 -0
  134. package/kernel/licenses/solidcore-record-0.1.0-NOTICE +30 -0
  135. package/kernel/licenses/solidcore-tess-0.1.0-ATTRIBUTION.md +92 -0
  136. package/kernel/licenses/solidcore-tess-0.1.0-LICENSE +203 -0
  137. package/kernel/licenses/solidcore-tess-0.1.0-NOTICE +30 -0
  138. package/kernel/licenses/spade-2.15.1-LICENSE-APACHE +202 -0
  139. package/kernel/licenses/spade-2.15.1-LICENSE-MIT +25 -0
  140. package/kernel/licenses/step-brep-0.1.0-ATTRIBUTION.md +92 -0
  141. package/kernel/licenses/step-brep-0.1.0-LICENSE +203 -0
  142. package/kernel/licenses/step-brep-0.1.0-NOTICE +30 -0
  143. package/kernel/licenses/step-export-0.1.0-ATTRIBUTION.md +92 -0
  144. package/kernel/licenses/step-export-0.1.0-LICENSE +203 -0
  145. package/kernel/licenses/step-export-0.1.0-NOTICE +30 -0
  146. package/kernel/licenses/step-import-0.1.0-ATTRIBUTION.md +92 -0
  147. package/kernel/licenses/step-import-0.1.0-LICENSE +203 -0
  148. package/kernel/licenses/step-import-0.1.0-NOTICE +30 -0
  149. package/kernel/licenses/syn-3.0.9-LICENSE-APACHE +176 -0
  150. package/kernel/licenses/syn-3.0.9-LICENSE-MIT +23 -0
  151. package/kernel/licenses/thiserror-2.0.21-LICENSE-APACHE +176 -0
  152. package/kernel/licenses/thiserror-2.0.21-LICENSE-MIT +23 -0
  153. package/kernel/licenses/thiserror-impl-2.0.21-LICENSE-APACHE +176 -0
  154. package/kernel/licenses/thiserror-impl-2.0.21-LICENSE-MIT +23 -0
  155. package/kernel/licenses/typenum-1.20.1-LICENSE +1 -0
  156. package/kernel/licenses/typenum-1.20.1-LICENSE-APACHE +201 -0
  157. package/kernel/licenses/typenum-1.20.1-LICENSE-MIT +21 -0
  158. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-APACHE +176 -0
  159. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-MIT +23 -0
  160. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-UNICODE +39 -0
  161. package/kernel/licenses/version_check-0.9.5-LICENSE-APACHE +201 -0
  162. package/kernel/licenses/version_check-0.9.5-LICENSE-MIT +19 -0
  163. package/kernel/licenses/zlib-rs-0.6.8-LICENSE +19 -0
  164. package/kernel/licenses/zmij-1.0.23-LICENSE-MIT +23 -0
  165. package/kernel/native/darwin-arm64/agent-cad +4 -0
  166. package/kernel/native/darwin-arm64/manifest.json +6 -0
  167. package/kernel/native/linux-arm64/agent-cad +4 -0
  168. package/kernel/native/linux-arm64/manifest.json +6 -0
  169. package/kernel/native/linux-x64/agent-cad +4 -0
  170. package/kernel/native/linux-x64/manifest.json +6 -0
  171. package/kernel/release.json +8 -0
  172. package/kernel/schemas/model.schema.json +4080 -0
  173. package/package.json +59 -4
  174. package/scripts/check-release.mjs +24 -0
  175. package/skills/colocad/SKILL.md +17 -0
  176. package/skills/colocad/assets/angle-bracket.json +39 -0
  177. package/skills/colocad/assets/ball.json +16 -0
  178. package/skills/colocad/assets/block.json +18 -0
  179. package/skills/colocad/assets/open-housing.json +35 -0
  180. package/skills/colocad/assets/pin.json +18 -0
  181. package/skills/colocad/assets/plate-grid.json +34 -0
  182. package/skills/colocad/assets/sleeve.json +19 -0
  183. package/skills/colocad/assets/taper.json +20 -0
  184. package/skills/colocad/references/quick-build.md +44 -0
  185. package/skills/colocad/scripts/assembly.mjs +3 -0
  186. package/skills/colocad/scripts/build.mjs +54 -0
  187. package/solidworks/managed/Colocad.SolidWorks.deps.json +23 -0
  188. package/solidworks/managed/Colocad.SolidWorks.dll +0 -0
  189. package/solidworks/managed/Colocad.SolidWorks.runtimeconfig.json +13 -0
  190. package/src/build.mjs +69 -0
  191. package/src/index.d.mts +67 -0
  192. package/src/index.mjs +4 -0
  193. package/src/solidworks.mjs +65 -0
  194. package/src/tree.mjs +199 -0
@@ -0,0 +1,4080 @@
1
+ {
2
+ "$defs": {
3
+ "Arithmetic": {
4
+ "enum": [
5
+ "add",
6
+ "sub",
7
+ "mul",
8
+ "div"
9
+ ],
10
+ "type": "string"
11
+ },
12
+ "AssemblyCheck": {
13
+ "oneOf": [
14
+ {
15
+ "additionalProperties": false,
16
+ "properties": {
17
+ "allowed_pairs": {
18
+ "default": [],
19
+ "items": {
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "maxItems": 2,
24
+ "minItems": 2,
25
+ "type": "array"
26
+ },
27
+ "type": "array"
28
+ },
29
+ "kind": {
30
+ "const": "collision",
31
+ "type": "string"
32
+ },
33
+ "max_overlap_mm3": {
34
+ "$ref": "#/$defs/Scalar"
35
+ },
36
+ "parts": {
37
+ "items": {
38
+ "type": "string"
39
+ },
40
+ "type": "array"
41
+ }
42
+ },
43
+ "required": [
44
+ "kind",
45
+ "parts",
46
+ "max_overlap_mm3"
47
+ ],
48
+ "type": "object"
49
+ },
50
+ {
51
+ "additionalProperties": false,
52
+ "properties": {
53
+ "kind": {
54
+ "const": "opening",
55
+ "type": "string"
56
+ },
57
+ "max_distance_mm": {
58
+ "$ref": "#/$defs/Scalar"
59
+ },
60
+ "min_overlap_mm3": {
61
+ "$ref": "#/$defs/Scalar"
62
+ },
63
+ "opening": {
64
+ "type": "string"
65
+ },
66
+ "target": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ "required": [
71
+ "kind",
72
+ "opening",
73
+ "target",
74
+ "max_distance_mm",
75
+ "min_overlap_mm3"
76
+ ],
77
+ "type": "object"
78
+ },
79
+ {
80
+ "additionalProperties": false,
81
+ "properties": {
82
+ "container": {
83
+ "type": "string"
84
+ },
85
+ "kind": {
86
+ "const": "containment",
87
+ "type": "string"
88
+ },
89
+ "max_outside_mm3": {
90
+ "$ref": "#/$defs/Scalar"
91
+ },
92
+ "targets": {
93
+ "items": {
94
+ "type": "string"
95
+ },
96
+ "type": "array"
97
+ }
98
+ },
99
+ "required": [
100
+ "kind",
101
+ "container",
102
+ "targets",
103
+ "max_outside_mm3"
104
+ ],
105
+ "type": "object"
106
+ }
107
+ ]
108
+ },
109
+ "Attachment": {
110
+ "additionalProperties": false,
111
+ "properties": {
112
+ "frame": {
113
+ "$ref": "#/$defs/Frame",
114
+ "default": {
115
+ "origin": [
116
+ 0,
117
+ 0,
118
+ 0
119
+ ],
120
+ "x_axis": [
121
+ 1,
122
+ 0,
123
+ 0
124
+ ],
125
+ "y_axis": [
126
+ 0,
127
+ 1,
128
+ 0
129
+ ]
130
+ }
131
+ },
132
+ "instance": {
133
+ "type": "string"
134
+ }
135
+ },
136
+ "required": [
137
+ "instance"
138
+ ],
139
+ "type": "object"
140
+ },
141
+ "Axis": {
142
+ "enum": [
143
+ "x",
144
+ "y",
145
+ "z"
146
+ ],
147
+ "type": "string"
148
+ },
149
+ "Boundary": {
150
+ "oneOf": [
151
+ {
152
+ "additionalProperties": false,
153
+ "properties": {
154
+ "kind": {
155
+ "const": "polygon",
156
+ "type": "string"
157
+ },
158
+ "points": {
159
+ "items": {
160
+ "type": "string"
161
+ },
162
+ "type": "array"
163
+ }
164
+ },
165
+ "required": [
166
+ "kind",
167
+ "points"
168
+ ],
169
+ "type": "object"
170
+ },
171
+ {
172
+ "additionalProperties": false,
173
+ "properties": {
174
+ "kind": {
175
+ "const": "outline",
176
+ "type": "string"
177
+ },
178
+ "segments": {
179
+ "items": {
180
+ "$ref": "#/$defs/SketchSegment"
181
+ },
182
+ "type": "array"
183
+ },
184
+ "start": {
185
+ "type": "string"
186
+ }
187
+ },
188
+ "required": [
189
+ "kind",
190
+ "start",
191
+ "segments"
192
+ ],
193
+ "type": "object"
194
+ },
195
+ {
196
+ "additionalProperties": false,
197
+ "properties": {
198
+ "circle": {
199
+ "type": "string"
200
+ },
201
+ "kind": {
202
+ "const": "circle",
203
+ "type": "string"
204
+ }
205
+ },
206
+ "required": [
207
+ "kind",
208
+ "circle"
209
+ ],
210
+ "type": "object"
211
+ }
212
+ ]
213
+ },
214
+ "BoxFace": {
215
+ "enum": [
216
+ "pos_x",
217
+ "neg_x",
218
+ "pos_y",
219
+ "neg_y",
220
+ "pos_z",
221
+ "neg_z"
222
+ ],
223
+ "type": "string"
224
+ },
225
+ "Circle": {
226
+ "additionalProperties": false,
227
+ "properties": {
228
+ "center": {
229
+ "type": "string"
230
+ },
231
+ "radius": {
232
+ "$ref": "#/$defs/Scalar"
233
+ }
234
+ },
235
+ "required": [
236
+ "center",
237
+ "radius"
238
+ ],
239
+ "type": "object"
240
+ },
241
+ "Constraint": {
242
+ "oneOf": [
243
+ {
244
+ "additionalProperties": false,
245
+ "properties": {
246
+ "at": {
247
+ "items": {
248
+ "$ref": "#/$defs/Scalar"
249
+ },
250
+ "maxItems": 2,
251
+ "minItems": 2,
252
+ "type": "array"
253
+ },
254
+ "id": {
255
+ "type": "string"
256
+ },
257
+ "kind": {
258
+ "const": "fixed",
259
+ "type": "string"
260
+ },
261
+ "point": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "kind",
267
+ "id",
268
+ "point",
269
+ "at"
270
+ ],
271
+ "type": "object"
272
+ },
273
+ {
274
+ "additionalProperties": false,
275
+ "properties": {
276
+ "a": {
277
+ "type": "string"
278
+ },
279
+ "b": {
280
+ "type": "string"
281
+ },
282
+ "id": {
283
+ "type": "string"
284
+ },
285
+ "kind": {
286
+ "const": "coincident",
287
+ "type": "string"
288
+ }
289
+ },
290
+ "required": [
291
+ "kind",
292
+ "id",
293
+ "a",
294
+ "b"
295
+ ],
296
+ "type": "object"
297
+ },
298
+ {
299
+ "additionalProperties": false,
300
+ "properties": {
301
+ "a": {
302
+ "type": "string"
303
+ },
304
+ "b": {
305
+ "type": "string"
306
+ },
307
+ "id": {
308
+ "type": "string"
309
+ },
310
+ "kind": {
311
+ "const": "horizontal",
312
+ "type": "string"
313
+ }
314
+ },
315
+ "required": [
316
+ "kind",
317
+ "id",
318
+ "a",
319
+ "b"
320
+ ],
321
+ "type": "object"
322
+ },
323
+ {
324
+ "additionalProperties": false,
325
+ "properties": {
326
+ "a": {
327
+ "type": "string"
328
+ },
329
+ "b": {
330
+ "type": "string"
331
+ },
332
+ "id": {
333
+ "type": "string"
334
+ },
335
+ "kind": {
336
+ "const": "vertical",
337
+ "type": "string"
338
+ }
339
+ },
340
+ "required": [
341
+ "kind",
342
+ "id",
343
+ "a",
344
+ "b"
345
+ ],
346
+ "type": "object"
347
+ },
348
+ {
349
+ "additionalProperties": false,
350
+ "properties": {
351
+ "a": {
352
+ "type": "string"
353
+ },
354
+ "b": {
355
+ "type": "string"
356
+ },
357
+ "id": {
358
+ "type": "string"
359
+ },
360
+ "kind": {
361
+ "const": "distance",
362
+ "type": "string"
363
+ },
364
+ "value": {
365
+ "$ref": "#/$defs/Scalar"
366
+ }
367
+ },
368
+ "required": [
369
+ "kind",
370
+ "id",
371
+ "a",
372
+ "b",
373
+ "value"
374
+ ],
375
+ "type": "object"
376
+ },
377
+ {
378
+ "additionalProperties": false,
379
+ "properties": {
380
+ "a": {
381
+ "type": "string"
382
+ },
383
+ "b": {
384
+ "type": "string"
385
+ },
386
+ "id": {
387
+ "type": "string"
388
+ },
389
+ "kind": {
390
+ "const": "dx",
391
+ "type": "string"
392
+ },
393
+ "value": {
394
+ "$ref": "#/$defs/Scalar"
395
+ }
396
+ },
397
+ "required": [
398
+ "kind",
399
+ "id",
400
+ "a",
401
+ "b",
402
+ "value"
403
+ ],
404
+ "type": "object"
405
+ },
406
+ {
407
+ "additionalProperties": false,
408
+ "properties": {
409
+ "a": {
410
+ "type": "string"
411
+ },
412
+ "b": {
413
+ "type": "string"
414
+ },
415
+ "id": {
416
+ "type": "string"
417
+ },
418
+ "kind": {
419
+ "const": "dy",
420
+ "type": "string"
421
+ },
422
+ "value": {
423
+ "$ref": "#/$defs/Scalar"
424
+ }
425
+ },
426
+ "required": [
427
+ "kind",
428
+ "id",
429
+ "a",
430
+ "b",
431
+ "value"
432
+ ],
433
+ "type": "object"
434
+ },
435
+ {
436
+ "additionalProperties": false,
437
+ "properties": {
438
+ "id": {
439
+ "type": "string"
440
+ },
441
+ "kind": {
442
+ "const": "parallel",
443
+ "type": "string"
444
+ },
445
+ "line_a": {
446
+ "items": {
447
+ "type": "string"
448
+ },
449
+ "maxItems": 2,
450
+ "minItems": 2,
451
+ "type": "array"
452
+ },
453
+ "line_b": {
454
+ "items": {
455
+ "type": "string"
456
+ },
457
+ "maxItems": 2,
458
+ "minItems": 2,
459
+ "type": "array"
460
+ }
461
+ },
462
+ "required": [
463
+ "kind",
464
+ "id",
465
+ "line_a",
466
+ "line_b"
467
+ ],
468
+ "type": "object"
469
+ },
470
+ {
471
+ "additionalProperties": false,
472
+ "properties": {
473
+ "id": {
474
+ "type": "string"
475
+ },
476
+ "kind": {
477
+ "const": "perpendicular",
478
+ "type": "string"
479
+ },
480
+ "line_a": {
481
+ "items": {
482
+ "type": "string"
483
+ },
484
+ "maxItems": 2,
485
+ "minItems": 2,
486
+ "type": "array"
487
+ },
488
+ "line_b": {
489
+ "items": {
490
+ "type": "string"
491
+ },
492
+ "maxItems": 2,
493
+ "minItems": 2,
494
+ "type": "array"
495
+ }
496
+ },
497
+ "required": [
498
+ "kind",
499
+ "id",
500
+ "line_a",
501
+ "line_b"
502
+ ],
503
+ "type": "object"
504
+ },
505
+ {
506
+ "additionalProperties": false,
507
+ "properties": {
508
+ "degrees": {
509
+ "$ref": "#/$defs/Scalar"
510
+ },
511
+ "id": {
512
+ "type": "string"
513
+ },
514
+ "kind": {
515
+ "const": "angle",
516
+ "type": "string"
517
+ },
518
+ "line_a": {
519
+ "items": {
520
+ "type": "string"
521
+ },
522
+ "maxItems": 2,
523
+ "minItems": 2,
524
+ "type": "array"
525
+ },
526
+ "line_b": {
527
+ "items": {
528
+ "type": "string"
529
+ },
530
+ "maxItems": 2,
531
+ "minItems": 2,
532
+ "type": "array"
533
+ }
534
+ },
535
+ "required": [
536
+ "kind",
537
+ "id",
538
+ "line_a",
539
+ "line_b",
540
+ "degrees"
541
+ ],
542
+ "type": "object"
543
+ },
544
+ {
545
+ "additionalProperties": false,
546
+ "properties": {
547
+ "id": {
548
+ "type": "string"
549
+ },
550
+ "kind": {
551
+ "const": "equal_length",
552
+ "type": "string"
553
+ },
554
+ "line_a": {
555
+ "items": {
556
+ "type": "string"
557
+ },
558
+ "maxItems": 2,
559
+ "minItems": 2,
560
+ "type": "array"
561
+ },
562
+ "line_b": {
563
+ "items": {
564
+ "type": "string"
565
+ },
566
+ "maxItems": 2,
567
+ "minItems": 2,
568
+ "type": "array"
569
+ }
570
+ },
571
+ "required": [
572
+ "kind",
573
+ "id",
574
+ "line_a",
575
+ "line_b"
576
+ ],
577
+ "type": "object"
578
+ },
579
+ {
580
+ "additionalProperties": false,
581
+ "properties": {
582
+ "id": {
583
+ "type": "string"
584
+ },
585
+ "kind": {
586
+ "const": "midpoint",
587
+ "type": "string"
588
+ },
589
+ "line": {
590
+ "items": {
591
+ "type": "string"
592
+ },
593
+ "maxItems": 2,
594
+ "minItems": 2,
595
+ "type": "array"
596
+ },
597
+ "point": {
598
+ "type": "string"
599
+ }
600
+ },
601
+ "required": [
602
+ "kind",
603
+ "id",
604
+ "point",
605
+ "line"
606
+ ],
607
+ "type": "object"
608
+ },
609
+ {
610
+ "additionalProperties": false,
611
+ "properties": {
612
+ "id": {
613
+ "type": "string"
614
+ },
615
+ "kind": {
616
+ "const": "point_on_line",
617
+ "type": "string"
618
+ },
619
+ "line": {
620
+ "items": {
621
+ "type": "string"
622
+ },
623
+ "maxItems": 2,
624
+ "minItems": 2,
625
+ "type": "array"
626
+ },
627
+ "point": {
628
+ "type": "string"
629
+ }
630
+ },
631
+ "required": [
632
+ "kind",
633
+ "id",
634
+ "point",
635
+ "line"
636
+ ],
637
+ "type": "object"
638
+ },
639
+ {
640
+ "additionalProperties": false,
641
+ "properties": {
642
+ "circle": {
643
+ "type": "string"
644
+ },
645
+ "id": {
646
+ "type": "string"
647
+ },
648
+ "kind": {
649
+ "const": "radius",
650
+ "type": "string"
651
+ },
652
+ "value": {
653
+ "$ref": "#/$defs/Scalar"
654
+ }
655
+ },
656
+ "required": [
657
+ "kind",
658
+ "id",
659
+ "circle",
660
+ "value"
661
+ ],
662
+ "type": "object"
663
+ },
664
+ {
665
+ "additionalProperties": false,
666
+ "properties": {
667
+ "a": {
668
+ "type": "string"
669
+ },
670
+ "b": {
671
+ "type": "string"
672
+ },
673
+ "id": {
674
+ "type": "string"
675
+ },
676
+ "kind": {
677
+ "const": "equal_radius",
678
+ "type": "string"
679
+ }
680
+ },
681
+ "required": [
682
+ "kind",
683
+ "id",
684
+ "a",
685
+ "b"
686
+ ],
687
+ "type": "object"
688
+ },
689
+ {
690
+ "additionalProperties": false,
691
+ "properties": {
692
+ "circle": {
693
+ "type": "string"
694
+ },
695
+ "id": {
696
+ "type": "string"
697
+ },
698
+ "kind": {
699
+ "const": "point_on_circle",
700
+ "type": "string"
701
+ },
702
+ "point": {
703
+ "type": "string"
704
+ }
705
+ },
706
+ "required": [
707
+ "kind",
708
+ "id",
709
+ "point",
710
+ "circle"
711
+ ],
712
+ "type": "object"
713
+ },
714
+ {
715
+ "additionalProperties": false,
716
+ "properties": {
717
+ "circle": {
718
+ "type": "string"
719
+ },
720
+ "id": {
721
+ "type": "string"
722
+ },
723
+ "kind": {
724
+ "const": "tangent",
725
+ "type": "string"
726
+ },
727
+ "line": {
728
+ "items": {
729
+ "type": "string"
730
+ },
731
+ "maxItems": 2,
732
+ "minItems": 2,
733
+ "type": "array"
734
+ }
735
+ },
736
+ "required": [
737
+ "kind",
738
+ "id",
739
+ "line",
740
+ "circle"
741
+ ],
742
+ "type": "object"
743
+ },
744
+ {
745
+ "additionalProperties": false,
746
+ "properties": {
747
+ "a": {
748
+ "type": "string"
749
+ },
750
+ "b": {
751
+ "type": "string"
752
+ },
753
+ "id": {
754
+ "type": "string"
755
+ },
756
+ "internal": {
757
+ "default": false,
758
+ "type": "boolean"
759
+ },
760
+ "kind": {
761
+ "const": "circle_tangent",
762
+ "type": "string"
763
+ }
764
+ },
765
+ "required": [
766
+ "kind",
767
+ "id",
768
+ "a",
769
+ "b"
770
+ ],
771
+ "type": "object"
772
+ },
773
+ {
774
+ "additionalProperties": false,
775
+ "properties": {
776
+ "a": {
777
+ "type": "string"
778
+ },
779
+ "axis": {
780
+ "items": {
781
+ "type": "string"
782
+ },
783
+ "maxItems": 2,
784
+ "minItems": 2,
785
+ "type": "array"
786
+ },
787
+ "b": {
788
+ "type": "string"
789
+ },
790
+ "id": {
791
+ "type": "string"
792
+ },
793
+ "kind": {
794
+ "const": "symmetric",
795
+ "type": "string"
796
+ }
797
+ },
798
+ "required": [
799
+ "kind",
800
+ "id",
801
+ "a",
802
+ "b",
803
+ "axis"
804
+ ],
805
+ "type": "object"
806
+ }
807
+ ]
808
+ },
809
+ "ControlEdit": {
810
+ "additionalProperties": false,
811
+ "properties": {
812
+ "point": {
813
+ "items": {
814
+ "$ref": "#/$defs/Scalar"
815
+ },
816
+ "maxItems": 3,
817
+ "minItems": 3,
818
+ "type": "array"
819
+ },
820
+ "u": {
821
+ "format": "uint",
822
+ "minimum": 0,
823
+ "type": "integer"
824
+ },
825
+ "v": {
826
+ "format": "uint",
827
+ "minimum": 0,
828
+ "type": "integer"
829
+ }
830
+ },
831
+ "required": [
832
+ "u",
833
+ "v",
834
+ "point"
835
+ ],
836
+ "type": "object"
837
+ },
838
+ "Counterbore": {
839
+ "additionalProperties": false,
840
+ "properties": {
841
+ "depth": {
842
+ "$ref": "#/$defs/Scalar"
843
+ },
844
+ "radius": {
845
+ "$ref": "#/$defs/Scalar"
846
+ }
847
+ },
848
+ "required": [
849
+ "radius",
850
+ "depth"
851
+ ],
852
+ "type": "object"
853
+ },
854
+ "EdgeSelector": {
855
+ "oneOf": [
856
+ {
857
+ "additionalProperties": false,
858
+ "properties": {
859
+ "expected_count": {
860
+ "format": "uint",
861
+ "minimum": 0,
862
+ "type": "integer"
863
+ },
864
+ "kind": {
865
+ "const": "named",
866
+ "type": "string"
867
+ },
868
+ "name": {
869
+ "type": "string"
870
+ }
871
+ },
872
+ "required": [
873
+ "kind",
874
+ "name",
875
+ "expected_count"
876
+ ],
877
+ "type": "object"
878
+ },
879
+ {
880
+ "additionalProperties": false,
881
+ "properties": {
882
+ "expected_count": {
883
+ "format": "uint",
884
+ "minimum": 0,
885
+ "type": "integer"
886
+ },
887
+ "kind": {
888
+ "const": "outer",
889
+ "type": "string"
890
+ },
891
+ "region": {
892
+ "$ref": "#/$defs/OuterEdges"
893
+ },
894
+ "tolerance": {
895
+ "$ref": "#/$defs/Scalar"
896
+ }
897
+ },
898
+ "required": [
899
+ "kind",
900
+ "region",
901
+ "tolerance",
902
+ "expected_count"
903
+ ],
904
+ "type": "object"
905
+ },
906
+ {
907
+ "additionalProperties": false,
908
+ "properties": {
909
+ "kind": {
910
+ "const": "all",
911
+ "type": "string"
912
+ }
913
+ },
914
+ "required": [
915
+ "kind"
916
+ ],
917
+ "type": "object"
918
+ },
919
+ {
920
+ "additionalProperties": false,
921
+ "properties": {
922
+ "axis": {
923
+ "items": {
924
+ "$ref": "#/$defs/Scalar"
925
+ },
926
+ "maxItems": 3,
927
+ "minItems": 3,
928
+ "type": "array"
929
+ },
930
+ "expected_count": {
931
+ "format": "uint",
932
+ "minimum": 0,
933
+ "type": "integer"
934
+ },
935
+ "kind": {
936
+ "const": "parallel",
937
+ "type": "string"
938
+ }
939
+ },
940
+ "required": [
941
+ "kind",
942
+ "axis",
943
+ "expected_count"
944
+ ],
945
+ "type": "object"
946
+ },
947
+ {
948
+ "additionalProperties": false,
949
+ "properties": {
950
+ "axis": {
951
+ "$ref": "#/$defs/Axis"
952
+ },
953
+ "expected_count": {
954
+ "format": "uint",
955
+ "minimum": 0,
956
+ "type": "integer"
957
+ },
958
+ "kind": {
959
+ "const": "on_plane",
960
+ "type": "string"
961
+ },
962
+ "tolerance": {
963
+ "$ref": "#/$defs/Scalar"
964
+ },
965
+ "value": {
966
+ "$ref": "#/$defs/Scalar"
967
+ }
968
+ },
969
+ "required": [
970
+ "kind",
971
+ "axis",
972
+ "value",
973
+ "tolerance",
974
+ "expected_count"
975
+ ],
976
+ "type": "object"
977
+ },
978
+ {
979
+ "additionalProperties": false,
980
+ "properties": {
981
+ "kind": {
982
+ "const": "near",
983
+ "type": "string"
984
+ },
985
+ "points": {
986
+ "items": {
987
+ "items": {
988
+ "$ref": "#/$defs/Scalar"
989
+ },
990
+ "maxItems": 3,
991
+ "minItems": 3,
992
+ "type": "array"
993
+ },
994
+ "type": "array"
995
+ },
996
+ "tolerance": {
997
+ "$ref": "#/$defs/Scalar"
998
+ }
999
+ },
1000
+ "required": [
1001
+ "kind",
1002
+ "points",
1003
+ "tolerance"
1004
+ ],
1005
+ "type": "object"
1006
+ }
1007
+ ]
1008
+ },
1009
+ "Expression": {
1010
+ "additionalProperties": false,
1011
+ "properties": {
1012
+ "a": {
1013
+ "$ref": "#/$defs/Scalar"
1014
+ },
1015
+ "b": {
1016
+ "$ref": "#/$defs/Scalar"
1017
+ },
1018
+ "op": {
1019
+ "$ref": "#/$defs/Arithmetic"
1020
+ }
1021
+ },
1022
+ "required": [
1023
+ "op",
1024
+ "a",
1025
+ "b"
1026
+ ],
1027
+ "type": "object"
1028
+ },
1029
+ "FaceSelector": {
1030
+ "anyOf": [
1031
+ {
1032
+ "additionalProperties": false,
1033
+ "properties": {
1034
+ "expected_count": {
1035
+ "format": "uint",
1036
+ "minimum": 0,
1037
+ "type": "integer"
1038
+ },
1039
+ "name": {
1040
+ "type": "string"
1041
+ }
1042
+ },
1043
+ "required": [
1044
+ "name",
1045
+ "expected_count"
1046
+ ],
1047
+ "type": "object"
1048
+ },
1049
+ {
1050
+ "additionalProperties": false,
1051
+ "properties": {
1052
+ "axis": {
1053
+ "$ref": "#/$defs/Axis"
1054
+ },
1055
+ "expected_count": {
1056
+ "format": "uint",
1057
+ "minimum": 0,
1058
+ "type": "integer"
1059
+ },
1060
+ "tolerance": {
1061
+ "$ref": "#/$defs/Scalar"
1062
+ },
1063
+ "value": {
1064
+ "$ref": "#/$defs/Scalar"
1065
+ }
1066
+ },
1067
+ "required": [
1068
+ "axis",
1069
+ "value",
1070
+ "tolerance",
1071
+ "expected_count"
1072
+ ],
1073
+ "type": "object"
1074
+ }
1075
+ ]
1076
+ },
1077
+ "Feature": {
1078
+ "oneOf": [
1079
+ {
1080
+ "additionalProperties": false,
1081
+ "properties": {
1082
+ "angle_deg": {
1083
+ "$ref": "#/$defs/Scalar"
1084
+ },
1085
+ "frame": {
1086
+ "$ref": "#/$defs/Frame",
1087
+ "default": {
1088
+ "origin": [
1089
+ 0,
1090
+ 0,
1091
+ 0
1092
+ ],
1093
+ "x_axis": [
1094
+ 1,
1095
+ 0,
1096
+ 0
1097
+ ],
1098
+ "y_axis": [
1099
+ 0,
1100
+ 1,
1101
+ 0
1102
+ ]
1103
+ }
1104
+ },
1105
+ "height": {
1106
+ "$ref": "#/$defs/Scalar"
1107
+ },
1108
+ "id": {
1109
+ "type": "string"
1110
+ },
1111
+ "op": {
1112
+ "const": "draft_extrude",
1113
+ "type": "string"
1114
+ },
1115
+ "profile": {
1116
+ "$ref": "#/$defs/Profile"
1117
+ }
1118
+ },
1119
+ "required": [
1120
+ "op",
1121
+ "id",
1122
+ "profile",
1123
+ "height",
1124
+ "angle_deg"
1125
+ ],
1126
+ "type": "object"
1127
+ },
1128
+ {
1129
+ "additionalProperties": false,
1130
+ "properties": {
1131
+ "edges": {
1132
+ "additionalProperties": {
1133
+ "$ref": "#/$defs/EdgeSelector"
1134
+ },
1135
+ "default": {},
1136
+ "type": "object"
1137
+ },
1138
+ "faces": {
1139
+ "additionalProperties": {
1140
+ "$ref": "#/$defs/FaceSelector"
1141
+ },
1142
+ "default": {},
1143
+ "type": "object"
1144
+ },
1145
+ "id": {
1146
+ "type": "string"
1147
+ },
1148
+ "input": {
1149
+ "type": "string"
1150
+ },
1151
+ "op": {
1152
+ "const": "name_topology",
1153
+ "type": "string"
1154
+ }
1155
+ },
1156
+ "required": [
1157
+ "op",
1158
+ "id",
1159
+ "input"
1160
+ ],
1161
+ "type": "object"
1162
+ },
1163
+ {
1164
+ "additionalProperties": false,
1165
+ "properties": {
1166
+ "id": {
1167
+ "type": "string"
1168
+ },
1169
+ "op": {
1170
+ "const": "surface_network",
1171
+ "type": "string"
1172
+ },
1173
+ "u_curves": {
1174
+ "items": {
1175
+ "items": {
1176
+ "items": {
1177
+ "$ref": "#/$defs/Scalar"
1178
+ },
1179
+ "maxItems": 3,
1180
+ "minItems": 3,
1181
+ "type": "array"
1182
+ },
1183
+ "type": "array"
1184
+ },
1185
+ "type": "array"
1186
+ },
1187
+ "u_stations": {
1188
+ "items": {
1189
+ "format": "double",
1190
+ "type": "number"
1191
+ },
1192
+ "type": "array"
1193
+ },
1194
+ "v_curves": {
1195
+ "items": {
1196
+ "items": {
1197
+ "items": {
1198
+ "$ref": "#/$defs/Scalar"
1199
+ },
1200
+ "maxItems": 3,
1201
+ "minItems": 3,
1202
+ "type": "array"
1203
+ },
1204
+ "type": "array"
1205
+ },
1206
+ "type": "array"
1207
+ },
1208
+ "v_stations": {
1209
+ "items": {
1210
+ "format": "double",
1211
+ "type": "number"
1212
+ },
1213
+ "type": "array"
1214
+ }
1215
+ },
1216
+ "required": [
1217
+ "op",
1218
+ "id",
1219
+ "u_curves",
1220
+ "v_curves",
1221
+ "u_stations",
1222
+ "v_stations"
1223
+ ],
1224
+ "type": "object"
1225
+ },
1226
+ {
1227
+ "additionalProperties": false,
1228
+ "properties": {
1229
+ "control_points": {
1230
+ "items": {
1231
+ "items": {
1232
+ "items": {
1233
+ "$ref": "#/$defs/Scalar"
1234
+ },
1235
+ "maxItems": 3,
1236
+ "minItems": 3,
1237
+ "type": "array"
1238
+ },
1239
+ "type": "array"
1240
+ },
1241
+ "type": "array"
1242
+ },
1243
+ "id": {
1244
+ "type": "string"
1245
+ },
1246
+ "op": {
1247
+ "const": "surface_patch",
1248
+ "type": "string"
1249
+ }
1250
+ },
1251
+ "required": [
1252
+ "op",
1253
+ "id",
1254
+ "control_points"
1255
+ ],
1256
+ "type": "object"
1257
+ },
1258
+ {
1259
+ "additionalProperties": false,
1260
+ "properties": {
1261
+ "end": {
1262
+ "type": "string"
1263
+ },
1264
+ "end_scale": {
1265
+ "$ref": "#/$defs/Scalar"
1266
+ },
1267
+ "id": {
1268
+ "type": "string"
1269
+ },
1270
+ "op": {
1271
+ "const": "surface_bridge",
1272
+ "type": "string"
1273
+ },
1274
+ "start": {
1275
+ "type": "string"
1276
+ },
1277
+ "start_scale": {
1278
+ "$ref": "#/$defs/Scalar"
1279
+ }
1280
+ },
1281
+ "required": [
1282
+ "op",
1283
+ "id",
1284
+ "start",
1285
+ "end",
1286
+ "start_scale",
1287
+ "end_scale"
1288
+ ],
1289
+ "type": "object"
1290
+ },
1291
+ {
1292
+ "additionalProperties": false,
1293
+ "properties": {
1294
+ "edits": {
1295
+ "items": {
1296
+ "$ref": "#/$defs/ControlEdit"
1297
+ },
1298
+ "type": "array"
1299
+ },
1300
+ "id": {
1301
+ "type": "string"
1302
+ },
1303
+ "input": {
1304
+ "type": "string"
1305
+ },
1306
+ "op": {
1307
+ "const": "surface_edit",
1308
+ "type": "string"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "op",
1313
+ "id",
1314
+ "input",
1315
+ "edits"
1316
+ ],
1317
+ "type": "object"
1318
+ },
1319
+ {
1320
+ "additionalProperties": false,
1321
+ "properties": {
1322
+ "id": {
1323
+ "type": "string"
1324
+ },
1325
+ "input": {
1326
+ "type": "string"
1327
+ },
1328
+ "op": {
1329
+ "const": "thicken",
1330
+ "type": "string"
1331
+ },
1332
+ "thickness": {
1333
+ "$ref": "#/$defs/Scalar"
1334
+ }
1335
+ },
1336
+ "required": [
1337
+ "op",
1338
+ "id",
1339
+ "input",
1340
+ "thickness"
1341
+ ],
1342
+ "type": "object"
1343
+ },
1344
+ {
1345
+ "additionalProperties": false,
1346
+ "properties": {
1347
+ "id": {
1348
+ "type": "string"
1349
+ },
1350
+ "inputs": {
1351
+ "items": {
1352
+ "type": "string"
1353
+ },
1354
+ "type": "array"
1355
+ },
1356
+ "op": {
1357
+ "const": "sew",
1358
+ "type": "string"
1359
+ }
1360
+ },
1361
+ "required": [
1362
+ "op",
1363
+ "id",
1364
+ "inputs"
1365
+ ],
1366
+ "type": "object"
1367
+ },
1368
+ {
1369
+ "additionalProperties": false,
1370
+ "properties": {
1371
+ "id": {
1372
+ "type": "string"
1373
+ },
1374
+ "index": {
1375
+ "default": 0,
1376
+ "format": "uint",
1377
+ "minimum": 0,
1378
+ "type": "integer"
1379
+ },
1380
+ "input": {
1381
+ "type": "string"
1382
+ },
1383
+ "op": {
1384
+ "const": "inspection_region",
1385
+ "type": "string"
1386
+ },
1387
+ "region": {
1388
+ "$ref": "#/$defs/RegionKind"
1389
+ },
1390
+ "require_exact": {
1391
+ "default": false,
1392
+ "type": "boolean"
1393
+ }
1394
+ },
1395
+ "required": [
1396
+ "op",
1397
+ "id",
1398
+ "input",
1399
+ "region"
1400
+ ],
1401
+ "type": "object"
1402
+ },
1403
+ {
1404
+ "additionalProperties": false,
1405
+ "properties": {
1406
+ "cavity_strategy": {
1407
+ "$ref": "#/$defs/Strategy",
1408
+ "default": "offset_then_scaled"
1409
+ },
1410
+ "id": {
1411
+ "type": "string"
1412
+ },
1413
+ "input": {
1414
+ "type": "string"
1415
+ },
1416
+ "op": {
1417
+ "const": "hollow",
1418
+ "type": "string"
1419
+ },
1420
+ "wall": {
1421
+ "$ref": "#/$defs/Scalar"
1422
+ }
1423
+ },
1424
+ "required": [
1425
+ "op",
1426
+ "id",
1427
+ "input",
1428
+ "wall"
1429
+ ],
1430
+ "type": "object"
1431
+ },
1432
+ {
1433
+ "additionalProperties": false,
1434
+ "properties": {
1435
+ "edge_radius": {
1436
+ "$ref": "#/$defs/Scalar",
1437
+ "default": 0
1438
+ },
1439
+ "floor": {
1440
+ "$ref": "#/$defs/Scalar"
1441
+ },
1442
+ "frame": {
1443
+ "$ref": "#/$defs/Frame",
1444
+ "default": {
1445
+ "origin": [
1446
+ 0,
1447
+ 0,
1448
+ 0
1449
+ ],
1450
+ "x_axis": [
1451
+ 1,
1452
+ 0,
1453
+ 0
1454
+ ],
1455
+ "y_axis": [
1456
+ 0,
1457
+ 1,
1458
+ 0
1459
+ ]
1460
+ }
1461
+ },
1462
+ "height": {
1463
+ "$ref": "#/$defs/Scalar"
1464
+ },
1465
+ "id": {
1466
+ "type": "string"
1467
+ },
1468
+ "op": {
1469
+ "const": "shell_body",
1470
+ "type": "string"
1471
+ },
1472
+ "open_face": {
1473
+ "$ref": "#/$defs/OpenFace"
1474
+ },
1475
+ "profile": {
1476
+ "$ref": "#/$defs/Profile"
1477
+ },
1478
+ "wall": {
1479
+ "$ref": "#/$defs/Scalar"
1480
+ }
1481
+ },
1482
+ "required": [
1483
+ "op",
1484
+ "id",
1485
+ "profile",
1486
+ "height",
1487
+ "wall",
1488
+ "floor",
1489
+ "open_face"
1490
+ ],
1491
+ "type": "object"
1492
+ },
1493
+ {
1494
+ "additionalProperties": false,
1495
+ "properties": {
1496
+ "clearance": {
1497
+ "$ref": "#/$defs/Scalar"
1498
+ },
1499
+ "frame": {
1500
+ "$ref": "#/$defs/Frame",
1501
+ "default": {
1502
+ "origin": [
1503
+ 0,
1504
+ 0,
1505
+ 0
1506
+ ],
1507
+ "x_axis": [
1508
+ 1,
1509
+ 0,
1510
+ 0
1511
+ ],
1512
+ "y_axis": [
1513
+ 0,
1514
+ 1,
1515
+ 0
1516
+ ]
1517
+ }
1518
+ },
1519
+ "id": {
1520
+ "type": "string"
1521
+ },
1522
+ "lip_height": {
1523
+ "$ref": "#/$defs/Scalar"
1524
+ },
1525
+ "op": {
1526
+ "const": "lid_for",
1527
+ "type": "string"
1528
+ },
1529
+ "profile": {
1530
+ "$ref": "#/$defs/Profile"
1531
+ },
1532
+ "thickness": {
1533
+ "$ref": "#/$defs/Scalar"
1534
+ },
1535
+ "wall": {
1536
+ "$ref": "#/$defs/Scalar"
1537
+ }
1538
+ },
1539
+ "required": [
1540
+ "op",
1541
+ "id",
1542
+ "profile",
1543
+ "wall",
1544
+ "thickness",
1545
+ "lip_height",
1546
+ "clearance"
1547
+ ],
1548
+ "type": "object"
1549
+ },
1550
+ {
1551
+ "additionalProperties": false,
1552
+ "properties": {
1553
+ "center": {
1554
+ "items": {
1555
+ "$ref": "#/$defs/Scalar"
1556
+ },
1557
+ "maxItems": 2,
1558
+ "minItems": 2,
1559
+ "type": "array"
1560
+ },
1561
+ "depth": {
1562
+ "$ref": "#/$defs/Scalar"
1563
+ },
1564
+ "face": {
1565
+ "$ref": "#/$defs/BoxFace"
1566
+ },
1567
+ "id": {
1568
+ "type": "string"
1569
+ },
1570
+ "input": {
1571
+ "type": "string"
1572
+ },
1573
+ "op": {
1574
+ "const": "face_cutout",
1575
+ "type": "string"
1576
+ },
1577
+ "profile": {
1578
+ "$ref": "#/$defs/Profile"
1579
+ }
1580
+ },
1581
+ "required": [
1582
+ "op",
1583
+ "id",
1584
+ "input",
1585
+ "face",
1586
+ "center",
1587
+ "profile",
1588
+ "depth"
1589
+ ],
1590
+ "type": "object"
1591
+ },
1592
+ {
1593
+ "additionalProperties": false,
1594
+ "properties": {
1595
+ "center": {
1596
+ "items": {
1597
+ "$ref": "#/$defs/Scalar"
1598
+ },
1599
+ "maxItems": 2,
1600
+ "minItems": 2,
1601
+ "type": "array"
1602
+ },
1603
+ "count": {
1604
+ "items": {
1605
+ "$ref": "#/$defs/Scalar"
1606
+ },
1607
+ "maxItems": 2,
1608
+ "minItems": 2,
1609
+ "type": "array"
1610
+ },
1611
+ "counterbore": {
1612
+ "anyOf": [
1613
+ {
1614
+ "$ref": "#/$defs/Counterbore"
1615
+ },
1616
+ {
1617
+ "type": "null"
1618
+ }
1619
+ ],
1620
+ "default": null
1621
+ },
1622
+ "depth": {
1623
+ "$ref": "#/$defs/Scalar"
1624
+ },
1625
+ "face": {
1626
+ "$ref": "#/$defs/BoxFace"
1627
+ },
1628
+ "id": {
1629
+ "type": "string"
1630
+ },
1631
+ "input": {
1632
+ "type": "string"
1633
+ },
1634
+ "op": {
1635
+ "const": "face_hole_grid",
1636
+ "type": "string"
1637
+ },
1638
+ "radius": {
1639
+ "$ref": "#/$defs/Scalar"
1640
+ },
1641
+ "spacing": {
1642
+ "items": {
1643
+ "$ref": "#/$defs/Scalar"
1644
+ },
1645
+ "maxItems": 2,
1646
+ "minItems": 2,
1647
+ "type": "array"
1648
+ }
1649
+ },
1650
+ "required": [
1651
+ "op",
1652
+ "id",
1653
+ "input",
1654
+ "face",
1655
+ "center",
1656
+ "count",
1657
+ "spacing",
1658
+ "radius",
1659
+ "depth"
1660
+ ],
1661
+ "type": "object"
1662
+ },
1663
+ {
1664
+ "additionalProperties": false,
1665
+ "properties": {
1666
+ "center": {
1667
+ "items": {
1668
+ "$ref": "#/$defs/Scalar"
1669
+ },
1670
+ "maxItems": 2,
1671
+ "minItems": 2,
1672
+ "type": "array"
1673
+ },
1674
+ "depth": {
1675
+ "$ref": "#/$defs/Scalar"
1676
+ },
1677
+ "face": {
1678
+ "$ref": "#/$defs/BoxFace"
1679
+ },
1680
+ "id": {
1681
+ "type": "string"
1682
+ },
1683
+ "input": {
1684
+ "type": "string"
1685
+ },
1686
+ "op": {
1687
+ "const": "face_tool",
1688
+ "type": "string"
1689
+ },
1690
+ "profile": {
1691
+ "$ref": "#/$defs/Profile"
1692
+ }
1693
+ },
1694
+ "required": [
1695
+ "op",
1696
+ "id",
1697
+ "input",
1698
+ "face",
1699
+ "center",
1700
+ "profile",
1701
+ "depth"
1702
+ ],
1703
+ "type": "object"
1704
+ },
1705
+ {
1706
+ "additionalProperties": false,
1707
+ "properties": {
1708
+ "counterbore": {
1709
+ "anyOf": [
1710
+ {
1711
+ "$ref": "#/$defs/Counterbore"
1712
+ },
1713
+ {
1714
+ "type": "null"
1715
+ }
1716
+ ],
1717
+ "default": null
1718
+ },
1719
+ "depth": {
1720
+ "$ref": "#/$defs/Scalar"
1721
+ },
1722
+ "face": {
1723
+ "$ref": "#/$defs/BoxFace"
1724
+ },
1725
+ "id": {
1726
+ "type": "string"
1727
+ },
1728
+ "input": {
1729
+ "type": "string"
1730
+ },
1731
+ "op": {
1732
+ "const": "face_holes",
1733
+ "type": "string"
1734
+ },
1735
+ "positions": {
1736
+ "items": {
1737
+ "items": {
1738
+ "$ref": "#/$defs/Scalar"
1739
+ },
1740
+ "maxItems": 2,
1741
+ "minItems": 2,
1742
+ "type": "array"
1743
+ },
1744
+ "type": "array"
1745
+ },
1746
+ "radius": {
1747
+ "$ref": "#/$defs/Scalar"
1748
+ }
1749
+ },
1750
+ "required": [
1751
+ "op",
1752
+ "id",
1753
+ "input",
1754
+ "face",
1755
+ "positions",
1756
+ "radius",
1757
+ "depth"
1758
+ ],
1759
+ "type": "object"
1760
+ },
1761
+ {
1762
+ "additionalProperties": false,
1763
+ "properties": {
1764
+ "depth": {
1765
+ "$ref": "#/$defs/Scalar"
1766
+ },
1767
+ "frame": {
1768
+ "$ref": "#/$defs/Frame"
1769
+ },
1770
+ "id": {
1771
+ "type": "string"
1772
+ },
1773
+ "input": {
1774
+ "type": "string"
1775
+ },
1776
+ "op": {
1777
+ "const": "cutout",
1778
+ "type": "string"
1779
+ },
1780
+ "profile": {
1781
+ "$ref": "#/$defs/Profile"
1782
+ }
1783
+ },
1784
+ "required": [
1785
+ "op",
1786
+ "id",
1787
+ "input",
1788
+ "profile",
1789
+ "frame",
1790
+ "depth"
1791
+ ],
1792
+ "type": "object"
1793
+ },
1794
+ {
1795
+ "additionalProperties": false,
1796
+ "properties": {
1797
+ "counterbore": {
1798
+ "anyOf": [
1799
+ {
1800
+ "$ref": "#/$defs/Counterbore"
1801
+ },
1802
+ {
1803
+ "type": "null"
1804
+ }
1805
+ ],
1806
+ "default": null
1807
+ },
1808
+ "depth": {
1809
+ "$ref": "#/$defs/Scalar"
1810
+ },
1811
+ "frame": {
1812
+ "$ref": "#/$defs/Frame"
1813
+ },
1814
+ "id": {
1815
+ "type": "string"
1816
+ },
1817
+ "input": {
1818
+ "type": "string"
1819
+ },
1820
+ "op": {
1821
+ "const": "holes",
1822
+ "type": "string"
1823
+ },
1824
+ "positions": {
1825
+ "items": {
1826
+ "items": {
1827
+ "$ref": "#/$defs/Scalar"
1828
+ },
1829
+ "maxItems": 2,
1830
+ "minItems": 2,
1831
+ "type": "array"
1832
+ },
1833
+ "type": "array"
1834
+ },
1835
+ "radius": {
1836
+ "$ref": "#/$defs/Scalar"
1837
+ }
1838
+ },
1839
+ "required": [
1840
+ "op",
1841
+ "id",
1842
+ "input",
1843
+ "frame",
1844
+ "positions",
1845
+ "radius",
1846
+ "depth"
1847
+ ],
1848
+ "type": "object"
1849
+ },
1850
+ {
1851
+ "additionalProperties": false,
1852
+ "properties": {
1853
+ "axis": {
1854
+ "$ref": "#/$defs/Axis"
1855
+ },
1856
+ "id": {
1857
+ "type": "string"
1858
+ },
1859
+ "input": {
1860
+ "type": "string"
1861
+ },
1862
+ "keep_positive": {
1863
+ "type": "boolean"
1864
+ },
1865
+ "op": {
1866
+ "const": "split",
1867
+ "type": "string"
1868
+ },
1869
+ "value": {
1870
+ "$ref": "#/$defs/Scalar"
1871
+ }
1872
+ },
1873
+ "required": [
1874
+ "op",
1875
+ "id",
1876
+ "input",
1877
+ "axis",
1878
+ "value",
1879
+ "keep_positive"
1880
+ ],
1881
+ "type": "object"
1882
+ },
1883
+ {
1884
+ "additionalProperties": false,
1885
+ "properties": {
1886
+ "frame": {
1887
+ "$ref": "#/$defs/Frame",
1888
+ "default": {
1889
+ "origin": [
1890
+ 0,
1891
+ 0,
1892
+ 0
1893
+ ],
1894
+ "x_axis": [
1895
+ 1,
1896
+ 0,
1897
+ 0
1898
+ ],
1899
+ "y_axis": [
1900
+ 0,
1901
+ 1,
1902
+ 0
1903
+ ]
1904
+ }
1905
+ },
1906
+ "height": {
1907
+ "$ref": "#/$defs/Scalar"
1908
+ },
1909
+ "holes": {
1910
+ "default": [],
1911
+ "items": {
1912
+ "$ref": "#/$defs/Profile"
1913
+ },
1914
+ "type": "array"
1915
+ },
1916
+ "id": {
1917
+ "type": "string"
1918
+ },
1919
+ "op": {
1920
+ "const": "extrude",
1921
+ "type": "string"
1922
+ },
1923
+ "profile": {
1924
+ "$ref": "#/$defs/Profile"
1925
+ }
1926
+ },
1927
+ "required": [
1928
+ "op",
1929
+ "id",
1930
+ "profile",
1931
+ "height"
1932
+ ],
1933
+ "type": "object"
1934
+ },
1935
+ {
1936
+ "additionalProperties": false,
1937
+ "properties": {
1938
+ "angle_deg": {
1939
+ "$ref": "#/$defs/Scalar"
1940
+ },
1941
+ "axis": {
1942
+ "items": {
1943
+ "$ref": "#/$defs/Scalar"
1944
+ },
1945
+ "maxItems": 3,
1946
+ "minItems": 3,
1947
+ "type": "array"
1948
+ },
1949
+ "axis_origin": {
1950
+ "items": {
1951
+ "$ref": "#/$defs/Scalar"
1952
+ },
1953
+ "maxItems": 3,
1954
+ "minItems": 3,
1955
+ "type": "array"
1956
+ },
1957
+ "frame": {
1958
+ "$ref": "#/$defs/Frame",
1959
+ "default": {
1960
+ "origin": [
1961
+ 0,
1962
+ 0,
1963
+ 0
1964
+ ],
1965
+ "x_axis": [
1966
+ 1,
1967
+ 0,
1968
+ 0
1969
+ ],
1970
+ "y_axis": [
1971
+ 0,
1972
+ 1,
1973
+ 0
1974
+ ]
1975
+ }
1976
+ },
1977
+ "id": {
1978
+ "type": "string"
1979
+ },
1980
+ "op": {
1981
+ "const": "revolve",
1982
+ "type": "string"
1983
+ },
1984
+ "profile": {
1985
+ "$ref": "#/$defs/Profile"
1986
+ }
1987
+ },
1988
+ "required": [
1989
+ "op",
1990
+ "id",
1991
+ "profile",
1992
+ "axis_origin",
1993
+ "axis",
1994
+ "angle_deg"
1995
+ ],
1996
+ "type": "object"
1997
+ },
1998
+ {
1999
+ "additionalProperties": false,
2000
+ "properties": {
2001
+ "frame": {
2002
+ "$ref": "#/$defs/Frame"
2003
+ },
2004
+ "id": {
2005
+ "type": "string"
2006
+ },
2007
+ "op": {
2008
+ "const": "sweep",
2009
+ "type": "string"
2010
+ },
2011
+ "path": {
2012
+ "items": {
2013
+ "$ref": "#/$defs/PathCurve"
2014
+ },
2015
+ "type": "array"
2016
+ },
2017
+ "profile": {
2018
+ "$ref": "#/$defs/Profile"
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "op",
2023
+ "id",
2024
+ "profile",
2025
+ "frame",
2026
+ "path"
2027
+ ],
2028
+ "type": "object"
2029
+ },
2030
+ {
2031
+ "additionalProperties": false,
2032
+ "properties": {
2033
+ "frame": {
2034
+ "$ref": "#/$defs/Frame"
2035
+ },
2036
+ "id": {
2037
+ "type": "string"
2038
+ },
2039
+ "op": {
2040
+ "const": "curve_sweep",
2041
+ "type": "string"
2042
+ },
2043
+ "path": {
2044
+ "$ref": "#/$defs/PathCurve"
2045
+ },
2046
+ "profile": {
2047
+ "$ref": "#/$defs/Profile"
2048
+ },
2049
+ "translational": {
2050
+ "default": false,
2051
+ "type": "boolean"
2052
+ }
2053
+ },
2054
+ "required": [
2055
+ "op",
2056
+ "id",
2057
+ "profile",
2058
+ "frame",
2059
+ "path"
2060
+ ],
2061
+ "type": "object"
2062
+ },
2063
+ {
2064
+ "additionalProperties": false,
2065
+ "properties": {
2066
+ "id": {
2067
+ "type": "string"
2068
+ },
2069
+ "op": {
2070
+ "const": "pipe",
2071
+ "type": "string"
2072
+ },
2073
+ "path": {
2074
+ "$ref": "#/$defs/PathCurve"
2075
+ },
2076
+ "radius": {
2077
+ "$ref": "#/$defs/Scalar"
2078
+ }
2079
+ },
2080
+ "required": [
2081
+ "op",
2082
+ "id",
2083
+ "path",
2084
+ "radius"
2085
+ ],
2086
+ "type": "object"
2087
+ },
2088
+ {
2089
+ "additionalProperties": false,
2090
+ "properties": {
2091
+ "degree": {
2092
+ "format": "uint",
2093
+ "minimum": 0,
2094
+ "type": "integer"
2095
+ },
2096
+ "id": {
2097
+ "type": "string"
2098
+ },
2099
+ "op": {
2100
+ "const": "profile_loft",
2101
+ "type": "string"
2102
+ },
2103
+ "sections": {
2104
+ "items": {
2105
+ "$ref": "#/$defs/ProfileSection"
2106
+ },
2107
+ "type": "array"
2108
+ }
2109
+ },
2110
+ "required": [
2111
+ "op",
2112
+ "id",
2113
+ "sections",
2114
+ "degree"
2115
+ ],
2116
+ "type": "object"
2117
+ },
2118
+ {
2119
+ "additionalProperties": false,
2120
+ "properties": {
2121
+ "id": {
2122
+ "type": "string"
2123
+ },
2124
+ "input": {
2125
+ "type": "string"
2126
+ },
2127
+ "op": {
2128
+ "const": "place",
2129
+ "type": "string"
2130
+ },
2131
+ "rotation_deg": {
2132
+ "items": {
2133
+ "$ref": "#/$defs/Scalar"
2134
+ },
2135
+ "maxItems": 3,
2136
+ "minItems": 3,
2137
+ "type": "array"
2138
+ },
2139
+ "rotation_order": {
2140
+ "$ref": "#/$defs/RotationOrder",
2141
+ "default": "xyz"
2142
+ },
2143
+ "translation": {
2144
+ "items": {
2145
+ "$ref": "#/$defs/Scalar"
2146
+ },
2147
+ "maxItems": 3,
2148
+ "minItems": 3,
2149
+ "type": "array"
2150
+ }
2151
+ },
2152
+ "required": [
2153
+ "op",
2154
+ "id",
2155
+ "input",
2156
+ "translation",
2157
+ "rotation_deg"
2158
+ ],
2159
+ "type": "object"
2160
+ },
2161
+ {
2162
+ "additionalProperties": false,
2163
+ "properties": {
2164
+ "angle_deg": {
2165
+ "$ref": "#/$defs/Scalar"
2166
+ },
2167
+ "axis": {
2168
+ "items": {
2169
+ "$ref": "#/$defs/Scalar"
2170
+ },
2171
+ "maxItems": 3,
2172
+ "minItems": 3,
2173
+ "type": "array"
2174
+ },
2175
+ "id": {
2176
+ "type": "string"
2177
+ },
2178
+ "input": {
2179
+ "type": "string"
2180
+ },
2181
+ "op": {
2182
+ "const": "rotate",
2183
+ "type": "string"
2184
+ },
2185
+ "origin": {
2186
+ "items": {
2187
+ "$ref": "#/$defs/Scalar"
2188
+ },
2189
+ "maxItems": 3,
2190
+ "minItems": 3,
2191
+ "type": "array"
2192
+ }
2193
+ },
2194
+ "required": [
2195
+ "op",
2196
+ "id",
2197
+ "input",
2198
+ "origin",
2199
+ "axis",
2200
+ "angle_deg"
2201
+ ],
2202
+ "type": "object"
2203
+ },
2204
+ {
2205
+ "additionalProperties": false,
2206
+ "properties": {
2207
+ "id": {
2208
+ "type": "string"
2209
+ },
2210
+ "input": {
2211
+ "type": "string"
2212
+ },
2213
+ "normal": {
2214
+ "items": {
2215
+ "$ref": "#/$defs/Scalar"
2216
+ },
2217
+ "maxItems": 3,
2218
+ "minItems": 3,
2219
+ "type": "array"
2220
+ },
2221
+ "op": {
2222
+ "const": "mirror",
2223
+ "type": "string"
2224
+ },
2225
+ "origin": {
2226
+ "items": {
2227
+ "$ref": "#/$defs/Scalar"
2228
+ },
2229
+ "maxItems": 3,
2230
+ "minItems": 3,
2231
+ "type": "array"
2232
+ }
2233
+ },
2234
+ "required": [
2235
+ "op",
2236
+ "id",
2237
+ "input",
2238
+ "origin",
2239
+ "normal"
2240
+ ],
2241
+ "type": "object"
2242
+ },
2243
+ {
2244
+ "additionalProperties": false,
2245
+ "properties": {
2246
+ "id": {
2247
+ "type": "string"
2248
+ },
2249
+ "input": {
2250
+ "type": "string"
2251
+ },
2252
+ "on_fail": {
2253
+ "$ref": "#/$defs/OnFailure",
2254
+ "default": {
2255
+ "kind": "raise"
2256
+ }
2257
+ },
2258
+ "op": {
2259
+ "const": "fillet",
2260
+ "type": "string"
2261
+ },
2262
+ "radius": {
2263
+ "$ref": "#/$defs/Scalar"
2264
+ },
2265
+ "select": {
2266
+ "$ref": "#/$defs/EdgeSelector"
2267
+ }
2268
+ },
2269
+ "required": [
2270
+ "op",
2271
+ "id",
2272
+ "input",
2273
+ "select",
2274
+ "radius"
2275
+ ],
2276
+ "type": "object"
2277
+ },
2278
+ {
2279
+ "additionalProperties": false,
2280
+ "properties": {
2281
+ "id": {
2282
+ "type": "string"
2283
+ },
2284
+ "input": {
2285
+ "type": "string"
2286
+ },
2287
+ "length": {
2288
+ "$ref": "#/$defs/Scalar"
2289
+ },
2290
+ "on_fail": {
2291
+ "$ref": "#/$defs/OnFailure",
2292
+ "default": {
2293
+ "kind": "raise"
2294
+ }
2295
+ },
2296
+ "op": {
2297
+ "const": "chamfer",
2298
+ "type": "string"
2299
+ },
2300
+ "select": {
2301
+ "$ref": "#/$defs/EdgeSelector"
2302
+ }
2303
+ },
2304
+ "required": [
2305
+ "op",
2306
+ "id",
2307
+ "input",
2308
+ "select",
2309
+ "length"
2310
+ ],
2311
+ "type": "object"
2312
+ },
2313
+ {
2314
+ "additionalProperties": false,
2315
+ "properties": {
2316
+ "id": {
2317
+ "type": "string"
2318
+ },
2319
+ "input": {
2320
+ "type": "string"
2321
+ },
2322
+ "op": {
2323
+ "const": "shell",
2324
+ "type": "string"
2325
+ },
2326
+ "open_faces": {
2327
+ "default": [],
2328
+ "items": {
2329
+ "$ref": "#/$defs/FaceSelector"
2330
+ },
2331
+ "type": "array"
2332
+ },
2333
+ "thickness": {
2334
+ "$ref": "#/$defs/Scalar"
2335
+ }
2336
+ },
2337
+ "required": [
2338
+ "op",
2339
+ "id",
2340
+ "input",
2341
+ "thickness"
2342
+ ],
2343
+ "type": "object"
2344
+ },
2345
+ {
2346
+ "additionalProperties": false,
2347
+ "properties": {
2348
+ "height": {
2349
+ "$ref": "#/$defs/Scalar"
2350
+ },
2351
+ "hole_depth": {
2352
+ "$ref": "#/$defs/Scalar"
2353
+ },
2354
+ "hole_radius": {
2355
+ "$ref": "#/$defs/Scalar"
2356
+ },
2357
+ "id": {
2358
+ "type": "string"
2359
+ },
2360
+ "op": {
2361
+ "const": "boss",
2362
+ "type": "string"
2363
+ },
2364
+ "origin": {
2365
+ "items": {
2366
+ "$ref": "#/$defs/Scalar"
2367
+ },
2368
+ "maxItems": 3,
2369
+ "minItems": 3,
2370
+ "type": "array"
2371
+ },
2372
+ "outer_radius": {
2373
+ "$ref": "#/$defs/Scalar"
2374
+ }
2375
+ },
2376
+ "required": [
2377
+ "op",
2378
+ "id",
2379
+ "origin",
2380
+ "outer_radius",
2381
+ "height",
2382
+ "hole_radius",
2383
+ "hole_depth"
2384
+ ],
2385
+ "type": "object"
2386
+ },
2387
+ {
2388
+ "additionalProperties": false,
2389
+ "properties": {
2390
+ "id": {
2391
+ "type": "string"
2392
+ },
2393
+ "input": {
2394
+ "type": "string"
2395
+ },
2396
+ "op": {
2397
+ "const": "pattern",
2398
+ "type": "string"
2399
+ },
2400
+ "positions": {
2401
+ "items": {
2402
+ "items": {
2403
+ "$ref": "#/$defs/Scalar"
2404
+ },
2405
+ "maxItems": 3,
2406
+ "minItems": 3,
2407
+ "type": "array"
2408
+ },
2409
+ "type": "array"
2410
+ }
2411
+ },
2412
+ "required": [
2413
+ "op",
2414
+ "id",
2415
+ "input",
2416
+ "positions"
2417
+ ],
2418
+ "type": "object"
2419
+ },
2420
+ {
2421
+ "additionalProperties": false,
2422
+ "properties": {
2423
+ "asset": {
2424
+ "type": "string"
2425
+ },
2426
+ "frame_rotation_deg": {
2427
+ "default": [
2428
+ 0,
2429
+ 0,
2430
+ 0
2431
+ ],
2432
+ "items": {
2433
+ "$ref": "#/$defs/Scalar"
2434
+ },
2435
+ "maxItems": 3,
2436
+ "minItems": 3,
2437
+ "type": "array"
2438
+ },
2439
+ "id": {
2440
+ "type": "string"
2441
+ },
2442
+ "op": {
2443
+ "const": "component_cad",
2444
+ "type": "string"
2445
+ },
2446
+ "size": {
2447
+ "items": {
2448
+ "$ref": "#/$defs/Scalar"
2449
+ },
2450
+ "maxItems": 3,
2451
+ "minItems": 3,
2452
+ "type": "array"
2453
+ }
2454
+ },
2455
+ "required": [
2456
+ "op",
2457
+ "id",
2458
+ "asset",
2459
+ "size"
2460
+ ],
2461
+ "type": "object"
2462
+ },
2463
+ {
2464
+ "additionalProperties": false,
2465
+ "properties": {
2466
+ "assembly": {
2467
+ "default": false,
2468
+ "type": "boolean"
2469
+ },
2470
+ "asset": {
2471
+ "type": "string"
2472
+ },
2473
+ "body_index": {
2474
+ "default": 0,
2475
+ "format": "uint",
2476
+ "minimum": 0,
2477
+ "type": "integer"
2478
+ },
2479
+ "definition": {
2480
+ "default": false,
2481
+ "type": "boolean"
2482
+ },
2483
+ "id": {
2484
+ "type": "string"
2485
+ },
2486
+ "op": {
2487
+ "const": "import_step",
2488
+ "type": "string"
2489
+ }
2490
+ },
2491
+ "required": [
2492
+ "op",
2493
+ "id",
2494
+ "asset"
2495
+ ],
2496
+ "type": "object"
2497
+ },
2498
+ {
2499
+ "additionalProperties": false,
2500
+ "properties": {
2501
+ "degree": {
2502
+ "format": "uint",
2503
+ "minimum": 0,
2504
+ "type": "integer"
2505
+ },
2506
+ "id": {
2507
+ "type": "string"
2508
+ },
2509
+ "op": {
2510
+ "const": "loft",
2511
+ "type": "string"
2512
+ },
2513
+ "sections": {
2514
+ "items": {
2515
+ "$ref": "#/$defs/LoftSection"
2516
+ },
2517
+ "type": "array"
2518
+ }
2519
+ },
2520
+ "required": [
2521
+ "op",
2522
+ "id",
2523
+ "sections",
2524
+ "degree"
2525
+ ],
2526
+ "type": "object"
2527
+ },
2528
+ {
2529
+ "additionalProperties": false,
2530
+ "properties": {
2531
+ "id": {
2532
+ "type": "string"
2533
+ },
2534
+ "op": {
2535
+ "const": "box",
2536
+ "type": "string"
2537
+ },
2538
+ "origin": {
2539
+ "items": {
2540
+ "$ref": "#/$defs/Scalar"
2541
+ },
2542
+ "maxItems": 3,
2543
+ "minItems": 3,
2544
+ "type": "array"
2545
+ },
2546
+ "size": {
2547
+ "items": {
2548
+ "$ref": "#/$defs/Scalar"
2549
+ },
2550
+ "maxItems": 3,
2551
+ "minItems": 3,
2552
+ "type": "array"
2553
+ }
2554
+ },
2555
+ "required": [
2556
+ "op",
2557
+ "id",
2558
+ "origin",
2559
+ "size"
2560
+ ],
2561
+ "type": "object"
2562
+ },
2563
+ {
2564
+ "additionalProperties": false,
2565
+ "properties": {
2566
+ "base_radius": {
2567
+ "$ref": "#/$defs/Scalar"
2568
+ },
2569
+ "height": {
2570
+ "$ref": "#/$defs/Scalar"
2571
+ },
2572
+ "id": {
2573
+ "type": "string"
2574
+ },
2575
+ "op": {
2576
+ "const": "cone",
2577
+ "type": "string"
2578
+ },
2579
+ "origin": {
2580
+ "items": {
2581
+ "$ref": "#/$defs/Scalar"
2582
+ },
2583
+ "maxItems": 3,
2584
+ "minItems": 3,
2585
+ "type": "array"
2586
+ },
2587
+ "top_radius": {
2588
+ "$ref": "#/$defs/Scalar"
2589
+ }
2590
+ },
2591
+ "required": [
2592
+ "op",
2593
+ "id",
2594
+ "origin",
2595
+ "base_radius",
2596
+ "top_radius",
2597
+ "height"
2598
+ ],
2599
+ "type": "object"
2600
+ },
2601
+ {
2602
+ "additionalProperties": false,
2603
+ "properties": {
2604
+ "height": {
2605
+ "$ref": "#/$defs/Scalar"
2606
+ },
2607
+ "id": {
2608
+ "type": "string"
2609
+ },
2610
+ "op": {
2611
+ "const": "cylinder",
2612
+ "type": "string"
2613
+ },
2614
+ "origin": {
2615
+ "items": {
2616
+ "$ref": "#/$defs/Scalar"
2617
+ },
2618
+ "maxItems": 3,
2619
+ "minItems": 3,
2620
+ "type": "array"
2621
+ },
2622
+ "radius": {
2623
+ "$ref": "#/$defs/Scalar"
2624
+ }
2625
+ },
2626
+ "required": [
2627
+ "op",
2628
+ "id",
2629
+ "origin",
2630
+ "radius",
2631
+ "height"
2632
+ ],
2633
+ "type": "object"
2634
+ },
2635
+ {
2636
+ "additionalProperties": false,
2637
+ "properties": {
2638
+ "center": {
2639
+ "items": {
2640
+ "$ref": "#/$defs/Scalar"
2641
+ },
2642
+ "maxItems": 3,
2643
+ "minItems": 3,
2644
+ "type": "array"
2645
+ },
2646
+ "id": {
2647
+ "type": "string"
2648
+ },
2649
+ "op": {
2650
+ "const": "sphere",
2651
+ "type": "string"
2652
+ },
2653
+ "radius": {
2654
+ "$ref": "#/$defs/Scalar"
2655
+ }
2656
+ },
2657
+ "required": [
2658
+ "op",
2659
+ "id",
2660
+ "center",
2661
+ "radius"
2662
+ ],
2663
+ "type": "object"
2664
+ },
2665
+ {
2666
+ "additionalProperties": false,
2667
+ "properties": {
2668
+ "id": {
2669
+ "type": "string"
2670
+ },
2671
+ "left": {
2672
+ "type": "string"
2673
+ },
2674
+ "op": {
2675
+ "const": "cut",
2676
+ "type": "string"
2677
+ },
2678
+ "right": {
2679
+ "type": "string"
2680
+ }
2681
+ },
2682
+ "required": [
2683
+ "op",
2684
+ "id",
2685
+ "left",
2686
+ "right"
2687
+ ],
2688
+ "type": "object"
2689
+ },
2690
+ {
2691
+ "additionalProperties": false,
2692
+ "properties": {
2693
+ "id": {
2694
+ "type": "string"
2695
+ },
2696
+ "left": {
2697
+ "type": "string"
2698
+ },
2699
+ "op": {
2700
+ "const": "union",
2701
+ "type": "string"
2702
+ },
2703
+ "right": {
2704
+ "type": "string"
2705
+ }
2706
+ },
2707
+ "required": [
2708
+ "op",
2709
+ "id",
2710
+ "left",
2711
+ "right"
2712
+ ],
2713
+ "type": "object"
2714
+ },
2715
+ {
2716
+ "additionalProperties": false,
2717
+ "properties": {
2718
+ "id": {
2719
+ "type": "string"
2720
+ },
2721
+ "left": {
2722
+ "type": "string"
2723
+ },
2724
+ "op": {
2725
+ "const": "intersect",
2726
+ "type": "string"
2727
+ },
2728
+ "right": {
2729
+ "type": "string"
2730
+ }
2731
+ },
2732
+ "required": [
2733
+ "op",
2734
+ "id",
2735
+ "left",
2736
+ "right"
2737
+ ],
2738
+ "type": "object"
2739
+ },
2740
+ {
2741
+ "additionalProperties": false,
2742
+ "properties": {
2743
+ "id": {
2744
+ "type": "string"
2745
+ },
2746
+ "input": {
2747
+ "type": "string"
2748
+ },
2749
+ "offset": {
2750
+ "items": {
2751
+ "$ref": "#/$defs/Scalar"
2752
+ },
2753
+ "maxItems": 3,
2754
+ "minItems": 3,
2755
+ "type": "array"
2756
+ },
2757
+ "op": {
2758
+ "const": "translate",
2759
+ "type": "string"
2760
+ }
2761
+ },
2762
+ "required": [
2763
+ "op",
2764
+ "id",
2765
+ "input",
2766
+ "offset"
2767
+ ],
2768
+ "type": "object"
2769
+ },
2770
+ {
2771
+ "additionalProperties": false,
2772
+ "properties": {
2773
+ "count": {
2774
+ "items": {
2775
+ "$ref": "#/$defs/Scalar"
2776
+ },
2777
+ "maxItems": 2,
2778
+ "minItems": 2,
2779
+ "type": "array"
2780
+ },
2781
+ "depth": {
2782
+ "$ref": "#/$defs/Scalar"
2783
+ },
2784
+ "id": {
2785
+ "type": "string"
2786
+ },
2787
+ "input": {
2788
+ "type": "string"
2789
+ },
2790
+ "op": {
2791
+ "const": "hole_grid",
2792
+ "type": "string"
2793
+ },
2794
+ "origin": {
2795
+ "items": {
2796
+ "$ref": "#/$defs/Scalar"
2797
+ },
2798
+ "maxItems": 3,
2799
+ "minItems": 3,
2800
+ "type": "array"
2801
+ },
2802
+ "radius": {
2803
+ "$ref": "#/$defs/Scalar"
2804
+ },
2805
+ "spacing": {
2806
+ "items": {
2807
+ "$ref": "#/$defs/Scalar"
2808
+ },
2809
+ "maxItems": 2,
2810
+ "minItems": 2,
2811
+ "type": "array"
2812
+ }
2813
+ },
2814
+ "required": [
2815
+ "op",
2816
+ "id",
2817
+ "input",
2818
+ "origin",
2819
+ "radius",
2820
+ "depth",
2821
+ "count",
2822
+ "spacing"
2823
+ ],
2824
+ "type": "object"
2825
+ }
2826
+ ]
2827
+ },
2828
+ "Frame": {
2829
+ "additionalProperties": false,
2830
+ "properties": {
2831
+ "origin": {
2832
+ "items": {
2833
+ "$ref": "#/$defs/Scalar"
2834
+ },
2835
+ "maxItems": 3,
2836
+ "minItems": 3,
2837
+ "type": "array"
2838
+ },
2839
+ "x_axis": {
2840
+ "items": {
2841
+ "$ref": "#/$defs/Scalar"
2842
+ },
2843
+ "maxItems": 3,
2844
+ "minItems": 3,
2845
+ "type": "array"
2846
+ },
2847
+ "y_axis": {
2848
+ "items": {
2849
+ "$ref": "#/$defs/Scalar"
2850
+ },
2851
+ "maxItems": 3,
2852
+ "minItems": 3,
2853
+ "type": "array"
2854
+ }
2855
+ },
2856
+ "required": [
2857
+ "origin",
2858
+ "x_axis",
2859
+ "y_axis"
2860
+ ],
2861
+ "type": "object"
2862
+ },
2863
+ "Group": {
2864
+ "additionalProperties": false,
2865
+ "properties": {
2866
+ "id": {
2867
+ "type": "string"
2868
+ },
2869
+ "parent": {
2870
+ "default": null,
2871
+ "type": [
2872
+ "string",
2873
+ "null"
2874
+ ]
2875
+ },
2876
+ "pose": {
2877
+ "$ref": "#/$defs/Pose",
2878
+ "default": {
2879
+ "frame": null,
2880
+ "rotation_deg": [
2881
+ 0,
2882
+ 0,
2883
+ 0
2884
+ ],
2885
+ "rotation_order": "xyz",
2886
+ "translation": [
2887
+ 0,
2888
+ 0,
2889
+ 0
2890
+ ],
2891
+ "visible": true
2892
+ }
2893
+ }
2894
+ },
2895
+ "required": [
2896
+ "id"
2897
+ ],
2898
+ "type": "object"
2899
+ },
2900
+ "Instance": {
2901
+ "additionalProperties": false,
2902
+ "properties": {
2903
+ "export": {
2904
+ "default": true,
2905
+ "description": "Construction volumes can participate in checks without being exported.",
2906
+ "type": "boolean"
2907
+ },
2908
+ "id": {
2909
+ "type": "string"
2910
+ },
2911
+ "input": {
2912
+ "type": "string"
2913
+ },
2914
+ "metadata": {
2915
+ "additionalProperties": true,
2916
+ "default": {},
2917
+ "type": "object"
2918
+ },
2919
+ "parent": {
2920
+ "default": null,
2921
+ "type": [
2922
+ "string",
2923
+ "null"
2924
+ ]
2925
+ },
2926
+ "poses": {
2927
+ "anyOf": [
2928
+ {
2929
+ "$ref": "#/$defs/Poses"
2930
+ },
2931
+ {
2932
+ "type": "null"
2933
+ }
2934
+ ],
2935
+ "default": null
2936
+ },
2937
+ "representation": {
2938
+ "$ref": "#/$defs/Representation",
2939
+ "default": {
2940
+ "kind": "exact"
2941
+ }
2942
+ },
2943
+ "rotation_deg": {
2944
+ "default": [
2945
+ 0,
2946
+ 0,
2947
+ 0
2948
+ ],
2949
+ "items": {
2950
+ "$ref": "#/$defs/Scalar"
2951
+ },
2952
+ "maxItems": 3,
2953
+ "minItems": 3,
2954
+ "type": "array"
2955
+ },
2956
+ "rotation_order": {
2957
+ "$ref": "#/$defs/RotationOrder",
2958
+ "default": "xyz"
2959
+ },
2960
+ "translation": {
2961
+ "default": [
2962
+ 0,
2963
+ 0,
2964
+ 0
2965
+ ],
2966
+ "items": {
2967
+ "$ref": "#/$defs/Scalar"
2968
+ },
2969
+ "maxItems": 3,
2970
+ "minItems": 3,
2971
+ "type": "array"
2972
+ }
2973
+ },
2974
+ "required": [
2975
+ "id",
2976
+ "input"
2977
+ ],
2978
+ "type": "object"
2979
+ },
2980
+ "LoftSection": {
2981
+ "additionalProperties": false,
2982
+ "properties": {
2983
+ "center": {
2984
+ "items": {
2985
+ "$ref": "#/$defs/Scalar"
2986
+ },
2987
+ "maxItems": 3,
2988
+ "minItems": 3,
2989
+ "type": "array"
2990
+ },
2991
+ "radii": {
2992
+ "items": {
2993
+ "$ref": "#/$defs/Scalar"
2994
+ },
2995
+ "maxItems": 2,
2996
+ "minItems": 2,
2997
+ "type": "array"
2998
+ }
2999
+ },
3000
+ "required": [
3001
+ "center",
3002
+ "radii"
3003
+ ],
3004
+ "type": "object"
3005
+ },
3006
+ "Mate": {
3007
+ "oneOf": [
3008
+ {
3009
+ "additionalProperties": false,
3010
+ "properties": {
3011
+ "a": {
3012
+ "$ref": "#/$defs/Attachment"
3013
+ },
3014
+ "b": {
3015
+ "$ref": "#/$defs/Attachment"
3016
+ },
3017
+ "id": {
3018
+ "type": "string"
3019
+ },
3020
+ "kind": {
3021
+ "const": "fixed",
3022
+ "type": "string"
3023
+ }
3024
+ },
3025
+ "required": [
3026
+ "kind",
3027
+ "id",
3028
+ "a",
3029
+ "b"
3030
+ ],
3031
+ "type": "object"
3032
+ },
3033
+ {
3034
+ "additionalProperties": false,
3035
+ "properties": {
3036
+ "a": {
3037
+ "$ref": "#/$defs/Attachment"
3038
+ },
3039
+ "b": {
3040
+ "$ref": "#/$defs/Attachment"
3041
+ },
3042
+ "id": {
3043
+ "type": "string"
3044
+ },
3045
+ "kind": {
3046
+ "const": "coincident",
3047
+ "type": "string"
3048
+ }
3049
+ },
3050
+ "required": [
3051
+ "kind",
3052
+ "id",
3053
+ "a",
3054
+ "b"
3055
+ ],
3056
+ "type": "object"
3057
+ },
3058
+ {
3059
+ "additionalProperties": false,
3060
+ "properties": {
3061
+ "a": {
3062
+ "$ref": "#/$defs/Attachment"
3063
+ },
3064
+ "b": {
3065
+ "$ref": "#/$defs/Attachment"
3066
+ },
3067
+ "id": {
3068
+ "type": "string"
3069
+ },
3070
+ "kind": {
3071
+ "const": "concentric",
3072
+ "type": "string"
3073
+ }
3074
+ },
3075
+ "required": [
3076
+ "kind",
3077
+ "id",
3078
+ "a",
3079
+ "b"
3080
+ ],
3081
+ "type": "object"
3082
+ },
3083
+ {
3084
+ "additionalProperties": false,
3085
+ "properties": {
3086
+ "a": {
3087
+ "$ref": "#/$defs/Attachment"
3088
+ },
3089
+ "b": {
3090
+ "$ref": "#/$defs/Attachment"
3091
+ },
3092
+ "id": {
3093
+ "type": "string"
3094
+ },
3095
+ "kind": {
3096
+ "const": "revolute",
3097
+ "type": "string"
3098
+ }
3099
+ },
3100
+ "required": [
3101
+ "kind",
3102
+ "id",
3103
+ "a",
3104
+ "b"
3105
+ ],
3106
+ "type": "object"
3107
+ },
3108
+ {
3109
+ "additionalProperties": false,
3110
+ "properties": {
3111
+ "a": {
3112
+ "$ref": "#/$defs/Attachment"
3113
+ },
3114
+ "b": {
3115
+ "$ref": "#/$defs/Attachment"
3116
+ },
3117
+ "id": {
3118
+ "type": "string"
3119
+ },
3120
+ "kind": {
3121
+ "const": "prismatic",
3122
+ "type": "string"
3123
+ }
3124
+ },
3125
+ "required": [
3126
+ "kind",
3127
+ "id",
3128
+ "a",
3129
+ "b"
3130
+ ],
3131
+ "type": "object"
3132
+ },
3133
+ {
3134
+ "additionalProperties": false,
3135
+ "properties": {
3136
+ "a": {
3137
+ "$ref": "#/$defs/Attachment"
3138
+ },
3139
+ "b": {
3140
+ "$ref": "#/$defs/Attachment"
3141
+ },
3142
+ "distance": {
3143
+ "$ref": "#/$defs/Scalar"
3144
+ },
3145
+ "id": {
3146
+ "type": "string"
3147
+ },
3148
+ "kind": {
3149
+ "const": "plane",
3150
+ "type": "string"
3151
+ },
3152
+ "opposed": {
3153
+ "default": false,
3154
+ "type": "boolean"
3155
+ }
3156
+ },
3157
+ "required": [
3158
+ "kind",
3159
+ "id",
3160
+ "a",
3161
+ "b",
3162
+ "distance"
3163
+ ],
3164
+ "type": "object"
3165
+ },
3166
+ {
3167
+ "additionalProperties": false,
3168
+ "properties": {
3169
+ "a": {
3170
+ "$ref": "#/$defs/Attachment"
3171
+ },
3172
+ "b": {
3173
+ "$ref": "#/$defs/Attachment"
3174
+ },
3175
+ "distance": {
3176
+ "$ref": "#/$defs/Scalar"
3177
+ },
3178
+ "id": {
3179
+ "type": "string"
3180
+ },
3181
+ "kind": {
3182
+ "const": "distance",
3183
+ "type": "string"
3184
+ }
3185
+ },
3186
+ "required": [
3187
+ "kind",
3188
+ "id",
3189
+ "a",
3190
+ "b",
3191
+ "distance"
3192
+ ],
3193
+ "type": "object"
3194
+ }
3195
+ ]
3196
+ },
3197
+ "MateSystem": {
3198
+ "additionalProperties": false,
3199
+ "properties": {
3200
+ "anchors": {
3201
+ "items": {
3202
+ "type": "string"
3203
+ },
3204
+ "type": "array"
3205
+ },
3206
+ "constraints": {
3207
+ "items": {
3208
+ "$ref": "#/$defs/Mate"
3209
+ },
3210
+ "type": "array"
3211
+ },
3212
+ "expected_degrees_of_freedom": {
3213
+ "default": 0,
3214
+ "format": "uint",
3215
+ "minimum": 0,
3216
+ "type": "integer"
3217
+ }
3218
+ },
3219
+ "required": [
3220
+ "anchors",
3221
+ "constraints"
3222
+ ],
3223
+ "type": "object"
3224
+ },
3225
+ "OnFailure": {
3226
+ "oneOf": [
3227
+ {
3228
+ "additionalProperties": false,
3229
+ "properties": {
3230
+ "kind": {
3231
+ "const": "raise",
3232
+ "type": "string"
3233
+ }
3234
+ },
3235
+ "required": [
3236
+ "kind"
3237
+ ],
3238
+ "type": "object"
3239
+ },
3240
+ {
3241
+ "additionalProperties": false,
3242
+ "properties": {
3243
+ "affects": {
3244
+ "items": {
3245
+ "type": "string"
3246
+ },
3247
+ "type": "array"
3248
+ },
3249
+ "kind": {
3250
+ "const": "record",
3251
+ "type": "string"
3252
+ },
3253
+ "omitted": {
3254
+ "items": {
3255
+ "type": "string"
3256
+ },
3257
+ "type": "array"
3258
+ },
3259
+ "reason": {
3260
+ "type": "string"
3261
+ }
3262
+ },
3263
+ "required": [
3264
+ "kind",
3265
+ "reason",
3266
+ "omitted",
3267
+ "affects"
3268
+ ],
3269
+ "type": "object"
3270
+ }
3271
+ ]
3272
+ },
3273
+ "OpenFace": {
3274
+ "enum": [
3275
+ "top",
3276
+ "bottom"
3277
+ ],
3278
+ "type": "string"
3279
+ },
3280
+ "OuterEdges": {
3281
+ "enum": [
3282
+ "vertical",
3283
+ "top",
3284
+ "bottom"
3285
+ ],
3286
+ "type": "string"
3287
+ },
3288
+ "OutputKind": {
3289
+ "enum": [
3290
+ "solid",
3291
+ "surface"
3292
+ ],
3293
+ "type": "string"
3294
+ },
3295
+ "ParamRef": {
3296
+ "additionalProperties": false,
3297
+ "properties": {
3298
+ "param": {
3299
+ "type": "string"
3300
+ }
3301
+ },
3302
+ "required": [
3303
+ "param"
3304
+ ],
3305
+ "type": "object"
3306
+ },
3307
+ "PathCurve": {
3308
+ "oneOf": [
3309
+ {
3310
+ "additionalProperties": false,
3311
+ "properties": {
3312
+ "end": {
3313
+ "items": {
3314
+ "$ref": "#/$defs/Scalar"
3315
+ },
3316
+ "maxItems": 3,
3317
+ "minItems": 3,
3318
+ "type": "array"
3319
+ },
3320
+ "kind": {
3321
+ "const": "line",
3322
+ "type": "string"
3323
+ },
3324
+ "start": {
3325
+ "items": {
3326
+ "$ref": "#/$defs/Scalar"
3327
+ },
3328
+ "maxItems": 3,
3329
+ "minItems": 3,
3330
+ "type": "array"
3331
+ }
3332
+ },
3333
+ "required": [
3334
+ "kind",
3335
+ "start",
3336
+ "end"
3337
+ ],
3338
+ "type": "object"
3339
+ },
3340
+ {
3341
+ "additionalProperties": false,
3342
+ "properties": {
3343
+ "end": {
3344
+ "items": {
3345
+ "$ref": "#/$defs/Scalar"
3346
+ },
3347
+ "maxItems": 3,
3348
+ "minItems": 3,
3349
+ "type": "array"
3350
+ },
3351
+ "kind": {
3352
+ "const": "arc",
3353
+ "type": "string"
3354
+ },
3355
+ "start": {
3356
+ "items": {
3357
+ "$ref": "#/$defs/Scalar"
3358
+ },
3359
+ "maxItems": 3,
3360
+ "minItems": 3,
3361
+ "type": "array"
3362
+ },
3363
+ "via": {
3364
+ "items": {
3365
+ "$ref": "#/$defs/Scalar"
3366
+ },
3367
+ "maxItems": 3,
3368
+ "minItems": 3,
3369
+ "type": "array"
3370
+ }
3371
+ },
3372
+ "required": [
3373
+ "kind",
3374
+ "start",
3375
+ "via",
3376
+ "end"
3377
+ ],
3378
+ "type": "object"
3379
+ },
3380
+ {
3381
+ "additionalProperties": false,
3382
+ "properties": {
3383
+ "control_points": {
3384
+ "items": {
3385
+ "items": {
3386
+ "$ref": "#/$defs/Scalar"
3387
+ },
3388
+ "maxItems": 3,
3389
+ "minItems": 3,
3390
+ "type": "array"
3391
+ },
3392
+ "type": "array"
3393
+ },
3394
+ "kind": {
3395
+ "const": "bezier",
3396
+ "type": "string"
3397
+ }
3398
+ },
3399
+ "required": [
3400
+ "kind",
3401
+ "control_points"
3402
+ ],
3403
+ "type": "object"
3404
+ }
3405
+ ]
3406
+ },
3407
+ "Pose": {
3408
+ "additionalProperties": false,
3409
+ "properties": {
3410
+ "frame": {
3411
+ "anyOf": [
3412
+ {
3413
+ "$ref": "#/$defs/Frame"
3414
+ },
3415
+ {
3416
+ "type": "null"
3417
+ }
3418
+ ],
3419
+ "default": null
3420
+ },
3421
+ "rotation_deg": {
3422
+ "default": [
3423
+ 0,
3424
+ 0,
3425
+ 0
3426
+ ],
3427
+ "items": {
3428
+ "$ref": "#/$defs/Scalar"
3429
+ },
3430
+ "maxItems": 3,
3431
+ "minItems": 3,
3432
+ "type": "array"
3433
+ },
3434
+ "rotation_order": {
3435
+ "$ref": "#/$defs/RotationOrder",
3436
+ "default": "xyz"
3437
+ },
3438
+ "translation": {
3439
+ "default": [
3440
+ 0,
3441
+ 0,
3442
+ 0
3443
+ ],
3444
+ "items": {
3445
+ "$ref": "#/$defs/Scalar"
3446
+ },
3447
+ "maxItems": 3,
3448
+ "minItems": 3,
3449
+ "type": "array"
3450
+ },
3451
+ "visible": {
3452
+ "default": true,
3453
+ "type": "boolean"
3454
+ }
3455
+ },
3456
+ "type": "object"
3457
+ },
3458
+ "PoseMode": {
3459
+ "enum": [
3460
+ "normal",
3461
+ "internal",
3462
+ "exploded"
3463
+ ],
3464
+ "type": "string"
3465
+ },
3466
+ "Poses": {
3467
+ "additionalProperties": false,
3468
+ "properties": {
3469
+ "exploded": {
3470
+ "$ref": "#/$defs/Pose"
3471
+ },
3472
+ "internal": {
3473
+ "$ref": "#/$defs/Pose"
3474
+ },
3475
+ "normal": {
3476
+ "$ref": "#/$defs/Pose"
3477
+ }
3478
+ },
3479
+ "required": [
3480
+ "normal",
3481
+ "internal",
3482
+ "exploded"
3483
+ ],
3484
+ "type": "object"
3485
+ },
3486
+ "PreviewOptions": {
3487
+ "additionalProperties": false,
3488
+ "properties": {
3489
+ "chord_mm": {
3490
+ "default": 0.2,
3491
+ "format": "double",
3492
+ "type": "number"
3493
+ },
3494
+ "height": {
3495
+ "default": 600,
3496
+ "format": "uint32",
3497
+ "minimum": 0,
3498
+ "type": "integer"
3499
+ },
3500
+ "pose": {
3501
+ "$ref": "#/$defs/PoseMode",
3502
+ "default": "normal"
3503
+ },
3504
+ "section": {
3505
+ "anyOf": [
3506
+ {
3507
+ "$ref": "#/$defs/SectionPlane"
3508
+ },
3509
+ {
3510
+ "type": "null"
3511
+ }
3512
+ ]
3513
+ },
3514
+ "view": {
3515
+ "$ref": "#/$defs/View",
3516
+ "default": "iso"
3517
+ },
3518
+ "width": {
3519
+ "default": 800,
3520
+ "format": "uint32",
3521
+ "minimum": 0,
3522
+ "type": "integer"
3523
+ }
3524
+ },
3525
+ "type": "object"
3526
+ },
3527
+ "Profile": {
3528
+ "oneOf": [
3529
+ {
3530
+ "additionalProperties": false,
3531
+ "properties": {
3532
+ "kind": {
3533
+ "const": "sketch",
3534
+ "type": "string"
3535
+ },
3536
+ "sketch": {
3537
+ "$ref": "#/$defs/Sketch"
3538
+ }
3539
+ },
3540
+ "required": [
3541
+ "kind",
3542
+ "sketch"
3543
+ ],
3544
+ "type": "object"
3545
+ },
3546
+ {
3547
+ "additionalProperties": false,
3548
+ "properties": {
3549
+ "depth": {
3550
+ "$ref": "#/$defs/Scalar"
3551
+ },
3552
+ "kind": {
3553
+ "const": "rectangle",
3554
+ "type": "string"
3555
+ },
3556
+ "radius": {
3557
+ "$ref": "#/$defs/Scalar",
3558
+ "default": 0
3559
+ },
3560
+ "width": {
3561
+ "$ref": "#/$defs/Scalar"
3562
+ }
3563
+ },
3564
+ "required": [
3565
+ "kind",
3566
+ "width",
3567
+ "depth"
3568
+ ],
3569
+ "type": "object"
3570
+ },
3571
+ {
3572
+ "additionalProperties": false,
3573
+ "properties": {
3574
+ "kind": {
3575
+ "const": "circle",
3576
+ "type": "string"
3577
+ },
3578
+ "radius": {
3579
+ "$ref": "#/$defs/Scalar"
3580
+ }
3581
+ },
3582
+ "required": [
3583
+ "kind",
3584
+ "radius"
3585
+ ],
3586
+ "type": "object"
3587
+ },
3588
+ {
3589
+ "additionalProperties": false,
3590
+ "properties": {
3591
+ "kind": {
3592
+ "const": "ellipse",
3593
+ "type": "string"
3594
+ },
3595
+ "radii": {
3596
+ "items": {
3597
+ "$ref": "#/$defs/Scalar"
3598
+ },
3599
+ "maxItems": 2,
3600
+ "minItems": 2,
3601
+ "type": "array"
3602
+ }
3603
+ },
3604
+ "required": [
3605
+ "kind",
3606
+ "radii"
3607
+ ],
3608
+ "type": "object"
3609
+ },
3610
+ {
3611
+ "additionalProperties": false,
3612
+ "properties": {
3613
+ "kind": {
3614
+ "const": "polygon",
3615
+ "type": "string"
3616
+ },
3617
+ "points": {
3618
+ "items": {
3619
+ "items": {
3620
+ "$ref": "#/$defs/Scalar"
3621
+ },
3622
+ "maxItems": 2,
3623
+ "minItems": 2,
3624
+ "type": "array"
3625
+ },
3626
+ "type": "array"
3627
+ }
3628
+ },
3629
+ "required": [
3630
+ "kind",
3631
+ "points"
3632
+ ],
3633
+ "type": "object"
3634
+ },
3635
+ {
3636
+ "additionalProperties": false,
3637
+ "properties": {
3638
+ "kind": {
3639
+ "const": "outline",
3640
+ "type": "string"
3641
+ },
3642
+ "segments": {
3643
+ "items": {
3644
+ "$ref": "#/$defs/Segment"
3645
+ },
3646
+ "type": "array"
3647
+ },
3648
+ "start": {
3649
+ "items": {
3650
+ "$ref": "#/$defs/Scalar"
3651
+ },
3652
+ "maxItems": 2,
3653
+ "minItems": 2,
3654
+ "type": "array"
3655
+ }
3656
+ },
3657
+ "required": [
3658
+ "kind",
3659
+ "start",
3660
+ "segments"
3661
+ ],
3662
+ "type": "object"
3663
+ }
3664
+ ]
3665
+ },
3666
+ "ProfileSection": {
3667
+ "additionalProperties": false,
3668
+ "properties": {
3669
+ "frame": {
3670
+ "$ref": "#/$defs/Frame",
3671
+ "default": {
3672
+ "origin": [
3673
+ 0,
3674
+ 0,
3675
+ 0
3676
+ ],
3677
+ "x_axis": [
3678
+ 1,
3679
+ 0,
3680
+ 0
3681
+ ],
3682
+ "y_axis": [
3683
+ 0,
3684
+ 1,
3685
+ 0
3686
+ ]
3687
+ }
3688
+ },
3689
+ "profile": {
3690
+ "$ref": "#/$defs/Profile"
3691
+ }
3692
+ },
3693
+ "required": [
3694
+ "profile"
3695
+ ],
3696
+ "type": "object"
3697
+ },
3698
+ "RegionKind": {
3699
+ "enum": [
3700
+ "outer",
3701
+ "cavity",
3702
+ "opening"
3703
+ ],
3704
+ "type": "string"
3705
+ },
3706
+ "Representation": {
3707
+ "oneOf": [
3708
+ {
3709
+ "additionalProperties": false,
3710
+ "properties": {
3711
+ "kind": {
3712
+ "const": "exact",
3713
+ "type": "string"
3714
+ }
3715
+ },
3716
+ "required": [
3717
+ "kind"
3718
+ ],
3719
+ "type": "object"
3720
+ },
3721
+ {
3722
+ "additionalProperties": false,
3723
+ "properties": {
3724
+ "kind": {
3725
+ "const": "envelope",
3726
+ "type": "string"
3727
+ },
3728
+ "reason": {
3729
+ "type": "string"
3730
+ }
3731
+ },
3732
+ "required": [
3733
+ "kind",
3734
+ "reason"
3735
+ ],
3736
+ "type": "object"
3737
+ },
3738
+ {
3739
+ "additionalProperties": false,
3740
+ "properties": {
3741
+ "affects": {
3742
+ "items": {
3743
+ "type": "string"
3744
+ },
3745
+ "type": "array"
3746
+ },
3747
+ "kind": {
3748
+ "const": "simplified",
3749
+ "type": "string"
3750
+ },
3751
+ "omitted": {
3752
+ "items": {
3753
+ "type": "string"
3754
+ },
3755
+ "type": "array"
3756
+ },
3757
+ "reason": {
3758
+ "type": "string"
3759
+ }
3760
+ },
3761
+ "required": [
3762
+ "kind",
3763
+ "reason",
3764
+ "omitted",
3765
+ "affects"
3766
+ ],
3767
+ "type": "object"
3768
+ }
3769
+ ]
3770
+ },
3771
+ "RotationOrder": {
3772
+ "enum": [
3773
+ "xyz",
3774
+ "zyx"
3775
+ ],
3776
+ "type": "string"
3777
+ },
3778
+ "Scalar": {
3779
+ "anyOf": [
3780
+ {
3781
+ "format": "double",
3782
+ "type": "number"
3783
+ },
3784
+ {
3785
+ "$ref": "#/$defs/ParamRef"
3786
+ },
3787
+ {
3788
+ "$ref": "#/$defs/Expression"
3789
+ }
3790
+ ]
3791
+ },
3792
+ "SectionPlane": {
3793
+ "additionalProperties": false,
3794
+ "properties": {
3795
+ "normal": {
3796
+ "description": "Retain dot(normal / |normal|, position) <= offset_mm.",
3797
+ "items": {
3798
+ "format": "double",
3799
+ "type": "number"
3800
+ },
3801
+ "maxItems": 3,
3802
+ "minItems": 3,
3803
+ "type": "array"
3804
+ },
3805
+ "offset_mm": {
3806
+ "format": "double",
3807
+ "type": "number"
3808
+ }
3809
+ },
3810
+ "required": [
3811
+ "normal",
3812
+ "offset_mm"
3813
+ ],
3814
+ "type": "object"
3815
+ },
3816
+ "Segment": {
3817
+ "oneOf": [
3818
+ {
3819
+ "additionalProperties": false,
3820
+ "properties": {
3821
+ "kind": {
3822
+ "const": "line",
3823
+ "type": "string"
3824
+ },
3825
+ "to": {
3826
+ "items": {
3827
+ "$ref": "#/$defs/Scalar"
3828
+ },
3829
+ "maxItems": 2,
3830
+ "minItems": 2,
3831
+ "type": "array"
3832
+ }
3833
+ },
3834
+ "required": [
3835
+ "kind",
3836
+ "to"
3837
+ ],
3838
+ "type": "object"
3839
+ },
3840
+ {
3841
+ "additionalProperties": false,
3842
+ "description": "A circular arc through three points, with orientation determined by via.",
3843
+ "properties": {
3844
+ "kind": {
3845
+ "const": "arc",
3846
+ "type": "string"
3847
+ },
3848
+ "to": {
3849
+ "items": {
3850
+ "$ref": "#/$defs/Scalar"
3851
+ },
3852
+ "maxItems": 2,
3853
+ "minItems": 2,
3854
+ "type": "array"
3855
+ },
3856
+ "via": {
3857
+ "items": {
3858
+ "$ref": "#/$defs/Scalar"
3859
+ },
3860
+ "maxItems": 2,
3861
+ "minItems": 2,
3862
+ "type": "array"
3863
+ }
3864
+ },
3865
+ "required": [
3866
+ "kind",
3867
+ "via",
3868
+ "to"
3869
+ ],
3870
+ "type": "object"
3871
+ }
3872
+ ]
3873
+ },
3874
+ "Sketch": {
3875
+ "additionalProperties": false,
3876
+ "properties": {
3877
+ "allow_underconstrained": {
3878
+ "default": false,
3879
+ "type": "boolean"
3880
+ },
3881
+ "boundary": {
3882
+ "$ref": "#/$defs/Boundary"
3883
+ },
3884
+ "circles": {
3885
+ "additionalProperties": {
3886
+ "$ref": "#/$defs/Circle"
3887
+ },
3888
+ "default": {},
3889
+ "type": "object"
3890
+ },
3891
+ "constraints": {
3892
+ "items": {
3893
+ "$ref": "#/$defs/Constraint"
3894
+ },
3895
+ "type": "array"
3896
+ },
3897
+ "points": {
3898
+ "additionalProperties": {
3899
+ "items": {
3900
+ "$ref": "#/$defs/Scalar"
3901
+ },
3902
+ "maxItems": 2,
3903
+ "minItems": 2,
3904
+ "type": "array"
3905
+ },
3906
+ "type": "object"
3907
+ }
3908
+ },
3909
+ "required": [
3910
+ "points",
3911
+ "constraints",
3912
+ "boundary"
3913
+ ],
3914
+ "type": "object"
3915
+ },
3916
+ "SketchSegment": {
3917
+ "oneOf": [
3918
+ {
3919
+ "additionalProperties": false,
3920
+ "properties": {
3921
+ "kind": {
3922
+ "const": "line",
3923
+ "type": "string"
3924
+ },
3925
+ "to": {
3926
+ "type": "string"
3927
+ }
3928
+ },
3929
+ "required": [
3930
+ "kind",
3931
+ "to"
3932
+ ],
3933
+ "type": "object"
3934
+ },
3935
+ {
3936
+ "additionalProperties": false,
3937
+ "properties": {
3938
+ "kind": {
3939
+ "const": "arc",
3940
+ "type": "string"
3941
+ },
3942
+ "to": {
3943
+ "type": "string"
3944
+ },
3945
+ "via": {
3946
+ "type": "string"
3947
+ }
3948
+ },
3949
+ "required": [
3950
+ "kind",
3951
+ "via",
3952
+ "to"
3953
+ ],
3954
+ "type": "object"
3955
+ }
3956
+ ]
3957
+ },
3958
+ "StepAsset": {
3959
+ "additionalProperties": false,
3960
+ "properties": {
3961
+ "sha256": {
3962
+ "type": "string"
3963
+ },
3964
+ "step": {
3965
+ "type": "string"
3966
+ }
3967
+ },
3968
+ "required": [
3969
+ "sha256",
3970
+ "step"
3971
+ ],
3972
+ "type": "object"
3973
+ },
3974
+ "Strategy": {
3975
+ "enum": [
3976
+ "offset",
3977
+ "scaled",
3978
+ "offset_then_scaled"
3979
+ ],
3980
+ "type": "string"
3981
+ },
3982
+ "View": {
3983
+ "enum": [
3984
+ "iso",
3985
+ "front",
3986
+ "back",
3987
+ "left",
3988
+ "right",
3989
+ "top",
3990
+ "bottom"
3991
+ ],
3992
+ "type": "string"
3993
+ }
3994
+ },
3995
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3996
+ "additionalProperties": false,
3997
+ "properties": {
3998
+ "assembly": {
3999
+ "items": {
4000
+ "$ref": "#/$defs/Instance"
4001
+ },
4002
+ "type": "array"
4003
+ },
4004
+ "assets": {
4005
+ "additionalProperties": {
4006
+ "$ref": "#/$defs/StepAsset"
4007
+ },
4008
+ "type": "object"
4009
+ },
4010
+ "checks": {
4011
+ "items": {
4012
+ "$ref": "#/$defs/AssemblyCheck"
4013
+ },
4014
+ "type": "array"
4015
+ },
4016
+ "features": {
4017
+ "items": {
4018
+ "$ref": "#/$defs/Feature"
4019
+ },
4020
+ "type": "array"
4021
+ },
4022
+ "groups": {
4023
+ "items": {
4024
+ "$ref": "#/$defs/Group"
4025
+ },
4026
+ "type": "array"
4027
+ },
4028
+ "mates": {
4029
+ "anyOf": [
4030
+ {
4031
+ "$ref": "#/$defs/MateSystem"
4032
+ },
4033
+ {
4034
+ "type": "null"
4035
+ }
4036
+ ]
4037
+ },
4038
+ "output": {
4039
+ "default": "",
4040
+ "type": "string"
4041
+ },
4042
+ "output_kind": {
4043
+ "$ref": "#/$defs/OutputKind",
4044
+ "default": "solid"
4045
+ },
4046
+ "parameters": {
4047
+ "additionalProperties": {
4048
+ "format": "double",
4049
+ "type": "number"
4050
+ },
4051
+ "type": "object"
4052
+ },
4053
+ "preview": {
4054
+ "anyOf": [
4055
+ {
4056
+ "$ref": "#/$defs/PreviewOptions"
4057
+ },
4058
+ {
4059
+ "type": "null"
4060
+ }
4061
+ ]
4062
+ },
4063
+ "units": {
4064
+ "type": "string"
4065
+ },
4066
+ "version": {
4067
+ "format": "uint32",
4068
+ "minimum": 0,
4069
+ "type": "integer"
4070
+ }
4071
+ },
4072
+ "required": [
4073
+ "version",
4074
+ "units",
4075
+ "parameters",
4076
+ "features"
4077
+ ],
4078
+ "title": "Model",
4079
+ "type": "object"
4080
+ }