2024-11-21 18:33:02 -06:00
|
|
|
---
|
2025-03-13 11:13:33 -07:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2025-02-13 11:59:57 +13:00
|
|
|
description: Variables in memory after executing function_sketch.kcl
|
2024-11-21 18:33:02 -06:00
|
|
|
---
|
|
|
|
{
|
2025-02-13 11:59:57 +13:00
|
|
|
"box": {
|
2025-05-05 23:40:18 -04:00
|
|
|
"type": "Function",
|
|
|
|
"value": null
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"fnBox": {
|
|
|
|
"type": "Solid",
|
|
|
|
"value": {
|
|
|
|
"type": "Solid",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-02-13 11:59:57 +13:00
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-02-13 11:59:57 +13:00
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-02-13 11:59:57 +13:00
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"faceId": "[uuid]",
|
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": [],
|
2025-02-13 11:59:57 +13:00
|
|
|
"tag": null,
|
|
|
|
"type": "extrudePlane"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sketch": {
|
|
|
|
"type": "Sketch",
|
|
|
|
"id": "[uuid]",
|
|
|
|
"paths": [
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
6.0
|
2025-01-22 09:42:09 +13:00
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"__geoMeta": {
|
2025-01-22 09:42:09 +13:00
|
|
|
"id": "[uuid]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
6.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
10.0,
|
|
|
|
6.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]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-11-21 18:33:02 -06:00
|
|
|
},
|
2025-02-13 11:59:57 +13:00
|
|
|
"from": [
|
|
|
|
10.0,
|
|
|
|
6.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
10.0,
|
|
|
|
0.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]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-11-21 18:33:02 -06:00
|
|
|
},
|
2025-02-13 11:59:57 +13:00
|
|
|
"from": [
|
|
|
|
10.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"tag": null,
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
2025-02-20 10:12:37 +13:00
|
|
|
"type": "ToPoint",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on": {
|
|
|
|
"artifactId": "[uuid]",
|
2025-04-29 19:11:02 -07:00
|
|
|
"id": "[uuid]",
|
2025-02-13 11:59:57 +13:00
|
|
|
"origin": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
2025-04-14 05:58:19 -04:00
|
|
|
"z": 0.0,
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
2025-04-29 19:11:02 -07:00
|
|
|
"type": "plane",
|
|
|
|
"value": "XY",
|
2025-02-13 11:59:57 +13:00
|
|
|
"xAxis": {
|
|
|
|
"x": 1.0,
|
|
|
|
"y": 0.0,
|
2025-04-14 05:58:19 -04:00
|
|
|
"z": 0.0,
|
|
|
|
"units": {
|
2025-04-29 08:29:22 +12:00
|
|
|
"type": "Unknown"
|
2025-04-14 05:58:19 -04:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 1.0,
|
2025-04-14 05:58:19 -04:00
|
|
|
"z": 0.0,
|
|
|
|
"units": {
|
2025-04-29 08:29:22 +12:00
|
|
|
"type": "Unknown"
|
2025-04-14 05:58:19 -04:00
|
|
|
}
|
2025-07-03 12:26:24 -05:00
|
|
|
},
|
|
|
|
"zAxis": {
|
|
|
|
"x": 0.0,
|
|
|
|
"y": 0.0,
|
|
|
|
"z": 1.0,
|
|
|
|
"units": {
|
|
|
|
"type": "Unknown"
|
|
|
|
}
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"from": [
|
|
|
|
0.0,
|
|
|
|
0.0
|
|
|
|
],
|
|
|
|
"to": [
|
|
|
|
0.0,
|
|
|
|
0.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]",
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2025-01-22 09:42:09 +13:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
},
|
|
|
|
"artifactId": "[uuid]",
|
|
|
|
"originalId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
2025-03-13 11:13:33 -07:00
|
|
|
}
|
2024-11-21 18:33:02 -06:00
|
|
|
},
|
2025-02-13 11:59:57 +13:00
|
|
|
"height": 3.0,
|
|
|
|
"startCapId": "[uuid]",
|
|
|
|
"endCapId": "[uuid]",
|
|
|
|
"units": {
|
|
|
|
"type": "Mm"
|
2025-04-23 21:26:09 -07:00
|
|
|
},
|
|
|
|
"sectional": false
|
2024-11-21 18:33:02 -06:00
|
|
|
}
|
2025-02-13 11:59:57 +13:00
|
|
|
}
|
2024-11-21 18:33:02 -06:00
|
|
|
}
|