* Add sim test for any type * Fix doc comments to match code * Add array ascription tests * Commit new test output * Fix to not panic when type is undefined * Fix to not panic on use of the any type * Update test and generated output * Fix error message after rebase * Fix subtype of any * Fix KCL to use new keyword args * Fix to not nest MixedArray in HomArray * Update output * Remove all creation of MixedArray and use HomArray instead * Rename MixedArray to Tuple * Fix to coerce arrays the way tuples are done * Restructure to appease the type signature extraction * Fix TS unit test * Update output after switch to HomArray * Update docs * Fix to remove edge case when creating points * Update docs with broken point signature * Fix display of tuples to not collide with arrays * Change push to an array with type mismatch to be an error * Add sim test for push type error * Fix acription to more general array element type * Fix to coerce point types * Change array push to not error when item type differs * Fix coercion tests * Change to only flatten as a last resort and remove flattening tuples * Contort code to appease doc generation * Update docs * Fix coerce axes * Fix flattening test to test arrays instead of tuples * Remove special subtype case for singleton coercion
1924 lines
39 KiB
Plaintext
1924 lines
39 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing subtract_regression03.kcl
|
|
---
|
|
{
|
|
"cut000": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"radius": 0.0495,
|
|
"tag": null,
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.264924,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": 0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"cut000Extrude": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.129,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.129,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": -1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": -0.2,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"cut001": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"radius": 0.0495,
|
|
"tag": null,
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.264924,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": 0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"cut001Extrude": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
},
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudePlane"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.129,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-0.129,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": 0.42,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.6025804201392091,
|
|
"y": -0.7980581665924197,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": -0.2,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
},
|
|
"plane000": {
|
|
"type": "Object",
|
|
"value": {
|
|
"origin": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.5037,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": -0.2649,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"xAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.1919,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.1726,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"yAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"zAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.1919,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.1726,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"plane001": {
|
|
"type": "Object",
|
|
"value": {
|
|
"origin": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.5037,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": -0.28,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"xAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.1919,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.1726,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"yAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": -1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"zAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.1919,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.1726,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"plane002": {
|
|
"type": "Object",
|
|
"value": {
|
|
"origin": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.42,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": -0.28,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"xAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": -0.2003,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": -0.2653,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"yAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 1.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"zAxis": {
|
|
"type": "HomArray",
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"value": 0.2003,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.2653,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Number",
|
|
"value": 0.0,
|
|
"ty": {
|
|
"type": "Default",
|
|
"len": {
|
|
"type": "Inches"
|
|
},
|
|
"angle": {
|
|
"type": "Degrees"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"sketch001": {
|
|
"type": "Plane",
|
|
"value": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.264924,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": 0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sketch001Profile000": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"radius": 0.0495,
|
|
"tag": null,
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.264924,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": 0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"sketch002": {
|
|
"type": "Plane",
|
|
"value": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
"value": "XY",
|
|
"xAxis": {
|
|
"x": 1.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 1.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sketch002Profile001": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-0.5037,
|
|
-0.2649
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.6956,
|
|
-0.0923
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
-0.5857,
|
|
0.0298
|
|
],
|
|
"from": [
|
|
-0.6956,
|
|
-0.0923
|
|
],
|
|
"radius": 0.16425,
|
|
"tag": null,
|
|
"to": [
|
|
-0.6283,
|
|
0.1884
|
|
],
|
|
"type": "Arc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-0.6283,
|
|
0.1884
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.1634,
|
|
0.313
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
0.0,
|
|
-0.297
|
|
],
|
|
"from": [
|
|
-0.1634,
|
|
0.313
|
|
],
|
|
"radius": 0.6315,
|
|
"tag": null,
|
|
"to": [
|
|
0.1634,
|
|
0.313
|
|
],
|
|
"type": "Arc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.1634,
|
|
0.313
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.6283,
|
|
0.1884
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": false,
|
|
"center": [
|
|
0.5858,
|
|
0.0298
|
|
],
|
|
"from": [
|
|
0.6283,
|
|
0.1884
|
|
],
|
|
"radius": 0.16425,
|
|
"tag": null,
|
|
"to": [
|
|
0.7168,
|
|
-0.0692
|
|
],
|
|
"type": "Arc",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.7168,
|
|
-0.0692
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.5165,
|
|
-0.3345
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "XY",
|
|
"xAxis": {
|
|
"x": 1.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 1.0,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
-0.5037,
|
|
-0.2649
|
|
],
|
|
"to": [
|
|
-0.5037,
|
|
-0.2649
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"sketch003": {
|
|
"type": "Plane",
|
|
"value": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": -1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sketch003Profile000": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.129,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.129,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": -1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"sketch004": {
|
|
"type": "Plane",
|
|
"value": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": 0.42,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.6025804201392091,
|
|
"y": -0.7980581665924197,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sketch004Profile000": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-0.129,
|
|
0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-0.129,
|
|
0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": 0.42,
|
|
"y": -0.28,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": -0.6025804201392091,
|
|
"y": -0.7980581665924197,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"to": [
|
|
0.0,
|
|
-0.06
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
},
|
|
"sweepExtrude000": {
|
|
"type": "Solid",
|
|
"value": {
|
|
"type": "Solid",
|
|
"id": "[uuid]",
|
|
"artifactId": "[uuid]",
|
|
"value": [
|
|
{
|
|
"faceId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"sourceRange": [],
|
|
"tag": null,
|
|
"type": "extrudeArc"
|
|
}
|
|
],
|
|
"sketch": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"ccw": true,
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"radius": 0.0495,
|
|
"tag": null,
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"type": "Circle",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
}
|
|
],
|
|
"on": {
|
|
"artifactId": "[uuid]",
|
|
"id": "[uuid]",
|
|
"origin": {
|
|
"x": -0.503704,
|
|
"y": -0.264924,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"type": "plane",
|
|
"value": "Custom",
|
|
"xAxis": {
|
|
"x": 0.7435091262737867,
|
|
"y": 0.6687257877094245,
|
|
"z": 0.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"yAxis": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
"units": {
|
|
"type": "Unknown"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"from": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"to": [
|
|
0.0495,
|
|
0.0
|
|
],
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
}
|
|
},
|
|
"height": 0.0,
|
|
"startCapId": "[uuid]",
|
|
"endCapId": "[uuid]",
|
|
"units": {
|
|
"type": "Inches"
|
|
},
|
|
"sectional": false
|
|
}
|
|
}
|
|
}
|