* hide program memory source ranges from the app Signed-off-by: Jess Frazelle <github@jessfraz.com> fix unit tests Signed-off-by: Jess Frazelle <github@jessfraz.com> fix memory Signed-off-by: Jess Frazelle <github@jessfraz.com> remove from paths Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix program memory source ranges * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
277 lines
5.1 KiB
Plaintext
277 lines
5.1 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing riddle_small.kcl
|
|
---
|
|
{
|
|
"ANSWER": {
|
|
"type": "Number",
|
|
"value": 41803.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"ox": {
|
|
"type": "Number",
|
|
"value": -26.0,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"oy": {
|
|
"type": "Number",
|
|
"value": 34.0,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"r": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
199,
|
|
217,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
223,
|
|
242,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
248,
|
|
267,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
273,
|
|
281,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
199,
|
|
217,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
-26.0,
|
|
34.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-25.0,
|
|
34.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
223,
|
|
242,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
-25.0,
|
|
34.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-25.0,
|
|
33.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
248,
|
|
267,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
-25.0,
|
|
33.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-26.0,
|
|
33.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
273,
|
|
281,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
-26.0,
|
|
33.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-26.0,
|
|
34.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
-26.0,
|
|
34.0
|
|
],
|
|
"to": [
|
|
-26.0,
|
|
34.0
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
166,
|
|
193,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
"height": 1.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
},
|
|
"t": {
|
|
"type": "Function"
|
|
},
|
|
"xs": {
|
|
"type": "Number",
|
|
"value": 205804.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"ys": {
|
|
"type": "Number",
|
|
"value": 71816.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|