Slic3r 1.3.1 SDCARD prints perfect, Repetier Extruder problem


I am using Slic3r 1.3.1-dev and if I slice and save the GCode to SDcard it prints perfectly, if I slice with the same settings via Repetier the Extruder almost stops on the first layer infill.

Even if I load the Gcode directly into Repetier the problem persists. I thought the extruder had stopped, but it is moving a minuscule amount, almost like Repetier is adjusting the steps, any Ideas where the problem could be ?

Comments

  • Is the g-code in relative coordinates? Host will always start assuming absolute coordinates, so with relative coordinates you need to activate them in the start g-code for the slicer or use absolute coordinates.
  • I believe all the G-Code is correct, printing direct from Slic3r also works perfectly as does sending the G-Code to Octoprint.   The problem seems to be only occur once the infill starts and might be related to acceleration or Repetier truncating something. 

    ; generated by Slic3r 1.3.1-dev on 2018-06-23 at 08:49:11
    ; external perimeters extrusion width = 0.45mm (2.19mm^3/s)
    ; perimeters extrusion width = 0.45mm (3.76mm^3/s)
    ; infill extrusion width = 0.45mm (12.53mm^3/s)
    ; solid infill extrusion width = 0.45mm (12.53mm^3/s)
    ; top infill extrusion width = 0.40mm (1.38mm^3/s)

    M107
    M83 ; extruder relative mode
    M104 S215 ; set extruder temp
    M140 S60 ; set bed temp
    M190 S60 ; wait for bed temp
    M109 S215 ; wait for extruder temp
    G28 W ; home all without mesh bed level
    G29 ; bed leveling
    G1 Y0 F1000.0 ; go outside print area
    G92 E0.0
    G1 X60.0 E9.0 F1000.0 ; intro line
    G1 X100.0 E12.5 F1000.0 ; intro line
    G92 E0.0
    M221 S100{else}95{endif}
    M900 K30
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M83 ; use relative distances for extrusion
    ;BEFORE_LAYER_CHANGE
    ;0.2

    G1 E-2.00000 F2100.00000
    G1 Z0.600 F9600.000
    ;AFTER_LAYER_CHANGE
    ;0.2
    G1 X90.996 Y91.238 F9600.000
    G1 Z0.200 F9600.000
    G1 E2.00000 F2100.00000
    M201 X1000 Y1000
    M204 P1000 T1000
    G1 F1800
    G1 X91.557 Y90.696 E0.02447
    G1 X91.961 Y90.345 E0.01676

    ...

    G1 X91.263 Y91.504 F9600.000
    G1 F1800
    G1 X91.815 Y90.971 E0.02406
    G1 X92.198 Y90.638 E0.01594
    G1 X92.778 Y90.184 E0.02308

    ...

    G1 X91.221 Y91.548 E0.01407
    G1 F7680
    G1 X91.483 Y91.284 E-0.09638
    G1 F7680
    G1 X91.483 Y91.284 E-0.00001
    G1 F7680
    G1 X91.505 Y91.262 E-0.00816
    G1 F7680
    G1 X91.564 Y91.205 E-0.02141
    G1 F7680
    G1 X91.587 Y91.184 E-0.00816
    G1 F7680
    G1 X91.587 Y91.183 E-0.00003
    G1 F7680
    G1 X91.815 Y90.971 E-0.08078
    G1 F7680
    G1 X91.876 Y90.916 E-0.02158
    G1 F7680
    G1 X92.111 Y90.712 E-0.08079
    G1 F7680

    ...


    I can share the complete G-Code, stl,  Slic3r settings  if it would be of any use ?




  • You are at least right that you set printer to relative e coordinates and use them, so from that point it is correct.

    Host might truncate extrusion to 4 digit precision. But you need an extruder with > 10000 steps per mm to make that an error, so I doubt this is the problem.

    I see you have also many small negative moves. That might be part of the problem. In 2.1.2 I just fixed some problems with graphic display of such a situation, but we always send the original values, so doubt that.

    A gcode and the layer where it fails would be great so I can test what host does to the code or if there are some new kinks that makes problems. I see you seem to have at least non standard extruder handling. Wipe or something so that might cause a problem on our side.
  • Okay I pretty much found that any gcode produced by slic3r 1.31-dev fails when sent through Repetier so I think I could just post my print profile. Basically what happens is the extruder does the rim and perimeters okay then as soon as the first layer infill starts something goes wrong and it stops extruding.

    # generated by Slic3r 1.3.0-dev on Thu Jun 28 14:45:43 2018

    [filament:PLA_210]
    bed_temperature = 60
    bridge_fan_speed = 100
    compatible_printers =
    cooling = 1
    disable_fan_first_layers = 1
    end_filament_gcode = "; Filament-specific end gcode"
    extrusion_multiplier = 1
    fan_always_on = 1
    fan_below_layer_time = 100
    filament_colour = #FF3232
    filament_cost = 0
    filament_density = 0
    filament_diameter = 1.75
    filament_max_volumetric_speed = 15
    filament_notes = "List of materials tested with standart PLA print settings for MK2:\n\nDas Filament\nEsun PLA\nEUMAKERS PLA\nFiberlogy HD-PLA\nFillamentum PLA\nFloreon3D\nHatchbox PLA\nPlasty Mladeč PLA\nPrimavalue PLA\nProto pasta Matte Fiber\nVerbatim PLA\nVerbatim BVOH"
    filament_settings_id = ""
    first_layer_bed_temperature = 60
    first_layer_temperature = 215
    max_fan_speed = 100
    min_fan_speed = 100
    min_print_speed = 15
    slowdown_below_layer_time = 20
    start_filament_gcode = "M900 K30"
    temperature = 210

    [presets]
    filament = PLA_210
    print = ts3d_0.15
    printer = ts3d

    [print:ts3d_0.15]
    avoid_crossing_perimeters = 0
    bottom_infill_pattern = rectilinear
    bottom_solid_layers = 5
    bridge_acceleration = 1000
    bridge_flow_ratio = 0.8
    bridge_speed = 30
    brim_connections_width = 0
    brim_width = 0
    compatible_printers =
    complete_objects = 0
    default_acceleration = 1000
    dont_support_bridges = 1
    external_perimeter_extrusion_width = 0.45
    external_perimeter_speed = 35
    external_perimeters_first = 0
    extra_perimeters = 0
    extruder_clearance_height = 20
    extruder_clearance_radius = 20
    extrusion_width = 0.45
    fill_angle = 45
    fill_density = 20%
    fill_gaps = 1
    fill_pattern = stars
    first_layer_acceleration = 1000
    first_layer_extrusion_width = 0.42
    first_layer_height = 0.2
    first_layer_speed = 30
    gap_fill_speed = 40
    gcode_comments = 0
    infill_acceleration = 1500
    infill_every_layers = 1
    infill_extruder = 1
    infill_extrusion_width = 0.45
    infill_first = 0
    infill_only_where_needed = 0
    infill_overlap = 25%
    infill_speed = 200
    interface_shells = 0
    interior_brim_width = 0
    layer_height = 0.15
    max_print_speed = 80
    max_volumetric_speed = 0
    min_skirt_length = 4
    notes =
    only_retract_when_crossing_perimeters = 0
    ooze_prevention = 0
    output_filename_format = [input_filename_base].gcode
    overhangs = 0
    overridable = support_material
    perimeter_acceleration = 800
    perimeter_extruder = 1
    perimeter_extrusion_width = 0.45
    perimeter_speed = 60
    perimeters = 2
    post_process =
    print_settings_id =
    raft_layers = 0
    resolution = 0
    seam_position = nearest
    skirt_distance = 2
    skirt_height = 3
    skirts = 1
    small_perimeter_speed = 25
    solid_infill_below_area = 0
    solid_infill_every_layers = 0
    solid_infill_extruder = 1
    solid_infill_extrusion_width = 0.45
    solid_infill_speed = 200
    spiral_vase = 0
    standby_temperature_delta = -5
    support_material = 0
    support_material_angle = 0
    support_material_buildplate_only = 0
    support_material_contact_distance = 0.2
    support_material_enforce_layers = 0
    support_material_extruder = 1
    support_material_extrusion_width = 0
    support_material_interface_extruder = 1
    support_material_interface_layers = 3
    support_material_interface_spacing = 0.2
    support_material_interface_speed = 100%
    support_material_pattern = rectilinear
    support_material_spacing = 2.5
    support_material_speed = 60
    support_material_threshold = 45
    thin_walls = 1
    top_infill_extrusion_width = 0.4
    top_infill_pattern = rectilinear
    top_solid_infill_speed = 25
    top_solid_layers = 7
    travel_speed = 160
    xy_size_compensation = 0

    [printer:ts3d]
    bed_shape = 0x0,200x0,200x200,0x200
    before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;[layer_z]\n\n
    between_objects_gcode =
    end_gcode = G4 ; wait\nM221 S100\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nG1 X0 Y200; home X axis\nM84 ; disable motors
    extruder_offset = 0x0
    gcode_flavor = reprap
    has_heatbed = 1
    layer_gcode = ;AFTER_LAYER_CHANGE\n;[layer_z]
    notes =
    nozzle_diameter = 0.4
    octoprint_apikey = 00000000000000000000000000000000
    octoprint_host = 127.0.1.1:5000
    pressure_advance = 0
    printer_notes =
    printer_settings_id =
    retract_before_travel = 1
    retract_layer_change = 1
    retract_length = 2
    retract_length_toolchange = 4
    retract_lift = 0.6
    retract_lift_above = 0
    retract_lift_below = 194
    retract_restart_extra = 0
    retract_restart_extra_toolchange = 0
    retract_speed = 35
    serial_port = /dev/ttyACM0
    serial_speed = 115200
    start_gcode = M83  ; extruder relative mode\nM104 S[first_layer_temperature] ; set extruder temp\nM140 S[first_layer_bed_temperature] ; set bed temp\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG28 W ; home all without mesh bed level\nG29 ;  bed leveling\nG1 Y0 F1000.0 ; go outside print area\nG92 E0.0\nG1 X60.0 E9.0  F1000.0 ; intro line\nG1 X100.0 E12.5  F1000.0 ; intro line\nG92 E0.0\nM221 S{if layer_height==0.05}100{else}95{endif}
    toolchange_gcode =
    use_firmware_retraction = 0
    use_relative_e_distances = 1
    use_volumetric_e = 0
    vibration_limit = 0
    wipe = 1
    z_offset = 0
    z_steps_per_mm = 0

    [settings]
    autocenter = 1




  • We printed fine with current slic3r and also no one else is complaining. So can you please post a download link for a gcode with the problem and the line numbers where the problem starts. Then we can analyse it much better.
  • Okay, I uploaded a short video so you can see the difference between printing via Octoprint and Repetier. (BTW Slic3r-1.3.1-dev with Adaptive set @ 75%) Video is https://youtu.be/0b9sekUJCCw
    You can get the stl and gcode from http://www.tuxsoft.co.za/debug.stl  and http://www.tuxsoft.co.za/debug.gcode

    I mistakenly used the older version of Slic3r when I exported the profile, the only difference is that I enable adaptive slicing on 1.3.1-dev, I really hope this helps I have been using Repetier and Slic3r for over 4 years on Linux and Mac this is the first time I have a problem I am unable to solve.

  • Interesting gcode as it gives completely wrong extrusion length in server. Reason might be the same as your print problem. The gcode has one wrong line

    M221 S100{else}95{endif}

    This is flow multiplier and is a bit random what which software will interpret for this invalid gcode. Setting multiplier to 0% will be no extrusion at all. Preview looks good for me, but I already fixed a problem with local coordinates here for next release.

    Do you print using repetier-server over Repetier-Host or directly connected to repetier-host? I ask because server is a getting this complete wrong distance measurement so there might also be an error source. Will no winvestigate why server does this.
  • Thanks for that info, on this printer I normally use repetier-host or sd print, this is the first time I have ever used an app-pak version.
  • Thanks for your effort, I changed the cutom Gcode to M221 S95 and it now works as expected. Great support !
Sign In or Register to comment.