@nallath I just tried it, but the S5 stillt says "Something is wrong with this file".
I'll attach the new gcode with set extruder name...
Any other ideas what the issue could be?
@nallath I just tried it, but the S5 stillt says "Something is wrong with this file".
I'll attach the new gcode with set extruder name...
Any other ideas what the issue could be?
Okay, I did a bit of testing and found out, that the issue is that the print time and both extruder trains have to be included.
The Cura GUI includes
Quote;PRINT.TIME:2650
;EXTRUDER_TRAIN.0.INITIAL_TEMPERATURE:215
;EXTRUDER_TRAIN.0.MATERIAL.VOLUME_USED:4355
;EXTRUDER_TRAIN.0.MATERIAL.GUID:03f24266-0291-43c2-a6da-5211892a2699
;EXTRUDER_TRAIN.0.NOZZLE.DIAMETER:0.4
;EXTRUDER_TRAIN.0.NOZZLE.NAME:AA 0.4
;EXTRUDER_TRAIN.1.INITIAL_TEMPERATURE:100
;EXTRUDER_TRAIN.1.MATERIAL.VOLUME_USED:764
;EXTRUDER_TRAIN.1.MATERIAL.GUID:fe15ed8a-33c3-4f57-a2a7-b4b78a38c3cb
;EXTRUDER_TRAIN.1.NOZZLE.DIAMETER:0.4
;EXTRUDER_TRAIN.1.NOZZLE.NAME:BB 0.4
As soon as i insert these line into the header of the gcode created by CuraEngine the S5 accepts the file.
So this raises two questions:
Thanks for any help in advance!
Edited by Capsaicin
You don't have to set both extruders. This is only required if the print actually needs both extruders.
The print time is a required field, so that's probably the culprit.
Right now, the engine isn't really designed to be run as a stand alone. Quite a bit of the business logic is still within the frontend. We're looking to change that, but it will probably take quite some time to do that.
Just now, nallath said:You don't have to set both extruders. This is only required if the print actually needs both extruders.
The print time is a required field, so that's probably the culprit.
Right now, the engine isn't really designed to be run as a stand alone. Quite a bit of the business logic is still within the frontend. We're looking to change that, but it will probably take quite some time to do that.
Is the print time used for any other purpose than visualization and processing of used material? If not it could be just inserted afterwards with some random value...
You could put a random number there, but the display & time prediction will go haywire if you do.
The engine does compute a print time so it could insert a value into the gcode without the help of the front end.
4 hours ago, smartavionics said:The engine does compute a print time so it could insert a value into the gcode without the help of the front end.
I just realized this too, thank you!
On 12/18/2018 at 4:19 PM, nallath said:The extruder name in the header is not set
;EXTRUDER_TRAIN.0.NOZZLE.NAME:unknown
hi question where do i find how to set the Name (and GUID etc ? ) do i need to go in the c code ? or is there somewhere an wiki ? or generated docu ?
Hey, sorry to bring this back but I'm facing exactly the same issue with an _S3. What was the final workaround?
In my case, what's missing:
material GUID
printing time
filament amount
My 'dirty' thought was to save terminal output to a .txt, take the lines I need and extract values through some shell or python, and then append to the gcode?
Hi @modernonline and @tkamsker
it has been a while since I was working on this and I cannot check that code anymore as I am not working on this site anymore.
As far as I remember, some things (maybe also the GUID of the material etc.) can be set in the configuration/definition files. I remember that I had to do some deep digging there to get this running for my use case, as all the files inherit from each other and some things have to be set in the root definition files and work only there.
@modernonline I think your proposed solution was exactly what I did back then. Do the slicing, take output and modify the gcode with it.
Hope this provides at least a little help, I remember that working with this was a real hassle because nothing was documented and it was a lot of trial and error...
@Capsaicin there is some documentation albeit scarce. People who get what to do don't write guides and for Cura the engine is merely a debug tool. Anyways, I'm doing all this for an art installation and plan to do some guides once everything's done. I'm actually doing the automated slicing + print job submission via API. Double trouble 🙂
Anyways not much has changed and appending gcode is still the best approach it seems.
Edited by modernonlineModernonline so we do similar things we had to rewrite slicing so inyour case cura is running now in several docker images to be called by our cloud service ,..
On 6/10/2020 at 8:32 PM, Tka said:Modernonline so we do similar things we had to rewrite slicing so inyour case cura is running now in several docker images to be called by our cloud service ,..
Cool, did you also release the source code?
Recommended Posts
nallath 1,124
The extruder name in the header is not set
Link to post
Share on other sites