Python script to postprocess Slic3r output for Machinekit