Machine
Add a step
Steps
Preview machine coordinates
Drag to orbit. Right-drag, middle-drag or shift-drag to pan. Scroll zooms toward the cursor. Double-click fits the view. Faint lines show the path's shadow on the floor.
G-code
Downloads save as a .txt file because the viewer only allows certain file types. FluidNC reads the contents the same either way. Rename it to .nc if your sender or WebUI filters by extension.
Save this as a .nc file on the controller's SD card or local filesystem and run it with $SD/Run=/name.nc or $LocalFS/Run=/name.nc, or point a macro0–macro3 entry in your config at it. Variables and o-code logic need a FluidNC release with expression support, so check your firmware version before relying on them.