2024-12-16 13:10:31 -05:00
|
|
|
---
|
2025-03-17 15:55:25 -07:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2024-12-16 13:10:31 -05:00
|
|
|
description: Operations executed import_side_effect.kcl
|
|
|
|
---
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"rust/kcl-lib/tests/import_side_effect/export_side_effect.kcl": [
|
|
|
|
{
|
|
|
|
"type": "StdLibCall",
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"unlabeledArg": {
|
|
|
|
"value": {
|
|
|
|
"type": "Plane",
|
|
|
|
"artifact_id": "[uuid]"
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
"labeledArgs": {},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rust/kcl-lib/tests/import_side_effect/input.kcl": [
|
|
|
|
{
|
|
|
|
"type": "GroupBegin",
|
|
|
|
"group": {
|
|
|
|
"type": "ModuleInstance",
|
|
|
|
"name": "export_side_effect.kcl",
|
|
|
|
"moduleId": 0
|
|
|
|
},
|
|
|
|
"nodePath": {
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"type": "ProgramBodyItem",
|
|
|
|
"index": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
2025-04-30 12:26:46 -04:00
|
|
|
},
|
2025-06-10 21:30:48 -04:00
|
|
|
{
|
|
|
|
"type": "GroupEnd"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"std::appearance": [],
|
|
|
|
"std::array": [],
|
2025-06-12 12:38:12 -04:00
|
|
|
"std::math": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "PI",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 3.141592653589793,
|
2025-06-12 12:38:12 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "E",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 2.718281828459045,
|
2025-06-12 12:38:12 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "TAU",
|
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
2025-06-16 21:34:50 -04:00
|
|
|
"value": 6.283185307179586,
|
2025-06-12 12:38:12 -04:00
|
|
|
"ty": {
|
|
|
|
"type": "Known",
|
|
|
|
"type": "Count"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"std::prelude": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "START",
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "start"
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"name": "END",
|
|
|
|
"value": {
|
|
|
|
"type": "String",
|
|
|
|
"value": "end"
|
|
|
|
},
|
|
|
|
"visibility": "export",
|
|
|
|
"nodePath": {
|
|
|
|
"steps": []
|
|
|
|
},
|
|
|
|
"sourceRange": []
|
|
|
|
}
|
|
|
|
],
|
2025-06-10 21:30:48 -04:00
|
|
|
"std::sketch": [],
|
|
|
|
"std::solid": [],
|
|
|
|
"std::sweep": [],
|
|
|
|
"std::transform": [],
|
|
|
|
"std::turns": [],
|
|
|
|
"std::types": [],
|
|
|
|
"std::units": []
|
|
|
|
}
|