* 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>
716 lines
14 KiB
Plaintext
716 lines
14 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing flange-xy.kcl
|
|
---
|
|
{
|
|
"baseDia": {
|
|
"type": "Number",
|
|
"value": 4.625,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"baseThickness": {
|
|
"type": "Number",
|
|
"value": 0.625,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"bottomExtrusion": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
2214,
|
|
2292,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
2214,
|
|
2292,
|
|
0
|
|
]
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
1.25,
|
|
0.0
|
|
],
|
|
"radius": 1.25,
|
|
"tag": null,
|
|
"to": [
|
|
1.25,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"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": "Inches"
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
1.25,
|
|
0.0
|
|
],
|
|
"to": [
|
|
1.25,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
2214,
|
|
2292,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": -0.06,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"bottomThickness": {
|
|
"type": "Number",
|
|
"value": 0.06,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"bottomTotalDiameter": {
|
|
"type": "Number",
|
|
"value": 2.5,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"flangeBase": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
916,
|
|
982,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
916,
|
|
982,
|
|
0
|
|
]
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
2.3125,
|
|
0.0
|
|
],
|
|
"radius": 2.3125,
|
|
"tag": null,
|
|
"to": [
|
|
2.3125,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"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": "Inches"
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
2.3125,
|
|
0.0
|
|
],
|
|
"to": [
|
|
2.3125,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
916,
|
|
982,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.625,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"holeLocator": {
|
|
"type": "Number",
|
|
"value": -3.375,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"mountingHoleDia": {
|
|
"type": "Number",
|
|
"value": 0.625,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"mountingHolePlacementDiameter": {
|
|
"type": "Number",
|
|
"value": 3.5,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"nHoles": {
|
|
"type": "Number",
|
|
"value": 4.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"pipeDia": {
|
|
"type": "Number",
|
|
"value": 1.25,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"thickness": {
|
|
"type": "Number",
|
|
"value": 0.625,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"topExtrusion": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
1915,
|
|
1990,
|
|
0
|
|
],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
1915,
|
|
1990,
|
|
0
|
|
]
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
1.1565,
|
|
0.0
|
|
],
|
|
"radius": 1.1565,
|
|
"tag": null,
|
|
"to": [
|
|
1.1565,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"type": "plane",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": "Custom",
|
|
"origin": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.625
|
|
},
|
|
"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": "Inches"
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
1.1565,
|
|
0.0
|
|
],
|
|
"to": [
|
|
1.1565,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": [
|
|
1915,
|
|
1990,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.1279999999999999,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"topFacePlane": {
|
|
"type": "Object",
|
|
"value": {
|
|
"plane": {
|
|
"type": "Object",
|
|
"value": {
|
|
"origin": {
|
|
"type": "Object",
|
|
"value": {
|
|
"x": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"y": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"z": {
|
|
"type": "Number",
|
|
"value": 0.625,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"xAxis": {
|
|
"type": "Object",
|
|
"value": {
|
|
"x": {
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"y": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"z": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"type": "Object",
|
|
"value": {
|
|
"x": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"y": {
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"z": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"zAxis": {
|
|
"type": "Object",
|
|
"value": {
|
|
"x": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"y": {
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"z": {
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"topTotalDiameter": {
|
|
"type": "Number",
|
|
"value": 2.313,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"topTotalThickness": {
|
|
"type": "Number",
|
|
"value": 0.128,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
"totalThickness": {
|
|
"type": "Number",
|
|
"value": 0.813,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
}
|