fix(engine): report design variant in timeline.inspect and accept in timeline.add (#10748) (#10792)

* fix(engine): report design variant in timeline.inspect and accept in timeline.add (#10748)

* ci: refresh checks to clear cancelled workflow run
This commit is contained in:
Kushagra Kumar
2026-11-01 21:00:44 +00:00
committed by GitHub
parent 303236e524
commit 446590dca1
8 changed files with 224 additions and 5 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ edited with the sketch commands. Expressions are text (`"30"`, `"30 mm"`, `"widt
```json
{"command": "timeline.inspect", "params": {"feature": "Slab"}}
→ {"type": "ExtrudeFeature",
→ {"type": "extrude", "type_name": "ExtrudeFeature",
"definition": {"sketch": 1, "profiles": {"type": "all"}, "operation": "new_body",
"extent": {"distance": "10", "direction": "positive"}},
"inputs": [{"label": "Distance", "param": "d1", "expression": "10", "unit": "mm"}], …}
+2 -2
View File
@@ -519,8 +519,8 @@ Search lists both under the same name, and the label lookup gives both the same
## A feature's type
A feature type has one name: its design-file key, such as `sheet_flange`. The label (Flange) is
its display name. Replies and scripts should use the design-file key; today `timeline.inspect`
reports a different name (`EdgeFlangeFeature`), so a script can't match one against the other.
its display name. Replies and scripts use the design-file key (`timeline.inspect` reports both
`type: "sheet_flange"` and `type_name: "EdgeFlangeFeature"`).
## Open questions for the maintainer