Skip to content

PyroAVR/Gcode-Manipulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gcode Manipulator

what an uncreative name...

This program performs Cartesian translations on Gcode files. It can handle the following codes:

  • G Standard G-codes
  • M Machine codes
  • F Feedrate
  • P Dwell
  • S Spindle velocity
  • T tool change ID
  • ;comments

It is unconcerned with spaces and other whitespace, and will print neatly formatted output. It has low memory usage due to reading only one line at a time to avoid data duplication in memory. For this reason, it can handly very large files with almost no impact on system resources beyond the size of the original file. Efficiency, HAYO!

G-codes not listed are not supported. The source code is easy to extend, just add them to the specialRegex.

To build for your platform, simply type make. You may need to change the compiler. I use LLVM/Clang++, but GCC and MSVC should work fine. -std=c++1y may be an issue, try replacing it with -std=c++11 if make fails.

Good luck!

About

Performs Cartesian shifts on Gcode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published