Wed Dec 05, 2018 10:31 am
For people who use USB for printing, it would make sense if there was an option to minimize the gcode file. Once possible source for savings would be to eliminate unnecessary digits (you could probably do this pretty easily with a gcode filter).
For example this gcode from 4.1.1:
G92 E0.0000
G1 X17.760 Y199.550 E0.3001 F3000
G1 X17.760 Y201.760 E0.3883
G1 X10.240 Y201.760 E0.6885
G1 X10.240 Y199.950 E0.7607
G1 X10.240 Y199.550 F3000
G1 X15.240 Y199.550 F3000
Could look like this:
G92 E0
G1 X17.76 Y199.55 E0.3001 F3000
G1 X17.76 Y201.76 E0.3883
G1 X10.24 Y201.76 E0.6885
G1 X10.24 Y199.95 E0.7607
G1 X10.24 Y199.55 F3000
G1 X15.24 Y199.55 F3000
Version 4.0.1 used G92 E0, but retracts had the extra decimals:
G1 E-4.5000 F2400
could also be written as:
G1 E-4.5 F2400
The emulated serial port can be a bottleneck for USB printing, so the tighter you can make the gcode, the better the printer will perform. This is especially true if your STL file has a high number of polygons.