Great, thanks for the quick reply! Do you know by any chance whether there is a way of retracing the GCode flavor from a G-Code file? I could imagine that this information might be hidden somewhere in the code.
How to know whether E-value means "filament length in mm extruded" or "filament volume in mm^3 extruded"?
Well there are several ways to tell. One way is to check for if the temperature is set. Only reprap mode sets the temperature (near the top of the file) of the nozzle (and also the bed if you have it). I think there are other ways if you look at the comments.
Also realize that if you are in cura you can go to the file menu and choose "load profile from gcode...". Every gcode file has all the settings encoded at the bottom - cura can read this and set all your settings to those values then you can go through leisurely through all the cura menus and see what the settings were at when you created the file but I don't think it will tell you if it was ultigcode mode or reprap mode. But everything else is in there.
Or just slice the same object twice and in between change the gcode flavor. Save the two .gcode files to disk and then use a diff tool to see the textual differences.
Recommended Posts
Nicolinux 288
It depends of the gcode flavor you have set. If you haven an UM2, then Cura is set to "UltiGcode" where values are in mm^3. Regular gcode refers to mm of filament.
You can set the gcode flavor in Cura in the menu -> "Machine" -> "Machine Settings" -> "Gcode flavor".
Link to post
Share on other sites