Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    tuning LW-PLA

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    26
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      what were the rest of the settings from that test? PA, retraction, etc?

      Z-Bot CoreXY Build | Thingiverse Profile

      nick9one1undefined 1 Reply Last reply Reply Quote 0
      • nick9one1undefined
        nick9one1 @Phaedrux
        last edited by

        @Phaedrux

        I've decided to start from scratch. It's been some time since I've printed anything, so I think a combination of firmware, and slicer updates have broken something.

        I've reinstalled a fresh copy of prusa slicer, configured a generic printer, with the generic pla profile, with my original start and end gcode. The only thing I changed was retraction from 2mm to 0.4mm.

        ;Start
        M104 S[first_layer_temperature] ; set extruder temp
        M140 S[first_layer_bed_temperature] ; set bed temp
        M109 S[first_layer_temperature] ; wait for extruder temp
        M190 S[first_layer_bed_temperature] ; wait for bed temp
        M557 X{first_layer_print_min[0]}:{first_layer_print_max[0]} Y{first_layer_print_min[1]}:{first_layer_print_max[1]} S20 ; define probe area 
        M98 P"bed.g" ; perform bed leveling 
        G92 E0 ; reset extruder
        
        ;End
        G91 ; Switch to relative mode for the rest of end.g
        G1 F2000 Z5 ; move bed down
        G28 XY ; move head to home on XY
        M104 S0 ; turn off extruder,
        M140 S0 ; turn off bed,
        M84 ; disable motors
        M107 ; turn off part cooling fan
        M81 S1 ; shutdown after all thermostatic fans have turned off
        

        I'm also using standard pla now.
        This is how a single wall cylinder prints;

        20240106_151632.jpg

        sebkritikelundefined 1 Reply Last reply Reply Quote 0
        • sebkritikelundefined
          sebkritikel @nick9one1
          last edited by

          @nick9one1 could you upload that exact print file (gcode)? Thanks!

          Large(ish?) IDEX - 6HC, 1HCL
          Stratasys Dimension 1200es to 6HC Conversion

          nick9one1undefined 1 Reply Last reply Reply Quote 0
          • nick9one1undefined
            nick9one1 @sebkritikel
            last edited by

            @sebkritikel sure, here you go.

            Shape-Cylinder.gcode

            sebkritikelundefined 1 Reply Last reply Reply Quote 0
            • sebkritikelundefined
              sebkritikel @nick9one1
              last edited by sebkritikel

              @nick9one1 Thanks! File looks good - no tricks with coasting, no retraction etc.
              22d76fc4-dd47-472c-bb2b-8d1dbd1eb92c-image.png

              Off topic perhaps, but why do you have interpolation disabled on the extruder?
              M350 E16 I0 ; configure microstepping with interpolation

              Here is something quick I would do to start troubleshooting the extruder (specifically that gap). For now, I think keep pressure advance at 0

              1. Do a print, changing the extruder max speed to M203 E6000. Check if there are any changes.
              2. If there are NO changes to the print quality, keep the max speed at M203 E6000. Change acceleration from M201 E200 to M201 E3000. I'm going to guess you'll see a physical change to the print once you change the extruder acceleration.
              3. Depending on how things are looking, try extruder jerk at M566 E3000 again.

              I think we want to eliminate that gap (partly), adjusting extruder jerk/accel, then play around again with PA.

              I have some python post-processing scripts that can simultaneously tune things like pressure advance + jerk, etc. Can share them later.

              Large(ish?) IDEX - 6HC, 1HCL
              Stratasys Dimension 1200es to 6HC Conversion

              1 Reply Last reply Reply Quote 0
              • nick9one1undefined
                nick9one1
                last edited by nick9one1

                @sebkritikel

                Thanks, Things are looking a little better...

                I found a config.g for my printer here https://github.com/FYSETC/FYSETC-BLV-MGN-CUBE/blob/main/Firmware/config3.x/sys/config.g although I think that version uses a V6 clone.

                After updating my config.g with those settings my print is looking a little better.
                config.g

                This is printed with the above config.
                The first 10 layers are normal, after later 10 I sent M203 E6000 in the console while it was printing. Then after another 10 I sent M201 E3000, then after another 10 I sent M566 E3000.

                I can't really see any discernible change in the print.

                2f4de2bd-cb13-45da-9a04-215926316627-image.png

                this is the cylinder gcode. Shape-Cylinder (1).gcode

                nick9one1undefined sebkritikelundefined 2 Replies Last reply Reply Quote 1
                • nick9one1undefined
                  nick9one1 @nick9one1
                  last edited by

                  @nick9one1

                  I also came across this that may help. This is my exact printer and extruder (although volcano), with settings for klipper.

                  https://www.blvprojects.com/post/klipper-ultra-fast-printing-9000acc-500mm-s

                  1 Reply Last reply Reply Quote 1
                  • sebkritikelundefined
                    sebkritikel @nick9one1
                    last edited by sebkritikel

                    @nick9one1 Cool! So looking at the new config.g, I see a few changes.

                    • M566 changes, jerk was reduced for X, Y, Z, and increased slightly for E. I would go back and increase the Z jerk, as a low Z jerk can cause issues with X-Y travel moves (stuttering) if you use mesh bed compensation.
                    • Max speeds were reduced for X and Y, increased for Z
                    • Acceleration was reduced for X, Y, and Z, increased for E

                    I've found that with higher acceleration values for X and Y, I have to change pressure advance settings. Based on your before/after print after your new config.g, I think the reduction in X and Y acceleration has 'improved' the seam.

                    My suggested config.g changes:

                    M566 X600.00 Y600.00 Z150.00 E3000.00              ; set maximum instantaneous speed changes (mm/min) - increased Z and E
                    M203 X20000.00 Y20000.00 Z2000.00 E6000.00       ; set maximum speeds (mm/min) - increased E
                    

                    I would also see if you're happy with the Z acceleration value (your new 100 vs old 200. probably too small to notice or care).

                    I think once you make the above changes, you can then start tweaking pressure advance settings. Here is the same print file from above, but I varied PA from (Starting with whatever your default is for the first 10% of the file) .001 to .35.
                    pa-shape-cylinder.gcode

                    You can try out the file python file here, change your file name/location as needed.PS pa.py

                    import re
                    
                    min_pressure_advance = 0.001  # set minimum pressure advance
                    max_pressure_advance = 0.35  # set maximum pressure advance
                    no_tune_pct = 10  # set the percentage of layers to not tune
                    input_filename = r"C:\Users\Jared\Downloads\1704556218097-shape-cylinder.gcode"
                    output_filename = r"C:\Users\Jared\Desktop\pa_1704556218097-shape-cylinder.gcode"
                    
                    # read the input file
                    with open(input_filename, 'r') as f:
                        in_gcode = f.readlines()
                    
                    max_print_height = 0
                    for line in in_gcode:
                        match = re.match(r';Z:(\d+(\.\d+)?)', line)
                        if match:
                            current_height = float(match.group(1))
                            max_print_height = max(max_print_height, current_height)
                    
                    # calculate the pressure advance range and increment
                    pressure_advance_range = max_pressure_advance - min_pressure_advance
                    pressure_advance_increment = pressure_advance_range / (max_print_height - max_print_height * no_tune_pct / 100)
                    
                    # iterate through the input file and modify pressure advance as needed
                    out_gcode = []
                    current_print_height = 0
                    for line_num, line in enumerate(in_gcode):
                        # check if this is a Z comment indicating the current layer height
                        if line.startswith(';Z:'):
                            current_print_height = float(line.split(':')[1])
                            # check if we should tune this layer based on print height
                            if current_print_height > max_print_height * no_tune_pct / 100:
                                # calculate the pressure advance for this layer based on print height
                                pressure_advance = min_pressure_advance + (current_print_height - max_print_height * no_tune_pct / 100) * pressure_advance_increment
                                # replace the Z comment with a modified one that includes the pressure advance command
                                out_gcode.append(f";Z:{current_print_height:.3f}\nM572 D0 S{pressure_advance:.3f}\nM572\n")
                            else:
                                out_gcode.append(line)
                        else:
                            out_gcode.append(line)
                    
                    # write the modified file to disk
                    with open(output_filename, 'w') as f:
                        f.writelines(out_gcode)
                    

                    Large(ish?) IDEX - 6HC, 1HCL
                    Stratasys Dimension 1200es to 6HC Conversion

                    nick9one1undefined 1 Reply Last reply Reply Quote 0
                    • nick9one1undefined
                      nick9one1 @sebkritikel
                      last edited by nick9one1

                      @sebkritikel

                      Thanks again. I';ve made the changes you suggested.

                      I'm still seeing small gaps after de-retraction, It's not quite so obvious without a light source behind the image;

                      I did a test here; the top trint is with your latest suggestions. And the the descond print has 0.5mm extra length on deretraction. That's quite a lot, but visually I can barely tell any difference.

                      45650c43-92b2-4241-a52c-4126171690d3-image.png

                      Another image even closer, seems to show the layer change looking ok. The gaps happen after the de-retraction and when it starts to print the new layer?

                      35daae30-8e72-416e-9f72-112232492fa6-image.png

                      o_lampeundefined sebkritikelundefined 2 Replies Last reply Reply Quote 0
                      • o_lampeundefined
                        o_lampe @nick9one1
                        last edited by

                        @nick9one1 Stupid question, but did you check the grubscrew of the extruder shaft? A loose screw would explain the bulge and gap.

                        nick9one1undefined 1 Reply Last reply Reply Quote 1
                        • nick9one1undefined
                          nick9one1 @o_lampe
                          last edited by nick9one1

                          @o_lampe not a stupid question at all!
                          The grub screw felt tight as I couldnt rotate the heat block at all. But I stripped and reassembled anyway..

                          VoilĂ , the same part as above (the white bits are just refections)
                          8320e91e-53ba-4719-94b4-c9400e391488-image.png 2d4d334c-f08e-4a66-a9c8-15acfa4a5c5a-image.png

                          I'll continue with @sebkritikel's pressure advance tuning next.

                          o_lampeundefined 1 Reply Last reply Reply Quote 0
                          • sebkritikelundefined
                            sebkritikel @nick9one1
                            last edited by

                            @nick9one1 said in tuning LW-PLA:

                            I did a test here; the top trint is with your latest suggestions. And the the descond print has 0.5mm extra length on deretraction. That's quite a lot, but visually I can barely tell any difference.
                            other image even closer, seems to show the layer change looking ok. The gaps happen after the de-retraction and when it starts to print the new layer?

                            Important to note!!! Your cylinder print does not have any retractions or de-retractions! I would not add a slicer-generated extra length move at this time (or at all honestly. wait until PA and stuff is 100% tuned).

                            80fb2e32-5950-41fe-94a6-e13e41134a03-image.png
                            Notice there are not any retract moves in the image and gcode snipped above.

                            Large(ish?) IDEX - 6HC, 1HCL
                            Stratasys Dimension 1200es to 6HC Conversion

                            1 Reply Last reply Reply Quote 1
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              Can you make a video of it in action?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              nick9one1undefined 1 Reply Last reply Reply Quote 0
                              • nick9one1undefined
                                nick9one1 @Phaedrux
                                last edited by nick9one1

                                thanks @sebkritikel I hadn't considered there was no retraction on layer change. It makes sense now that I can't see any difference with the +0.5 after retract.

                                @Phaedrux
                                I think the main issue is resolved now. It was some sort of mechanical issue that has disappeared after I stripped and rebuilt the hot end. I no longer get the gaps at the start of a new layer.

                                @sebkritikel thank you for providing the PA cylinder test. I've since re-tuned the flow, temp and retraction so used some after layer change code in prusaslicer,

                                ; 0.2mm layer, 8 bands 5mm each, total height 40mm
                                {if layer_num== 1}M572 D0 S0.4
                                {elsif layer_num== 25}M572 D0 S0.05
                                {elsif layer_num== 50}M572 D0 S0.06
                                {elsif layer_num== 75}M572 D0 S0.07
                                {elsif layer_num== 100}M572 D0 S0.08
                                {elsif layer_num== 125}M572 D0 S0.09
                                {elsif layer_num== 150}M572 D0 S0.10
                                {elsif layer_num== 175}M572 D0 S0.11
                                {endif}
                                

                                83585080-6f7b-4d56-8f62-501849ac1c70-image.png

                                towards the top looks best, so I then printed another 0.12 - 0.18 (ignore the bottom band I mistakenly left it at 0.4)
                                0d42373f-19f5-4df3-9935-d6058d1cd988-image.png

                                1 Reply Last reply Reply Quote 0
                                • o_lampeundefined
                                  o_lampe @nick9one1
                                  last edited by o_lampe

                                  @nick9one1 said in tuning LW-PLA:

                                  The grub screw felt tight as I couldnt rotate the heat block at all

                                  I meant the screw that tightens the filament roller to the gear-shaft. Any loose fit there would add bulge and gap at a layer seam.
                                  But as was mentioned, you're printing in vase mode.
                                  //edit OK, it's single wall, but no vase mode, so my above tip is still valid.

                                  1 Reply Last reply Reply Quote 0
                                  • oliofundefined
                                    oliof
                                    last edited by

                                    Are you going to print airplane wings with this LW PLA? If yes, even and stable extrusion factor is important, I.e. you should look into vase mode. Recent Prusa Slicer has updated their vase mode to match the spiralize outer contour algorithm of Cura which should help with keeping extrusion more equal... and as always, printing slower will also help.

                                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA