Ideamaker gcode data missing
-
Thanks @arhi for this trick.
However, instead of putting it in template/gcode/start gcode, I would rather say to put it in printer settings/Advanced/End of start gcode.
By doing this, you don't have to edit all your existing templates.Also, print time is still not displaying on RRF 3.2 and ideamaker 4.0.1.4802
idemaker is adding this info at the end of the gcode :
;Print Time: 1569 ;Material#1 Used: 1817.3 ;Material#2 Used: 0.0 ;Material#1 Cost: 0.16 ;Material#2 Cost: 0.00
-
@Falcounet I'll move this to the DWC wishlist and maybe @chrishamm can add the ideamaker format for time
-
Thank you !
I wanted to prepare a pull request for that but had no luck to find where it's performed.Edit: I finally found it but that's a part of RRF and not DWC.
https://github.com/Duet3D/RepRapFirmware/blob/93f00c189f717a591b07902e69608bf8b60be230/src/Storage/FileInfoParser.cpp#L781 -
Just some little more info:
For those who use a SBC: adding thisPrintTimeFilters
on/opt/dsf/conf/config.json
do the trick"PrintTimeFilters": [ ... { "Pattern": "Print Time: (?<s>(\\d+\\.?\\d*))", "Options": 17 }, ... ],
-
@Falcounet please provide a sample GCode file produced by IdeaMaker so that I can test a fix.
-
Here is one, I'm after the same thing if possible.
bottom_hooks.gcode -
@dc42 If it helps I run ideamaker and i do at least get Filament usage. No Layer height or print time though
ideaMaker 3.6.1.4415
Duet Web Control 2.0.4
Board: Duet WiFi 1.02 or later + DueX5
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05 (2019-12-13b1)
Duet WiFi Server Version: 1.23What format is the firmware looking for? It might be possible to write a simple post processor rule as a temporary fix until an official one is ready.
-
I have added support for the Ideamaker print time comment to the RRF 3.3 source. This works for both the files posted above. However, RRF still doesn't find a layer time comment in the spacer.gcode file.
-
@dc42 said in Ideamaker gcode data missing:
I have added support for the Ideamaker print time comment to the RRF 3.3 source. This works for both the files posted above. However, RRF still doesn't find a layer time comment in the spacer.gcode file.
I'm assuming you mean layer height?
-
Sorry, yes layer height.