2025-03-06 18:01:24 -05:00
|
|
|
---
|
2025-03-12 14:05:18 -04:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-03-06 18:01:24 -05:00
|
|
|
description: Operations executed gear-rack.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
575,
|
|
|
|
579,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
561,
|
|
|
|
580,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
748,
|
|
|
|
753,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
731,
|
|
|
|
754,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
731,
|
|
|
|
754,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "tooth",
|
|
|
|
"functionSourceRange": [
|
|
|
|
814,
|
|
|
|
1325,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": [
|
|
|
|
1396,
|
|
|
|
1403,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
849,
|
|
|
|
853,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
835,
|
|
|
|
854,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1296,
|
|
|
|
1301,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
1279,
|
|
|
|
1302,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
1279,
|
|
|
|
1302,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"axis": {
|
|
|
|
"value": {
|
|
|
|
"type": "Array",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 10.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1440,
|
|
|
|
1450,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"distance": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.570796,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1470,
|
|
|
|
1478,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"instances": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 63.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1499,
|
|
|
|
1501,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "patternLinear3d",
|
|
|
|
"sourceRange": [
|
|
|
|
1409,
|
|
|
|
1508,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
1409,
|
|
|
|
1508,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1603,
|
|
|
|
1607,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
1589,
|
|
|
|
1608,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1837,
|
|
|
|
1842,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
1820,
|
|
|
|
1843,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
1820,
|
|
|
|
1843,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"data": {
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "XY"
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
1940,
|
|
|
|
1944,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"sourceRange": [
|
|
|
|
1926,
|
|
|
|
1945,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
|
|
|
2174,
|
|
|
|
2179,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "extrude",
|
|
|
|
"sourceRange": [
|
|
|
|
2157,
|
|
|
|
2180,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": [
|
2025-03-12 14:05:18 -04:00
|
|
|
2157,
|
|
|
|
2180,
|
2025-03-06 18:01:24 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|