Page 1 of 1

Machine Specific GCode Enhancements

Posted: Fri Apr 03, 2015 2:12 pm
by scottdanesi
Hello,
I am familiar with how to add startup and ending GCode withing S3D, but I would think it woudl be great if S3D could generate machine specific GCode.

An example of what I mean is the following.

My Ultimaker 2 has a firmware feature where it looks at the GCode for a specific comment at the beginning. Example: ";TIME:600" This indicator will tell the UM2 how many seconds that the print will take and will display it on the screen of the UM2 when browsing the GCode on the SD Card. There are also other indicators as well for material, etc. Cura does this automatically.

I am sure there are other printers that use similar code.

This would be really cool to include so that I do not have to manually modify my GCode offline to use this feature of my printer.

Thoughts?

Thank you,
--Scott

Re: Machine Specific GCode Enhancements

Posted: Sun Apr 05, 2015 7:38 pm
by scottdanesi
Here is an example of the first few lines of GCode generated by Cura for a test model that I made.

;FLAVOR:UltiGCode
;TIME:21285
;MATERIAL:76576
;MATERIAL2:0
;Layer count: 253

If I just put in the TIME or MATERIAL lines, it still registers just fine on the Ultimaker 2.

Thanks,

Re: Machine Specific GCode Enhancements

Posted: Fri Nov 13, 2015 11:26 pm
by drofnas
Darn, I was hoping to find an answer on how to do just this. Oh well, maybe one day we will get this functionality. Back to storing all this data manually in a spreadsheet so I have an idea on how long things take and how much filament they use.

Re: Machine Specific GCode Enhancements

Posted: Sat Nov 14, 2015 7:54 am
by CompoundCarl
It's already present in the bottom of the gcode file. Just open it with a text editor and scroll to the bottom. It has the print time and material used.

Re: Machine Specific GCode Enhancements

Posted: Sat Nov 14, 2015 10:24 am
by drofnas
It's just to bad I can't choose to output of this data at the top of the gcode, using the format described above, so that my printer can use this data to show the time and filament length used via the built in display. Plus I think it also uses this data for other start up processes.

Re: Machine Specific GCode Enhancements

Posted: Sat Nov 14, 2015 4:48 pm
by Keith
Repitier Host displays the print time on the LCD of my Prusa i3 as well. I miss being able to take a quick glance when passing. Now I have to wake the pooter up to see how long to go...