fragmuffin / pygcode

GCODE Parser for Python
GNU General Public License v3.0
123 stars 38 forks source link

Update gcodes.py #24

Open bwllc opened 4 years ago

bwllc commented 4 years ago

Added a hash representation of GCode subclasses, so that they can be used as items in sets and dictionary keys. My use case: I wanted to enumerate all the mode changes that were issued in a GCode program.