2024-11-18 16:20:32 -06:00
|
|
|
---
|
|
|
|
source: kcl/src/simulation_tests.rs
|
2025-02-13 11:59:57 +13:00
|
|
|
description: Variables in memory after executing pipe_as_arg.kcl
|
2024-11-18 16:20:32 -06:00
|
|
|
---
|
|
|
|
{
|
2025-02-13 11:59:57 +13:00
|
|
|
"cube": {
|
|
|
|
"type": "Function",
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
7,
|
|
|
|
364,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"double": {
|
|
|
|
"type": "Function",
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
375,
|
|
|
|
397,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"myCube": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
202,
|
|
|
|
224,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
2025-02-12 10:22:56 +13:00
|
|
|
},
|
|
|
|
{
|
2025-02-13 11:59:57 +13:00
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
232,
|
|
|
|
254,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
262,
|
|
|
|
284,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
2025-02-12 10:22:56 +13:00
|
|
|
},
|
|
|
|
{
|
2025-02-13 11:59:57 +13:00
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
292,
|
|
|
|
314,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sketch": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
202,
|
|
|
|
224,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-200.0,
|
|
|
|
200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
232,
|
|
|
|
254,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
-200.0,
|
|
|
|
200.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
200.0,
|
|
|
|
200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
262,
|
|
|
|
284,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
200.0,
|
|
|
|
200.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
292,
|
|
|
|
314,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
322,
|
|
|
|
330,
|
|
|
|
0
|
|
|
|
]
|
2025-02-12 10:22:56 +13:00
|
|
|
},
|
2025-02-13 11:59:57 +13:00
|
|
|
"from": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on": {
|
|
|
|
"type": "plane",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": "XY",
|
|
|
|
"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": 1.0,
|
|
|
|
"z": 0.0
|
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 1.0
|
|
|
|
},
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": []
|
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"from": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
|
|
|
"to": [
|
|
|
|
-200.0,
|
|
|
|
-200.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
2025-02-13 11:59:57 +13:00
|
|
|
"tag": null,
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
|
|
|
"sourceRange": [
|
|
|
|
177,
|
|
|
|
194,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
177,
|
|
|
|
194,
|
|
|
|
0
|
|
|
|
]
|
2025-02-12 10:22:56 +13:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"height": 400.0,
|
|
|
|
"startCapId": "[uuid]",
|
|
|
|
"endCapId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
177,
|
|
|
|
194,
|
|
|
|
0
|
|
|
|
]
|
2025-02-12 10:22:56 +13:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
]
|
2024-11-18 16:20:32 -06:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"type": "Function",
|
|
|
|
"__meta": [
|
|
|
|
{
|
|
|
|
"sourceRange": [
|
|
|
|
406,
|
|
|
|
425,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-11-18 16:20:32 -06:00
|
|
|
}
|