Thanks a lot for your reply, I'll try to do it this way!
- 1 year later...
Hi NicoLinux,
I have been trying to capture the filament length and time from the, "Gcode header after slicing". But apparently, the updated header does not show up in the output for the command
`CuraEngine slice -v -p -j fdmprinter.def.json -l #{model_url}`
Seems the header is generated after the gcode, which is not captured in the output.
How could I get the final, filament and time parameters.
- 2 years later...
Hi rapcsak, did you manage to get the code working. I am trying to do the same thing, so it would be nice to know if this might work or not.
Recommended Posts
Nicolinux 288
Hi,
I have basically the exactly same issue since i am working on something related.
You have to download and compile the latest CuraEngine version. This one does output the gcode header after the file has been sliced. You then need to process the output of CuraEngine, extract the last bit with the new gcode header and replace the gcode header in your .gcode file with it.
There are TONS of slicing parameters which CuraEngine supports. If you don't specify any, you get the minimal default which is not really what you want.
In order to get a proper list of parameters I suggest you do the following:
Link to post
Share on other sites