Python code for gcode reader and representation - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Python code for gcode reader and representation (/thread-11905.html) |
Python code for gcode reader and representation - ralmeida - Jul-31-2018 I am new to Python and I was wondering if someone can give me a few tips how to program in Python a gcode reader and afterwards the respective representation. I am completly on the start of learning how to program. My goal is to read the gcode, pickup the XYZ coordinates of each line and represent them in a diagram and connect these points with lines, so that it basically generates a tool path. Any help would be appreciated :) Best regards, Rui RE: Python code for gcode reader and representation - DeaD_EyE - Jul-31-2018 Parsing foreign Languages like GCode is not an easy task for beginners. You can look at already existing code: https://github.com/fragmuffin/pygcode |