* 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:
@@ -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"}], …}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user