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
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "extrude",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
2025-04-29 06:38:52 -07:00
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "FunctionCall",
|
|
|
|
"name": "tooth",
|
|
|
|
"functionSourceRange": [],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "patternLinear3d",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"distance": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-05-26 11:17:12 +12:00
|
|
|
"value": 1.571,
|
2025-03-06 18:01:24 -05:00
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
"instances": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 63.0,
|
|
|
|
"ty": {
|
2025-05-28 08:37:54 +12:00
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "startSketchOn",
|
2025-03-06 18:01:24 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
2025-05-19 16:50:15 +12:00
|
|
|
"name": "extrude",
|
2025-05-02 16:08:12 -05:00
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
2025-05-19 16:50:15 +12:00
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"artifactId": "[uuid]"
|
|
|
|
}
|
2025-05-02 16:08:12 -05:00
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-05-19 16:50:15 +12:00
|
|
|
},
|
2025-03-06 18:01:24 -05:00
|
|
|
"labeledArgs": {
|
|
|
|
"length": {
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 5.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
},
|
2025-05-19 16:50:15 +12:00
|
|
|
"sourceRange": []
|
2025-04-29 06:38:52 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
2025-03-06 18:01:24 -05:00
|
|
|
}
|
|
|
|
]
|