Coerce the result of a function call to the function's return type (#6309)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-22 11:00:53 +12:00
committed by GitHub
parent 30ee547ce4
commit e4e18dfd4b
207 changed files with 2796 additions and 1503 deletions

View File

@ -69,6 +69,14 @@ description: Artifact commands import_function_not_sketch.kcl
"unit": "mm"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_scene_units",
"unit": "mm"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -1,19 +1,19 @@
```mermaid
flowchart LR
subgraph path2 [Path]
2["Path<br>[75, 101, 5]"]
3["Segment<br>[107, 125, 5]"]
4["Segment<br>[131, 150, 5]"]
5["Segment<br>[156, 175, 5]"]
6["Segment<br>[181, 200, 5]"]
7["Segment<br>[206, 231, 5]"]
8["Segment<br>[237, 258, 5]"]
9["Segment<br>[264, 283, 5]"]
10["Segment<br>[289, 296, 5]"]
2["Path<br>[75, 101, 6]"]
3["Segment<br>[107, 125, 6]"]
4["Segment<br>[131, 150, 6]"]
5["Segment<br>[156, 175, 6]"]
6["Segment<br>[181, 200, 6]"]
7["Segment<br>[206, 231, 6]"]
8["Segment<br>[237, 258, 6]"]
9["Segment<br>[264, 283, 6]"]
10["Segment<br>[289, 296, 6]"]
11[Solid2d]
end
1["Plane<br>[52, 69, 5]"]
12["Sweep Revolve<br>[302, 319, 5]"]
1["Plane<br>[52, 69, 6]"]
12["Sweep Revolve<br>[302, 319, 6]"]
13[Wall]
14[Wall]
15[Wall]