2025-02-10 14:24:00 -05:00
|
|
|
---
|
|
|
|
source: kcl/src/simulation_tests.rs
|
|
|
|
description: Program memory after executing helix_simple.kcl
|
2025-02-11 16:06:47 -06:00
|
|
|
snapshot_kind: text
|
2025-02-10 14:24:00 -05:00
|
|
|
---
|
|
|
|
{
|
|
|
|
"environments": [
|
|
|
|
{
|
|
|
|
"bindings": {
|
|
|
|
"HALF_TURN": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 180.0,
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"QUARTER_TURN": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 90.0,
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"THREE_QUARTER_TURN": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 270.0,
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"ZERO": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 0.0,
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"edge001": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "edge001",
|
|
|
|
"info": {
|
|
|
|
"type": "TagEngineInfo",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sketch": "[uuid]",
|
|
|
|
"path": {
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
102,
|
|
|
|
137,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": {
|
|
|
|
"end": 136,
|
|
|
|
"start": 128,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "edge001"
|
|
|
|
},
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
10.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint"
|
|
|
|
},
|
|
|
|
"surface": null
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
128,
|
|
|
|
136,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"helixPath": {
|
|
|
|
"type": "Helix",
|
|
|
|
"value": {
|
|
|
|
"value": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"revolutions": 5.0,
|
|
|
|
"angleStart": 0.0,
|
|
|
|
"ccw": true,
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
151,
|
2025-02-11 16:06:47 -06:00
|
|
|
257,
|
2025-02-10 14:24:00 -05:00
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"helper001": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"value": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
102,
|
|
|
|
137,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": {
|
|
|
|
"end": 136,
|
|
|
|
"start": 128,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "edge001"
|
|
|
|
},
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
10.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"on": {
|
|
|
|
"type": "plane",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": "XZ",
|
|
|
|
"origin": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"xAxis": {
|
|
|
|
"x": 1.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 1.0
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": -1.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
71,
|
|
|
|
96,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"edge001": {
|
|
|
|
"type": "TagIdentifier",
|
|
|
|
"value": "edge001",
|
|
|
|
"info": {
|
|
|
|
"type": "TagEngineInfo",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sketch": "[uuid]",
|
|
|
|
"path": {
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
102,
|
|
|
|
137,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": {
|
|
|
|
"end": 136,
|
|
|
|
"start": 128,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "edge001"
|
|
|
|
},
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
10.0
|
|
|
|
],
|
|
|
|
"type": "ToPoint"
|
|
|
|
},
|
|
|
|
"surface": null
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
128,
|
|
|
|
136,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
71,
|
|
|
|
96,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-02-12 10:22:56 +13:00
|
|
|
"snapshots": [],
|
2025-02-10 14:24:00 -05:00
|
|
|
"parent": null
|
|
|
|
}
|
|
|
|
],
|
2025-02-12 10:22:56 +13:00
|
|
|
"currentEnv": [
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"callStack": []
|
2025-02-10 14:24:00 -05:00
|
|
|
}
|