Those of you who are using the latest RC versions of Cura, how do you handle the last lines of gibberish that Cura puts on the end of the GCode?
I tried to manually delete it and copy to an SD card but then I get a read error. It seems the last line is not compatible with Repetier.
I also tried the sketch that someone created that was supposed to delete the last line but Cura would not open with that patch in place.
I really want to use Cura but how to do it with the .091 version of Repetier. I can't believe that I am the only one effected by that last line of "code"
that Cura places on the end of the Gcode and I believe that there must be a solution to the problem. Can anyone offer any suggestions to get Cura to stop creating
that last line of trash it appends to the GCode?
What to do with the last lines of GCode.
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: What to do with the last lines of GCode.
Could you run a newer version of Repetier? Mine seems to work fine even with that huge line of crap.
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: What to do with the last lines of GCode.
It is the latest version of Repetier running on an Orion.Tinyhead wrote:Could you run a newer version of Repetier? Mine seems to work fine even with that huge line of crap.
Re: What to do with the last lines of GCode.
I never noticed it and never had a problem so far (14.02 RC5). It Looks like an uninitialized string to me.
If you have a problem running it , I just would delete this section with notepad. For sure this is not suppose to happen.
If you have a problem running it , I just would delete this section with notepad. For sure this is not suppose to happen.
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: What to do with the last lines of GCode.
I do have a problem loading it and if I delete it, I get a read error. I will have to figure out something to get it too work.Cosmic wrote:I never noticed it and never had a problem so far (14.02 RC5). It Looks like an uninitialized string to me.
If you have a problem running it , I just would delete this section with notepad. For sure this is not suppose to happen.
Re: What to do with the last lines of GCode.
Eagle, do me a favor - go through your process to remove that last line and the post a screen shot that shows the error you're getting.
tnx!
g.
tnx!
g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: What to do with the last lines of GCode.
Gene, all I do is open the GCode in Notepad and remove the last line. I copy the GCode to an SD card and get a read error every timegeneb wrote:Eagle, do me a favor - go through your process to remove that last line and the post a screen shot that shows the error you're getting.
tnx!
g.
the Orion tries to read it.
I think that it is possible that a CRC is generated and by removing the last line, the CRC is hosed.
I have not tried to leave the line in place but after rereading the thread at http://forum.seemecnc.com/viewtopic.php?t=4119&p=30340
I see that editing the end GCode it is possible to keep the effector from crashing into the glass. I will try that next unless you have a method
that works.
Re: What to do with the last lines of GCode.
There's no CRC created for the file. I suspect Notepad is doing something fun like changing the Unix-style line endings from LF to the CR/LF style that Windows uses and the firmware doesn't know what's going on.Eaglezsoar wrote:Gene, all I do is open the GCode in Notepad and remove the last line. I copy the GCode to an SD card and get a read error every timegeneb wrote:Eagle, do me a favor - go through your process to remove that last line and the post a screen shot that shows the error you're getting.
tnx!
g.
the Orion tries to read it.
I think that it is possible that a CRC is generated and by removing the last line, the CRC is hosed.
g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Re: What to do with the last lines of GCode.
I agree Gene and talked to Eagle a bit about this on Saturday when I visited.
Eagle, can you post the before and after gcode files from Cura please. I'm happy to take a look at them and see what's up.
That last line is a comment:
;CURA_PROFILE_STRING:eNrtV01v20YQvRJCf8QeUzRWSEqK4xi8JLV9iYMAdlHHF2JFDqWtSS6xXFqWBP33vl1+iJKlNGl6CRofZPFxdj7fzKxSviQVzknM5jpwh76z4Gka6rmIHnIqy8AbThxFWvFIC5mHlPNpSsGtqsgpZSriMLUKtgfc4WsnEdARU14KvQwmrpPL1SqlsBQrwvuxUyiR67AsiOL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r9/hqKjVmNwcM9Nwy9AXHla3btTd2jx6wcjHDru8dYS9EwpayYnN4w4T+FUF57Cv+UEJkHX29wy1EdnGC6Eau+w+H7QqsSdcynTMMEfiHUhIz4x0arUR9MXpp2AGrhJkI6mRkqmHLDzaVuLZYpvyG1QIfJuzuxAfzzMderju2VkVjkiPjrUedN/RIOcukUbvthi8GdaxTXsJb66jZW0yUTFa69X3Bl4PrN+PjSktNBe5lZd2XZ8d9ONjsjm1wf29U/g/m4/m1h1zdrA/eb0GBP3Jcyex5FIvHsekBNATGh+mPniwzO9SoM624fnaH/qKqg2rO2K13SJP/r1S53+/UD7JKtlvgUDcfWQO3R2bZ+c3CXEaMFXPSxwBo5+n3rA7PPbw6PPc/3R3W1sn68K+SzeDW/aqgE6FK/SOFvVt4jBSMUct9sycyzB4+w07I2Yf3v7MyUkQ5COqdsk+NzHA4NHvWP7Job91v3LXmjPdzP//cz9+zn5sfl/1fNB24vRTWv3t3hCzSk1CE+RfRMCofocF2+kVDwW791/0/Jb1Ac9j4okopm82WrSbXtqZAOvQlW8xxoGs2O+WzKtWiSLuOVeWwae+aZqPX7HLium4L3q5bwY0RuFvjt2n4tGGf7RdcRu7tl9XmWacbdXva/gYFlFMa
and is used to store the configuration used to slice the file so Cura can restore the configuration if you need to later. However, even though it is commented, there may be characters in there that cause problems with Repetier depending on the STL and slicing config. So far, this has not caused a problem for me (Mac though) so I'd like to see the gcode that is causing you problems.
thanks,
Michael
Eagle, can you post the before and after gcode files from Cura please. I'm happy to take a look at them and see what's up.
That last line is a comment:
;CURA_PROFILE_STRING:eNrtV01v20YQvRJCf8QeUzRWSEqK4xi8JLV9iYMAdlHHF2JFDqWtSS6xXFqWBP33vl1+iJKlNGl6CRofZPFxdj7fzKxSviQVzknM5jpwh76z4Gka6rmIHnIqy8AbThxFWvFIC5mHlPNpSsGtqsgpZSriMLUKtgfc4WsnEdARU14KvQwmrpPL1SqlsBQrwvuxUyiR67AsiOLAnzSPmrKCFNeVosAfHUD9wH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la3btTd2jx6wcjHDru8dYS9EwpayYnN4w4T+FUF57Cv+UEJkHX29wy1EdnGC6Eau+w+H7QqsSdcynTMMEfiHUhIz4x0arUR9MXpp2AGrhJkI6mRkqmHLDzaVuLZYpvyG1QIfJuzuxAfzzMderju2VkVjkiPjrUedN/RIOcukUbvthi8GdaxTXsJb66jZW0yUTFa69X3Bl4PrN+PjSktNBe5lZd2XZ8d9ONjsjm1wf29U/g/m4/m1h1zdrA/eb0GBP3Jcyex5FIvHsekBNATGh+mPniwzO9SoM624fnaH/qKqg2rO2K13SJP/r1S53+/UD7JKtlvgUDcfWQO3R2bZ+c3CXEaMFXPSxwBo5+n3rA7PPbw6PPc/3R3W1sn68K+SzeDW/aqgE6FK/SOFvVt4jBSMUct9sycyzB4+w07I2Yf3v7MyUkQ5COqdsk+NzHA4NHvWP7Job91v3LXmjPdzP//cz9+zn5sfl/1fNB24vRTWv3t3hCzSk1CE+RfRMCofocF2+kVDwW791/0/Jb1Ac9j4okopm82WrSbXtqZAOvQlW8xxoGs2O+WzKtWiSLuOVeWwae+aZqPX7HLium4L3q5bwY0RuFvjt2n4tGGf7RdcRu7tl9XmWacbdXva/gYFlFMa
and is used to store the configuration used to slice the file so Cura can restore the configuration if you need to later. However, even though it is commented, there may be characters in there that cause problems with Repetier depending on the STL and slicing config. So far, this has not caused a problem for me (Mac though) so I'd like to see the gcode that is causing you problems.
thanks,
Michael
Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art
Start Here:
A Strategy for Successful (and Great) Prints
Strategies for Resolving Print Artifacts
The Eclectic Angler
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7159
- Joined: Sun Apr 01, 2012 5:26 pm
Re: What to do with the last lines of GCode.
Will do Michael but it may be a couple of days. Gene's idea of using Notepad ++ to remove that last line will probably work.
His suggestion makes sense, Notepad is probably putting in a linefeed or something that causes Repetier to generate a read error.
I can solve all this by using Repetier Host but I am trying to use the SD card only on the Orion. Someone also found out that the
SD cards supplied by the makers of the LCD can also generate read errors and his all stopped when he upgraded to a higher class
card. He went to a class 10 card and all his problems went away. When I look at the supplied card there is no class rating on it.
His suggestion makes sense, Notepad is probably putting in a linefeed or something that causes Repetier to generate a read error.
I can solve all this by using Repetier Host but I am trying to use the SD card only on the Orion. Someone also found out that the
SD cards supplied by the makers of the LCD can also generate read errors and his all stopped when he upgraded to a higher class
card. He went to a class 10 card and all his problems went away. When I look at the supplied card there is no class rating on it.