* KCL test for rectangle * Rectangle function * Rectangle helper tests * Rectangle helper * Fix clippy lints * Update docs * fmt * Fix bug * fmt * Fix doc comments * Update generated docs --------- Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
145 lines
2.6 KiB
Plaintext
145 lines
2.6 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Variables in memory after executing rect_helper.kcl
|
|
---
|
|
{
|
|
"x": {
|
|
"type": "Sketch",
|
|
"value": {
|
|
"type": "Sketch",
|
|
"id": "[uuid]",
|
|
"paths": [
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-2.0,
|
|
-1.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
1.0,
|
|
-1.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
1.0,
|
|
-1.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
1.0,
|
|
1.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
1.0,
|
|
1.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-2.0,
|
|
1.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
},
|
|
{
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
},
|
|
"from": [
|
|
-2.0,
|
|
1.0
|
|
],
|
|
"tag": null,
|
|
"to": [
|
|
-2.0,
|
|
-1.0
|
|
],
|
|
"type": "ToPoint",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
],
|
|
"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": [
|
|
-2.0,
|
|
-1.0
|
|
],
|
|
"to": [
|
|
-2.0,
|
|
-1.0
|
|
],
|
|
"units": {
|
|
"type": "Mm"
|
|
},
|
|
"tag": null,
|
|
"__geoMeta": {
|
|
"id": "[uuid]",
|
|
"sourceRange": []
|
|
}
|
|
},
|
|
"artifactId": "[uuid]",
|
|
"originalId": "[uuid]",
|
|
"units": {
|
|
"type": "Mm"
|
|
}
|
|
}
|
|
}
|
|
}
|