Jump to content
Ultimaker Community of 3D Printing Experts
zumfab

Cura outputs incomplete G-code

Recommended Posts

After trying to deal with the problem described here (http://umforum.ultimaker.com/index.php?/topic/9478-umo-bed-does-not-lower-every-time-after-print/) I noticed the problem might be something different completely. Upon opening the G-code file of the troublesome print, I noticed the 'footer' found in other files was missing.

Weird thing is that it is semi-random, but not completely. Whenever I delete the G-code file and rewrite it, the same incomplete file appears. This, to me, suggests that there is some kind of generation issue. One way to 'fix' it seems to be to move the object over the build plate and rewrite. Sometimes another partial G-code appears, but sometimes it does what it is supposed to do. It happens quite regularly though, and can be quite annoying, especially because it limits the control I have over the printing process.

Is this a known issue? Cura seems to work fine when it works, it just stops short of a full file sometimes. Please note that this is happening under Cura 14.07. I just installed Cura 15.02.1 to see whether that changes anything.

 

Share this post


Link to post
Share on other sites

Could you be removing the SD card too soon? Before everything is written? Or maybe it is a defective SD card?

It sounds like you need to inspect the file on the SD card after saving it.

 

It is neither of those, because I make sure to write the file to the hard drive first. The fact that Cura writes the same incomplete file twice confirms this idea, as a troublesome hard drive would not be expected to fail in the same consistent manner. Not only that, but you would also expect other obvious problems.

I have started inspecting every file I print, but I would rather solve the problem than mitigate it. As I did not get to printing today, I cannot say whether the new version does the same.

The ball is probably in my court now, but if anyone has any other ideas on what might cause this they are welcome :)

 

Share this post


Link to post
Share on other sites

I finally remembered to save two logs from different parts. At first I though it had to do with print length or plugins, but neither seem to be the case.

 


Running: C:\Program Files (x86)\Cura_15.02.1\CuraEngine.exe -v -p -s initialSpeedupLayers=4 -s minimalFeedrate=10 -s preSwitchExtruderCode=;Switch between the current extruder and the next extruder, when printing with multiple extruders.
;This code is added before the T(n)
-s supportXYDistance=700 -s insetXSpeed=50 -s retractionZHop=0 -s extruderOffset[3].X=0 -s extruderOffset[3].Y=0 -s postSwitchExtruderCode=;Switch between the current extruder and the next extruder, when printing with multiple extruders.
;This code is added after the T(n)
-s retractionSpeed=40 -s filamentFlow=100 -s infillOverlap=15 -s inset0Speed=50 -s coolHeadLift=0 -s extrusionWidth=399 -s upSkinCount=10000 -s initialLayerSpeed=20 -s minimalLayerTime=5 -s infillSpeed=50 -s supportExtruder=-1 -s fanSpeedMax=100 -s enableCombing=0 -s fanSpeedMin=100 -s supportZDistance=150 -s supportEverywhere=0 -s filamentDiameter=2850 -s initialLayerThickness=300 -s supportAngle=-1 -s fanFullOnLayerNr=2 -s extruderOffset[1].X=0 -s extruderOffset[1].Y=21600 -s layerThickness=100 -s endCode=;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;CURA_PROFILE_STRING:eNrtWktv20YQvhJGf8QeEzRWSUqKkwi8JLV9SYIAdtHEF2JFrsStSS6xu7QsG/rv/Xb5ECXTrdMYzYs62ODHmZ3ZmW8ehpXSNZNhwvgy0YE78pwVTdNQJzy6zJlSgTfyHcm0pJHmIg9ZTucpC85lyRwlUh6HqT2go+AsOE6IWa64Xgee6zq5uLlJWaj4DYOJiVNInutQFYzFwdStHzXLCiapLiULfK8H9YMecNwHTvrAaQvOWbxj7ch1VFkUQurgvciZU6RUL4TMQhonTOHWwWvJs0YmjEuahuxay7J6J3TirHjBQi1WTAYnNFWsA4RXIi0zFnhTR4gbRCHhLI1rMYSKZgw+xRy/NdT90YvpXdjc/Q447gMnfeC0Cy5SsbJp6aS1ysXEHe2gNBNlroPJaNpF7f3rV97z3XcZz0M8XLEUxNl5E4lszvNlxZxdDZ7tBBRO7FAuEYXBnLnQWmQdprmjsWPZ54YrHuskXEBDSHs3Mf+LReAYzy+tsrhiMqWFdd7QfOpUbtY396YdCxWjqxe+6/DcErp6NmKW91Qy2sF4rph294HrDhAJkdr41AXDwQlkmjY1FddFdcnBsZTnDCGzIa6hJS2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P4K111OwBhCsiQJDa9xVdo1Yn9x+qNCvQFVRViC/v96G/D8zQgwTuZIYE6LbcOLbG/aHFP0KLn3x5i68mxbnXd5L/n45yv+7c+danyfk93W12tjJLlLFiNH20hKbDfskE8tz+CeS5jzqCrK3D2/6/LTcH5+6DLr3gUunv6dqPNHn9e0bvufuZ09foeMPEHib240/s8TCxh4n9c05s/2ec2MOaMqwpe2vK+GuuKUbHH1abYbV5/NVmMqw239Rq4z/eajNsSf/bljR+0OycwOkfaGF42Go4/rEuPayGw2q4txpOvrfV0OiMh3VyWCcfd52sv9fS/RZDC27/xVp9K2dHyCIdCckwYyM2itRV4CAJVZs5rnnZLqxV85kzvUJl2ktHpZQ2xA2FTQJsooG06DOySqDQVrpdJrIy1bxI23Yh1ehgdp4gqMaaCS7WG8tyyyJz6PmT/KmDmOhvyT+6MAXYuPc3hr3swQ==
-s minimalExtrusionBeforeRetraction=20 -s retractionMinimalDistance=1500 -s objectSink=0 -s retractionAmount=4500 -s skinSpeed=50 -s skirtLineCount=20 -s startCode=M109 S210.000000
;Sliced at: Sun 22-03-2015 04:56:22
;Basic settings: Layer height: 0.1 Walls: 1.2 Fill: 100
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#
;M190 S70 ;Uncomment to add your own bed temperature line
;M109 S210 ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
;Put printing message on LCD screen
M117 Printing...
-s skirtDistance=0 -s extruderOffset[2].Y=0 -s extruderOffset[2].X=0 -s printSpeed=50 -s fixHorrible=1 -s layer0extrusionWidth=400 -s moveSpeed=150 -s supportLineDistance=2666 -s retractionAmountExtruderSwitch=16500 -s sparseInfillLineDistance=399 -s insetCount=3 -s downSkinCount=10000 -s multiVolumeOverlap=150 -g 49674 -s posx=141227 -s posy=36853 $
Cura_SteamEngine version 15.02.1
Copyright © 2014 David Braam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.'>http://www.gnu.org/licenses/>.
Default config 'default.cfg' not used
Reading mesh from socket with 2616 vertexes
Loaded from disk in 0.000s
Analyzing and optimizing model...
Face counts: 872 -> 848 97.2%
Vertex counts: 2616 -> 426 16.3%
Size: 56.755000 10.117000 3.450000
vMin: 112.850000 31.794000 0.000000
vMax: 169.605000 41.911000 3.450000
vMin: 10.350000 -70.704000 0.000000
vMax: 67.105000 -60.587000 3.450000
Matrix: 1.000000 0.000000 0.000000
Matrix: 0.000000 1.000000 0.000000
Matrix: 0.000000 0.000000 1.000000
Optimize model 0.015s
Slicing model...
Layer count: 33
Sliced model in 0.000s
Generating support map...
Generating layer parts...
Generated layer parts in 0.000s
Generated inset in 0.078s
Generated up/down skin in 0.032s
Wrote layers in 0.08s.
Total time elapsed 0.20s.

 


