Hi
I’m trying to build my own post processor in order to import Gcode generated from slic3r into
Right now I’m simply skpping unsupported commands and I’m not focusing yet on the accuracy of the generated model
G1 (supported by easel) command is supported and seems to be following the reference documentation but easel is still prompting an error message on the import process
Could you please indicate what am I doing wrong?
Error Message
Invalid G-code
Line 6: G1 X-99.884 Y-119.500 E3.69749 F1800.000
The file contains invalid G-code syntax.
Simple postprocessor script
ori=“original2.gcode”
dest=“converted.gcode”
cat $ori |
awk ‘{if (NF>0){print $0}}’ | # removing blank lines
grep -v “^;” | # removing comments
grep -v "^G28 "| # removing “Move to Origin”
grep -v "^M82 "| # removing “Makes the extruder interpret extrusion as absolute positions.”
grep -v "^G92 "| # removing “Set Position”
grep -v "^M106 " > $dest # removing “Fan On”