Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AS5Tn3xieewUSg3uxrMVdL
226 lines
2.2 KiB
JSON
226 lines
2.2 KiB
JSON
[
|
|
{
|
|
"note": "Motion study: key a revolute joint and play it (FusionMotionStudyCommand, motion.play)."
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
] |