Declare std::offsetPlane in KCL (#6344)

* Declare std::offsetPlane in KCL

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Use two axes to define planes in KCL

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-24 22:01:27 +12:00
committed by GitHub
parent 20c2ce3bac
commit 83a87b046f
187 changed files with 115960 additions and 133737 deletions

View File

@ -331,7 +331,7 @@ description: Artifact commands french-press.kcl
"adjust_camera": false,
"planar_normal": {
"x": 1.0,
"y": 0.0,
"y": -1.0,
"z": 0.0
}
}
@ -702,7 +702,7 @@ description: Artifact commands french-press.kcl
"adjust_camera": false,
"planar_normal": {
"x": 1.0,
"y": 0.0,
"y": -1.0,
"z": 0.0
}
}

View File

@ -494,6 +494,15 @@ description: Operations executed french-press.kcl
}
},
{
"type": "KclStdLibCall",
"name": "offsetPlane",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
},
"labeledArgs": {
"offset": {
"value": {
@ -512,16 +521,7 @@ description: Operations executed french-press.kcl
"sourceRange": []
}
},
"name": "offsetPlane",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
"sourceRange": []
},
{
"labeledArgs": {
@ -845,6 +845,15 @@ description: Operations executed french-press.kcl
"sourceRange": []
},
{
"type": "KclStdLibCall",
"name": "offsetPlane",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
},
"labeledArgs": {
"offset": {
"value": {
@ -863,16 +872,7 @@ description: Operations executed french-press.kcl
"sourceRange": []
}
},
"name": "offsetPlane",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
"sourceRange": []
},
{
"labeledArgs": {
@ -1320,6 +1320,15 @@ description: Operations executed french-press.kcl
"sourceRange": []
},
{
"type": "KclStdLibCall",
"name": "offsetPlane",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
},
"labeledArgs": {
"offset": {
"value": {
@ -1338,16 +1347,7 @@ description: Operations executed french-press.kcl
"sourceRange": []
}
},
"name": "offsetPlane",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
"sourceRange": []
},
{
"labeledArgs": {

File diff suppressed because it is too large Load Diff