Running: C:\Program Files (x86)\Cura_15.02.1\CuraEngine.exe -v -p -s initialSpeedupLayers=4 -s minimalFeedrate=10 -s preSwitchExtruderCode=;Switch between the current extruder and the next extruder, when printing with multiple extruders.
;This code is added before the T(n)
-s supportXYDistance=700 -s insetXSpeed=50 -s retractionZHop=0 -s extruderOffset[3].X=0 -s extruderOffset[3].Y=0 -s postSwitchExtruderCode=;Switch between the current extruder and the next extruder, when printing with multiple extruders.
;This code is added after the T(n)
-s retractionSpeed=40 -s filamentFlow=100 -s infillOverlap=15 -s inset0Speed=50 -s coolHeadLift=0 -s extrusionWidth=399 -s upSkinCount=10000 -s initialLayerSpeed=20 -s minimalLayerTime=5 -s infillSpeed=50 -s supportExtruder=-1 -s fanSpeedMax=100 -s supportType=1 -s enableCombing=1 -s fanSpeedMin=100 -s supportZDistance=150 -s supportEverywhere=0 -s filamentDiameter=2850 -s initialLayerThickness=300 -s supportAngle=-1 -s fanFullOnLayerNr=2 -s extruderOffset[1].X=0 -s extruderOffset[1].Y=21600 -s layerThickness=100 -s endCode=;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;CURA_PROFILE_STRING:eNrtWktv20YQvhJGf8QeEzRWSUqKkwg8NKmdi1MEsIsmvhArciVuTXKJ3aVl2dB/77fLhyiZbp3GaF7UwQY/zuzMznzzMKyUrpkME8aXiQ7ckeesaJqGOuHRZc6UCryR70imJY00F3nIcjpPWXAuS+YokfI4TO0BuwoLjjNiliuu14Hnuk4ubm5SFip+w2Bk4hSS5zpUBWNxMHXrR82ygkmqS8kC3+tB/aAHHPeBkz5w2oJzFu9YO3IdVRaFkDr4XeTMKVKqF0JmIY0TpnDv4LXkWSMTxiVNQ3atZVm9EzpxVrxgoRYrJoMTmirWAcIrkZYZC7ypI8QNopBwlsa1GEJFMwafYo7fGur+6MX0Lmzufgcc94GTPnDaBRepWJm0jNxuaqtsTPZQmoky18FkNO2iNgL1K+/57ruM5yEerlgKLuy8iUQ25/ky+DVN9xR4thNR+LDDukQUBnPmQmuRdcjmjsaOJaAbrnisk3ABDSEt58T8LxaBZDy/tMriismUFtZ3w/SpU3lZX9ybdixUpK5e+K7Dc8vo6tmIWepTyWgH47li2t0HrjtAJERqw1PXDAcpkGralFVc19UlB8lSnjNEzEa4hpa0C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jWfw1jpqFgHCFREgSO37iq5Rq5P7D1WaFegKqirEl/f70N8HZuhBAncyQwJ0W24cW+P+0OIfocVPPr/FV5Pi3Os7yf9PR7lfdu587dPk/J7uNjtbmSXKWDGaPlpC02E/ZwJ5bv8E8txHHUHW1uFt/9+Wm4Nz90GXXnCp9Ld07UeavP49o/fc/cTpa3S8YWIPE/vxJ/Z4mNjDxP4xJ7b/I07sYU0Z1pS9NWX8JdcUo+MPq82w2jz+ajMZVpuvarXxH2+1Gbak/21LGj9odk7g9He0MDxsNRx/X5ceVsNhNdxbDSff2mpodMbDOjmsk4+7Ttbfa+l+i6EFt/9irb6WsyNkkY6EZJixERtF6ipwkISqzRzXvGwX1qr5zJleoTLtpaNSShvihsImATbRQFr0GVklUGgr3S4TWZlqXqRtu5BqdDA7TxBUY80EF+uNZbllkTn0/En+1EFM9NfkH12YAmzc+xv6TO1t
-s minimalExtrusionBeforeRetraction=20 -s retractionMinimalDistance=1500 -s objectSink=0 -s retractionAmount=4500 -s skinSpeed=50 -s skirtLineCount=20 -s startCode=M109 S210.000000
;Sliced at: Mon 23-03-2015 01:44:22
;Basic settings: Layer height: 0.1 Walls: 1.2 Fill: 100
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#
;M190 S70 ;Uncomment to add your own bed temperature line
;M109 S210 ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
;Put printing message on LCD screen
M117 Printing...
-s skirtDistance=0 -s extruderOffset[2].Y=0 -s extruderOffset[2].X=0 -s printSpeed=50 -s fixHorrible=1 -s layer0extrusionWidth=400 -s moveSpeed=150 -s supportLineDistance=2666 -s retractionAmountExtruderSwitch=16500 -s sparseInfillLineDistance=399 -s insetCount=3 -s downSkinCount=10000 -s multiVolumeOverlap=150 -g 49674 -s posx=142555 -s posy=36398 $
Cura_SteamEngine version 15.02.1
Copyright © 2014 David Braam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Default config 'default.cfg' not used
Reading mesh from socket with 1296 vertexes
Loaded from disk in 0.000s
Analyzing and optimizing model...
Face counts: 432 -> 432 100.0%
Vertex counts: 1296 -> 216 16.7%
Size: 14.059000 14.059000 15.000000
vMin: 135.526000 29.368000 0.000000
vMax: 149.585000 43.427000 15.000000
vMin: 33.025000 -73.131000 0.000000
vMax: 47.084000 -59.072000 15.000000
Matrix: 1.000000 0.000000 0.000000
Matrix: 0.000000 1.000000 0.000000
Matrix: 0.000000 0.000000 1.000000
Optimize model 0.000s
Slicing model...
Layer count: 148
Sliced model in 0.078s
Generating support map...
Generating layer parts...
Generated layer parts in 0.015s
Generated inset in 0.407s
Generated up/down skin in 0.234s
Wrote layers in 0.20s.
Total time elapsed 0.94s.

 

Share this post


Link to post
Share on other sites

Currently I am attempting to print something that covers most of the build plate. Due to this error, getting a proper G-code output is proving to be impossible.

I can hardly imagine being the only one with this problem. I uninstalled all Cura versions and reinstalled the latest version, tried saving to different locations and a couple of other tricks, but the problem persists. This is really interfering with day to day printing.

Can anyone see anything in the logs? Does anyone have any other suggestions on what to try? Am I overlooking something basic?

 

Share this post


Link to post
Share on other sites

Just to add some points to this not being an isolated case.

I had this happen to me today with cura 15.04

While writing 5mb gcode, cura stopped after 4.5mb, and not at a layer change or even a line change.

Didnt realise it till the printer was 10hours in, so had to do some emergency surgery to finish the print by slicing the file again, and removing the already printed gcode.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!