UI scenarios: named views (save the view from the browser, change it, restore it); targets written ahead of their features, ignored until they land: sheet metal Fold, configurations, motion study, autosave and recovery. Harness: note steps, named-view and camera checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AS5Tn3xieewUSg3uxrMVdL
This commit is contained in:
1 parent
829c4a2811
commit
2a54c83bf8
7 files changed
+271
-1
No files matched your search
@@ -0,0 +1,49 @@
|
||||
[
|
||||
{"note": "Target: a motion study keys a revolute joint and plays it (FusionMotionStudyCommand, motion.play by solvecraft-params; dialog by solvecraft-dialogs). Starts like s07; adjust the study steps when the dialog lands."},
|
||||
{"start": "FusionCreateNewComponentCommand"},
|
||||
{"key": "Enter"},
|
||||
{"start": "SketchCreate"},
|
||||
{"click": {"plane": "XY"}},
|
||||
{"start": "ShapeRectangleTwoPoint"},
|
||||
{"click": {"sketch": [0, 0]}},
|
||||
{"click": {"sketch": [20, 20]}},
|
||||
{"key": "Escape"},
|
||||
{"start": "SketchStop"},
|
||||
{"call": "ui.view", "params": {"view": "iso"}},
|
||||
{"start": "Extrude"},
|
||||
{"text": "10"},
|
||||
{"key": "Enter"},
|
||||
{"call": "ui.menu", "params": {"x": 100, "y": 170, "target": {"type": "component", "id": 0}}},
|
||||
{"call": "ui.menuPick", "params": {"item": "Activate"}},
|
||||
{"start": "FusionCreateNewComponentCommand"},
|
||||
{"key": "Enter"},
|
||||
{"start": "SketchCreate"},
|
||||
{"click": {"plane": "XZ"}},
|
||||
{"start": "ShapeRectangleTwoPoint"},
|
||||
{"click": {"sketch": [30, 0]}},
|
||||
{"click": {"sketch": [50, 10]}},
|
||||
{"key": "Escape"},
|
||||
{"start": "SketchStop"},
|
||||
{"call": "ui.view", "params": {"view": "iso"}},
|
||||
{"start": "Extrude"},
|
||||
{"click": {"world": [40, 0, 5]}},
|
||||
{"text": "20"},
|
||||
{"key": "Enter"},
|
||||
{"start": "JointAssembleCmdNew"},
|
||||
{"click": {"world": [10, 10, 10]}},
|
||||
{"click": {"world": [40, -20, 5]}},
|
||||
{"widget": "Rigid"},
|
||||
{"widget": "Revolute"},
|
||||
{"widget": "OK"},
|
||||
{"start": "FusionMotionStudyCommand"},
|
||||
{"widget": "Add Key"},
|
||||
{"widget": "0 deg", "near": "Value"},
|
||||
{"key": "A", "cmd": true},
|
||||
{"text": "90"},
|
||||
{"key": "Enter"},
|
||||
{"widget": "OK"},
|
||||
{"expect": {"dialog": null, "errors": 0}},
|
||||
{"call": "engine.execute", "params": {"command": "motion.play", "params": {"study": 1, "step": 100}}},
|
||||
{"expect": {"query": {"command": "joint.list", "path": ["joints", 0, "values", 0, "value"], "value": 90}}},
|
||||
{"shot": "s24_motion_end"}
|
||||
]
|
||||
Reference in new issue
Block a user