Use arrays for multiple geometry (#5770)

* Parse [T] instead of T[] for array types

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* homogenous arrays, type coercion, remove solid set and sketch set, etc

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-03-17 17:57:26 +13:00
committed by GitHub
parent 75a975b1e1
commit a8b0e1a771
97 changed files with 325236 additions and 323291 deletions

View File

@ -506,19 +506,31 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
@ -597,19 +609,31 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
@ -1490,19 +1514,31 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
@ -2593,31 +2629,55 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
@ -2772,19 +2832,31 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},
@ -3550,31 +3622,55 @@ description: Operations executed multi-axis-robot.kcl
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketches",
"type": "Array",
"value": [
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
{
"artifactId": "[uuid]"
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
}
]
},