Skip to content

Anzymanz/RestoreRapids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestoreRapids

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.

How it works

  • 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 G word is modified:
    • If motion mode is already G0, the line is left alone.
    • Otherwise, G0 is prefixed to force a rapid move.
  • 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.

Download

Latest release: download

Usage

  1. Download the latest release: download.
  2. Run restorerapidmoves.pyw or the downloaded .exe.
  3. Browse to select your input G-code file.
  4. Choose an output file location (auto-filled by default).
  5. Set your Safe Z height (mm).
  6. Set the Z match tolerance (mm) if needed.
  7. Click "Fix G-code".

The updated file is written to the output path and the app displays the number of inserted rapid moves.

Inputs

  • Input G-code file (.nc, .gcode, .tap, or any file).
  • Safe Z height (mm).
  • Z match tolerance (mm).

Output

  • A new G-code file with G0 inserted immediately after safe-Z retracts when the next XY move does not already use a rapid motion.

Disclaimer

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.

About

A tool for restoring rapid moves in exported Fusion 360 gcode

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages