markwal / GPX

Gcode to x3g conversion post processor
GNU General Public License v2.0
98 stars 80 forks source link

eeprom for sailfish v4.7 #39

Open michaelbaisch opened 4 years ago

michaelbaisch commented 4 years ago

Hello,

I'm trying to get my Makerbot Thing-O-Matic (Mk7 Gen4) working with GPX. Manipulating the eeprom is necessary because I have to change at least the Z home value. Now GPX has only a eeprom map for Sailfish v7.7, the latest version my TOM can handle is v4.7. Since it doesn't seem this will change, I think it makes sense to add support for this version as well.

I have started with this - for now focusing on the home and steps per mm values. For the home values there is a weird signed / unsigned thing going on described here since this might be connected to js (but maybe also python or json conversion?). For steps per mm I ran into the problem that this value is actually stored as 64 bit integer and there is no function in GPX to read that, so those would be nice to have. I also noticed that the naming of the entries between v4.7 and v7.7 can differ. I would be okay going with the names of v7.7 and looking how close we can get, also thinking about OctoPrint-GPX and how those values are hard coded in the js there. Let me know if they're efforts of using eeprom maps with their original names.

Greetings, Michael