diff --git a/plugins/motion-slider/README.md b/plugins/motion-slider/README.md new file mode 100644 index 0000000..033e48b --- /dev/null +++ b/plugins/motion-slider/README.md @@ -0,0 +1,19 @@ +# Motion Slider + +A FigUI plugin for camera motion control rigs running FluidNC with plain cartesian kinematics: + +- **X** — slide rail position (mm) +- **Y** — pan head (degrees, driven as a linear axis) +- **Z** — tilt head (degrees, driven as a linear axis) + +## Features + +- **Interactive 3D rig** — a virtual slider rendered with zero external dependencies (works on offline AP-mode controllers). Drag the orange carriage along the rail, the teal knob to pan, or the camera body to tilt. Empty space orbits the view, scroll/pinch zooms. +- **Live virtual → machine sync** — enable *Live jog* and dragging the model streams throttled `$J=` jog commands so the real rig follows the virtual one. The machine's actual position is shown as a green ghost rig and in the HUD readouts. +- **Position capture with millisecond timing** — capture the virtual or actual machine pose as keyframes. Each keyframe has an editable time in **ms**; the plugin converts distance ÷ time into the exact `G1 ... F` feed so every move takes precisely as long as you set. Identical poses become `G4` dwells. If a time is shorter than the machine's max rates allow, the keyframe shows a ⚠ warning and the feed is capped. +- **Run / Hold / Resume** the sequence directly, or **save it as G-code** (`/sd/motion_slider.nc`) and open it in the main viewer/job control. +- Rail travel auto-detects from `$130`; pan/tilt limits are configurable. Keyframes and settings persist on the controller via the plugin settings API. + +## Install + +Copy this folder to `/plugins/` (internal) or `/sd/plugins/` and refresh the Plugins tab, or use Plugins → Add. diff --git a/plugins/motion-slider/icon.png b/plugins/motion-slider/icon.png new file mode 100644 index 0000000..4cf867a Binary files /dev/null and b/plugins/motion-slider/icon.png differ diff --git a/plugins/motion-slider/index.html b/plugins/motion-slider/index.html new file mode 100644 index 0000000..b279a57 --- /dev/null +++ b/plugins/motion-slider/index.html @@ -0,0 +1,5388 @@ + + +
+ + +Waiting for machine settings...+