RestoreRapids is a small Windows GUI app that fixes missing rapid moves in Fusion 360 generated G-code.
This tool was created as a work-around for the limitations of the free version of Fusion 360. It scans for retracts to a safe Z height and then ensures the next XY travel move is a rapid G0 when it is not already explicit or modal.
- Reads the input G-code file line by line.
- Strips comments for parsing so comment text does not affect detection.
- Detects a retract line that includes a Z word at the configured safe height within a configurable tolerance.
- After a safe-Z retract, the next XY move line without an explicit
Gword is modified:- If motion mode is already
G0, the line is left alone. - Otherwise,
G0is prefixed to force a rapid move.
- If motion mode is already
- Writes the updated output file and reports how many rapid moves were inserted.
Explicit G words on the next line (such as G0, G1, G2, or G3) are respected and will not be overridden.
Latest release: download
- Download the latest release: download.
- Run
restorerapidmoves.pywor the downloaded .exe. - Browse to select your input G-code file.
- Choose an output file location (auto-filled by default).
- Set your Safe Z height (mm).
- Set the Z match tolerance (mm) if needed.
- Click "Fix G-code".
The updated file is written to the output path and the app displays the number of inserted rapid moves.
- Input G-code file (
.nc,.gcode,.tap, or any file). - Safe Z height (mm).
- Z match tolerance (mm).
- A new G-code file with
G0inserted immediately after safe-Z retracts when the next XY move does not already use a rapid motion.
This software is provided "as is" without warranty of any kind. The author is not liable for any damage, injury, or loss resulting from its use.