* 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>
129 lines
2.5 KiB
Plaintext
129 lines
2.5 KiB
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Operations executed rect_helper.kcl
|
|
---
|
|
{
|
|
"rust/kcl-lib/tests/rect_helper/input.kcl": [
|
|
{
|
|
"type": "StdLibCall",
|
|
"name": "startSketchOn",
|
|
"unlabeledArg": {
|
|
"value": {
|
|
"type": "Plane",
|
|
"artifact_id": "[uuid]"
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
"labeledArgs": {},
|
|
"nodePath": {
|
|
"steps": [
|
|
{
|
|
"type": "ProgramBodyItem",
|
|
"index": 0
|
|
},
|
|
{
|
|
"type": "VariableDeclarationDeclaration"
|
|
},
|
|
{
|
|
"type": "VariableDeclarationInit"
|
|
},
|
|
{
|
|
"type": "PipeBodyItem",
|
|
"index": 0
|
|
}
|
|
]
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
],
|
|
"std::appearance": [],
|
|
"std::array": [],
|
|
"std::math": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"name": "PI",
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 3.141592653589793,
|
|
"ty": {
|
|
"type": "Unknown"
|
|
}
|
|
},
|
|
"visibility": "export",
|
|
"nodePath": {
|
|
"steps": []
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"name": "E",
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 2.718281828459045,
|
|
"ty": {
|
|
"type": "Known",
|
|
"type": "Count"
|
|
}
|
|
},
|
|
"visibility": "export",
|
|
"nodePath": {
|
|
"steps": []
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"name": "TAU",
|
|
"value": {
|
|
"type": "Number",
|
|
"value": 6.283185307179586,
|
|
"ty": {
|
|
"type": "Known",
|
|
"type": "Count"
|
|
}
|
|
},
|
|
"visibility": "export",
|
|
"nodePath": {
|
|
"steps": []
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
],
|
|
"std::prelude": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"name": "START",
|
|
"value": {
|
|
"type": "String",
|
|
"value": "start"
|
|
},
|
|
"visibility": "export",
|
|
"nodePath": {
|
|
"steps": []
|
|
},
|
|
"sourceRange": []
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"name": "END",
|
|
"value": {
|
|
"type": "String",
|
|
"value": "end"
|
|
},
|
|
"visibility": "export",
|
|
"nodePath": {
|
|
"steps": []
|
|
},
|
|
"sourceRange": []
|
|
}
|
|
],
|
|
"std::sketch": [],
|
|
"std::solid": [],
|
|
"std::sweep": [],
|
|
"std::transform": [],
|
|
"std::turns": [],
|
|
"std::types": [],
|
|
"std::units": []
|
|
}
|