1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Auto Bed Leveling in Cura

Discussion in 'Troubleshooting' started by Kadows, Aug 12, 2014.

Thread Status:
Not open for further replies.
  1. Kadows

    Kadows Member

    Joined:
    Mar 4, 2014
    Messages:
    34
    Likes Received:
    10
    Hi!

    I have now had my printer for a couple of months and I've made some upgrades. XXL controller, E3Dv6 and metric rods. I'm now very happy with my printer, I have learned a lot about 3D printers by all this! Last week was a big test for my printer. I ran it for 70 hours printing a Star Lord helmet for a cosplay project and I couldn't be happier with the result! I have even succeeding in printing NinjaFlex!

    There are how ever one thing that is missing before everything is perfect! Auto bed leveling.
    The first print I did I used MatterControl and the auto leveling worked. I quickly moved away from MC over to Cura for several reasons. I have now used Cura so much that I really don't want to change. I'm just so happy with it. Can I have auto leveling with Cura?
    When I print now I manually turn the threaded rods at the start of each print to get a good first couple of layers. This is both time consuming and its not very consistent between prints.

    I have tried using the following:

    G1 Z0.5 ;Adjust Z offset
    G29 ;Autocalibrate bed

    G29 seems to work. It probes the bed 9 times, and when it starts to print it compensates. It, however, totally ignores the Z offset and just runs the head down in the bed. What am I doing wrong?

    I dream of the day that I will just be able to put the SD card in, hit print and walk away! What a beautiful day that will be!

    Any tips would be appreciated! Thanks everyone!
    Fredrik
     
  2. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    You could try M565 Z-0.5
     
  3. Kadows

    Kadows Member

    Joined:
    Mar 4, 2014
    Messages:
    34
    Likes Received:
    10
    This is the start GCode in Cura

    Code:
    ;Sliced at: {day} {date} {time}
    ;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
    ;Print time: {print_time}
    ;Filament used: {filament_amount}m {filament_weight}g
    ;Filament cost: {filament_cost}
    ;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
    ;M109 S{print_temperature} ;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 F{travel_speed} ;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 F{travel_speed}
    ;Put printing message on LCD screen
    M117 Printing...
    Where do I add M565 Z-0.5 and G29?
    Just to be sure I do it right...
     
  4. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    I put it after G28

    I would also make G28 one command instead of splitting it into G28 x0 Y0 and G28 Z0 like cura does.
     
  5. Kadows

    Kadows Member

    Joined:
    Mar 4, 2014
    Messages:
    34
    Likes Received:
    10
    So I would write G28 X0 Y0 Z0?
     
  6. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    Nope just
    Code:
    G28 ;Home all
     
  7. Kadows

    Kadows Member

    Joined:
    Mar 4, 2014
    Messages:
    34
    Likes Received:
    10
    Unfortunately that did not work either. Probes fine, then just runs way to low.

    [​IMG]
     
  8. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    Keep increasing your offset till you're too high then
     
  9. Billm

    Billm Member

    Joined:
    Nov 30, 2013
    Messages:
    74
    Likes Received:
    22
    I am experiencing the same issue.
    If I home all then I do the z29 it gives me an output of the 9 test probes of z-0.1 to z-.3. However if I do the G1 z0.6 then the g29 I get the 9 test points giving me z-0.7 to z-1.0 but the head seems to start the first layer on the glass with wide extrusions but 0.2 high when I have set layer height to 0.4
    What ever I put after the G1 Z0.6 it just add that .6 to all 9 test probes then it does the Z29 all output z numbers are increased by the .6
    Should I put the g1 z0.6 after the g29?
     
  10. rbrock

    rbrock Member

    Joined:
    Jul 14, 2014
    Messages:
    50
    Likes Received:
    17
    Where can I find the info on all these G codes?
     
  11. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    2 people like this.
  12. collin

    collin New Member

    Joined:
    Mar 21, 2014
    Messages:
    313
    Likes Received:
    86
    so did we ever come to a group consensus on the gcode in cura issue?
     
  13. Ziggy

    Ziggy Moderator
    Staff Member

    Joined:
    Feb 20, 2013
    Messages:
    707
    Likes Received:
    530
    The values you see during the G29 probing are relative values not absolute. Because at that stage the firmware is figuring out what the plane of the bed looks like. It then uses the Z offset value you give it to decide where the zero height is.

    Once the probing is done, any G1 Zx you send to the printer will move the extruder to where the firmware has calculated how high it should be given the plane of the bed.

    I use this test gcode file

    G21 ; milimeters
    G90 ; absolute coords
    G1 Z10 ; move the extruder up out of the way
    G28 ; Home all axes
    M565 Zx.x ; set the Z offset value
    G29 ; probe bed
    G28 X0 Y0 ; home X and Y
    G1 Z5.00 F4800 ; get ready to move by lifting the extruder
    G1 X100 Y110 F4800 ; move to centre of the bed
    G1 Z0.3 ; Move extruder to 0.3mm above the centre of the bed


    When this is done the extruder should be sitting exactly 0.3mm above the centre of the bed. The height can be checked by sliding a piece of paper under the extruder and moving it down manually until the paper height 0.1mm is reached. If it is not at the correct height, adjust the Z offset and repeat the test.

    It's best to have both the extruder and bed at working temp when this test is done.
     
Thread Status:
Not open for further replies.

Share This Page