You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"summary": "Converts a proprietary CAD format to KCL.",
3921
3921
"description": "This endpoint is used to convert a proprietary CAD format to KCL. The file passed MUST have feature tree data.\n\nA STEP file does not have feature tree data, so it will not work. A sldprt file does have feature tree data, so it will work.",
3922
3922
"operationId": "create_proprietary_to_kcl",
3923
+
"parameters": [
3924
+
{
3925
+
"in": "query",
3926
+
"name": "code_option",
3927
+
"description": "The options to run on the code. By default this is set to `execute`.",
3928
+
"schema": {
3929
+
"$ref": "#/components/schemas/CodeOption"
3930
+
}
3931
+
}
3932
+
],
3923
3933
"requestBody": {
3924
3934
"content": {
3925
3935
"multipart/form-data": {
@@ -17329,6 +17339,39 @@
17329
17339
"country"
17330
17340
]
17331
17341
},
17342
+
"AdjacencyInfo": {
17343
+
"description": "Edge info struct (useful for maintaining mappings between edges and faces and adjacent/opposite edges).",
17344
+
"type": "object",
17345
+
"properties": {
17346
+
"adjacent_info": {
17347
+
"nullable": true,
17348
+
"description": "Adjacent edge and face info.",
17349
+
"allOf": [
17350
+
{
17351
+
"$ref": "#/components/schemas/EdgeInfo"
17352
+
}
17353
+
]
17354
+
},
17355
+
"opposite_info": {
17356
+
"nullable": true,
17357
+
"description": "Opposite edge and face info.",
17358
+
"allOf": [
17359
+
{
17360
+
"$ref": "#/components/schemas/EdgeInfo"
17361
+
}
17362
+
]
17363
+
},
17364
+
"original_info": {
17365
+
"nullable": true,
17366
+
"description": "Original edge id and face info.",
17367
+
"allOf": [
17368
+
{
17369
+
"$ref": "#/components/schemas/EdgeInfo"
17370
+
}
17371
+
]
17372
+
}
17373
+
}
17374
+
},
17332
17375
"Angle": {
17333
17376
"description": "An angle, with a specific unit.",
17334
17377
"type": "object",
@@ -19805,6 +19848,16 @@
19805
19848
}
19806
19849
]
19807
19850
},
19851
+
"CodeOption": {
19852
+
"description": "Code option for running and verifying kcl.\n\n<details><summary>JSON schema</summary>\n\n```json { \"title\": \"CodeOption\", \"description\": \"Code option for running and verifying kcl.\", \"type\": \"string\", \"enum\": [ \"parse\", \"execute\", \"cleanup\", \"mock_execute\" ] } ``` </details>",
19853
+
"type": "string",
19854
+
"enum": [
19855
+
"parse",
19856
+
"execute",
19857
+
"cleanup",
19858
+
"mock_execute"
19859
+
]
19860
+
},
19808
19861
"CodeOutput": {
19809
19862
"description": "Output of the code being executed.\n\n<details><summary>JSON schema</summary>\n\n```json { \"description\": \"Output of the code being executed.\", \"type\": \"object\", \"properties\": { \"output_files\": { \"description\": \"The contents of the files requested if they were passed.\", \"type\": \"array\", \"items\": { \"$ref\": \"#/components/schemas/OutputFile\" } }, \"stderr\": { \"description\": \"The stderr of the code.\", \"default\": \"\", \"type\": \"string\" }, \"stdout\": { \"description\": \"The stdout of the code.\", \"default\": \"\", \"type\": \"string\" } } } ``` </details>",
19810
19863
"type": "object",
@@ -20994,6 +21047,29 @@
20994
21047
}
20995
21048
]
20996
21049
},
21050
+
"EdgeInfo": {
21051
+
"description": "A list of faces for a specific edge.",
21052
+
"type": "object",
21053
+
"properties": {
21054
+
"edge_id": {
21055
+
"description": "The UUID of the id.",
21056
+
"type": "string",
21057
+
"format": "uuid"
21058
+
},
21059
+
"faces": {
21060
+
"description": "The faces of each edge.",
21061
+
"type": "array",
21062
+
"items": {
21063
+
"type": "string",
21064
+
"format": "uuid"
21065
+
}
21066
+
}
21067
+
},
21068
+
"required": [
21069
+
"edge_id",
21070
+
"faces"
21071
+
]
21072
+
},
20997
21073
"EdgeLinesVisible": {
20998
21074
"description": "The response from the `EdgeLinesVisible` endpoint.",
20999
21075
"type": "object"
@@ -24944,6 +25020,15 @@
24944
25020
"description": "Extrude the object along a path.",
24945
25021
"type": "object",
24946
25022
"properties": {
25023
+
"relative_to": {
25024
+
"description": "What is this sweep relative to?",
25025
+
"default": "sketch_plane",
25026
+
"allOf": [
25027
+
{
25028
+
"$ref": "#/components/schemas/RelativeTo"
25029
+
}
25030
+
]
25031
+
},
24947
25032
"sectional": {
24948
25033
"description": "If true, the sweep will be broken up into sub-sweeps (extrusions, revolves, sweeps) based on the trajectory path components.",
24949
25034
"type": "boolean"
@@ -28459,6 +28544,11 @@
28459
28544
"description": "Get a concise description of all of solids edges.",
28460
28545
"type": "object",
28461
28546
"properties": {
28547
+
"edge_id": {
28548
+
"description": "Any edge that lies on the extrusion base path.",
28549
+
"type": "string",
28550
+
"format": "uuid"
28551
+
},
28462
28552
"object_id": {
28463
28553
"description": "The Solid3d object whose info is being queried.",
"description": "The response from the `ReconfigureStream` endpoint.",
33069
33178
"type": "object"
33070
33179
},
33180
+
"RelativeTo": {
33181
+
"description": "What is the given geometry relative to?",
33182
+
"oneOf": [
33183
+
{
33184
+
"description": "Local/relative to a position centered within the plane being sketched on",
33185
+
"type": "string",
33186
+
"enum": [
33187
+
"sketch_plane"
33188
+
]
33189
+
},
33190
+
{
33191
+
"description": "Local/relative to the trajectory curve",
33192
+
"type": "string",
33193
+
"enum": [
33194
+
"trajectory_curve"
33195
+
]
33196
+
}
33197
+
]
33198
+
},
33071
33199
"RemoveSceneObjects": {
33072
33200
"description": "The response from the `RemoveSceneObjects` endpoint.",
33073
33201
"type": "object"
@@ -33823,6 +33951,22 @@
33823
33951
"description": "The response from the `Solid3dFilletEdge` endpoint.",
33824
33952
"type": "object"
33825
33953
},
33954
+
"Solid3dGetAdjacencyInfo": {
33955
+
"description": "Extrusion face info struct (useful for maintaining mappings between source path segment ids and extrusion faces) This includes the opposite and adjacent faces and edges.",
33956
+
"type": "object",
33957
+
"properties": {
33958
+
"edges": {
33959
+
"description": "Details of each edge.",
33960
+
"type": "array",
33961
+
"items": {
33962
+
"$ref": "#/components/schemas/AdjacencyInfo"
33963
+
}
33964
+
}
33965
+
},
33966
+
"required": [
33967
+
"edges"
33968
+
]
33969
+
},
33826
33970
"Solid3dGetAllEdgeFaces": {
33827
33971
"description": "The response from the `Solid3dGetAllEdgeFaces` command.",
33828
33972
"type": "object",
@@ -33885,23 +34029,6 @@
33885
34029
"faces"
33886
34030
]
33887
34031
},
33888
-
"Solid3dGetInfo": {
33889
-
"description": "Extrusion face info struct (useful for maintaining mappings between source path segment ids and extrusion faces)",
33890
-
"type": "object",
33891
-
"properties": {
33892
-
"info": {
33893
-
"description": "Details of each face.",
33894
-
"allOf": [
33895
-
{
33896
-
"$ref": "#/components/schemas/SolidInfo"
33897
-
}
33898
-
]
33899
-
}
33900
-
},
33901
-
"required": [
33902
-
"info"
33903
-
]
33904
-
},
33905
34032
"Solid3dGetNextAdjacentEdge": {
33906
34033
"description": "The response from the `Solid3dGetNextAdjacentEdge` command.",
33907
34034
"type": "object",
@@ -33944,46 +34071,6 @@
33944
34071
"description": "The response from the `Solid3dShellFace` endpoint.",
33945
34072
"type": "object"
33946
34073
},
33947
-
"SolidInfo": {
33948
-
"description": "Solid info struct (useful for maintaining mappings between edges and faces and adjacent/opposite edges).",
33949
-
"type": "object",
33950
-
"properties": {
33951
-
"bottom_cap_id": {
33952
-
"nullable": true,
33953
-
"description": "UUID for bottom cap.",
33954
-
"type": "string",
33955
-
"format": "uuid"
33956
-
},
33957
-
"common_edges": {
33958
-
"description": "A map containing the common faces for all edges.",
33959
-
"type": "object",
33960
-
"additionalProperties": {
33961
-
"type": "array",
33962
-
"items": {
33963
-
"type": "string",
33964
-
"format": "uuid"
33965
-
}
33966
-
}
33967
-
},
33968
-
"complementary_edges": {
33969
-
"description": "A map containing the adjacent and opposite edge ids of each wall face.",
0 commit comments