Replace plane strings with literals (#6592)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
```mermaid
|
||||
flowchart LR
|
||||
subgraph path2 [Path]
|
||||
2["Path<br>[89, 124, 0]"]
|
||||
3["Segment<br>[130, 178, 0]"]
|
||||
4["Segment<br>[184, 243, 0]"]
|
||||
5["Segment<br>[249, 314, 0]"]
|
||||
6["Segment<br>[320, 386, 0]"]
|
||||
7["Segment<br>[392, 414, 0]"]
|
||||
2["Path<br>[87, 122, 0]"]
|
||||
3["Segment<br>[128, 176, 0]"]
|
||||
4["Segment<br>[182, 241, 0]"]
|
||||
5["Segment<br>[247, 312, 0]"]
|
||||
6["Segment<br>[318, 384, 0]"]
|
||||
7["Segment<br>[390, 412, 0]"]
|
||||
end
|
||||
1["Plane<br>[64, 83, 0]"]
|
||||
1["Plane<br>[64, 81, 0]"]
|
||||
1 --- 2
|
||||
2 --- 3
|
||||
2 --- 4
|
||||
|
||||
@ -178,13 +178,20 @@ description: Result of parsing tan_arc_x_line.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"raw": "'XY'",
|
||||
"name": {
|
||||
"commentStart": 0,
|
||||
"end": 0,
|
||||
"name": "XY",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": "XY"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
|
||||
@ -4,7 +4,7 @@ angleOffset = 135
|
||||
r = 1
|
||||
angleStart = 110
|
||||
|
||||
startSketchOn('XY')
|
||||
startSketchOn(XY)
|
||||
|> startProfile(at = [startX, startY])
|
||||
|> angledLine(angle = angleStart, length = .000001)
|
||||
|> tangentialArc(angle = angleOffset, radius = r, tag = $arc1)
|
||||
|
||||
@ -7,8 +7,8 @@ description: Operations executed tan_arc_x_line.kcl
|
||||
"labeledArgs": {
|
||||
"planeOrSolid": {
|
||||
"value": {
|
||||
"type": "String",
|
||||
"value": "XY"
|
||||
"type": "Plane",
|
||||
"artifact_id": "[uuid]"
|
||||
},
|
||||
"sourceRange": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user