* 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>
387 lines
7.1 KiB
Plaintext
387 lines
7.1 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing parametric.kcl
|
|
---
|
|
{
|
|
"FOS": {
|
|
"type": "Number",
|
|
"value": 2.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"bracket": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
284,
|
|
305,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
311,
|
|
332,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
338,
|
|
365,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
371,
|
|
405,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
411,
|
|
445,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
451,
|
|
459,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
284,
|
|
305,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
5.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
311,
|
|
332,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
0.0,
|
|
5.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
8.0,
|
|
5.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
338,
|
|
365,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
8.0,
|
|
5.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
8.0,
|
|
4.8148
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
371,
|
|
405,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
8.0,
|
|
4.8148
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.1852,
|
|
4.8148
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
411,
|
|
445,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
0.1852,
|
|
4.8148
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.1852,
|
|
0.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
451,
|
|
459,
|
|
0
|
|
]
|
|
},
|
|
"from": [
|
|
0.1852,
|
|
0.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
253,
|
|
278,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
"height": 9.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
},
|
|
"distance": {
|
|
"type": "Number",
|
|
"value": 6.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"leg1": {
|
|
"type": "Number",
|
|
"value": 5.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"leg2": {
|
|
"type": "Number",
|
|
"value": 8.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"p": {
|
|
"type": "Number",
|
|
"value": 150.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"sigmaAllow": {
|
|
"type": "Number",
|
|
"value": 35000.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"thickness": {
|
|
"type": "Number",
|
|
"value": 0.1852,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"width": {
|
|
"type": "Number",
|
|
"value": 9.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Mm"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|