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

    Filament Frenzy script used on prusa slicer scratch bed

    Scheduled Pinned Locked Moved
    General Discussion
    5
    17
    845
    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.
    • gabi68undefined
      gabi68
      last edited by

      I have an heavily (Haydn rods, Duet wifi, smart effector, Hiwin rails, Gates belts, Berd air) modified Anycubic Kossel delta and I am a long time user of S3D, but now I looking to change to Prusa slicer. I followed the wizard and configure my printer to use Prusa slicer. All went good, but when I tried to print something the nose scratch the bed. In S3D I have a script (Filament Frenzy) to help to prime the hot end. I ported that script over Prusa with all the settings (speeds, retraction, cooling, ...).

      At the start up I have a G28 and G29 command with a 9 points followed by that Frenzy script. The Duet reports 0.01 correction, but the nose still dive into bed and the only thing to do is to stop the printer and rehome. I really what to understand why this is happening since everything is working properly in S3D.

      ;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       
      G90        
      M107      
      G28   
      ; Lower extruder
      G92 E0
      G1 E-6 F1800
      G32
      G0 Z200 F7200
      G0 X-97.666 Y35.740 Z1.000
      G1 E0 F1800
      ; Extrude about 40 mm by printing a circular arc and FF Branding 
      M117 Purging Extruder
      ; First part of arc
      G1 X-97.666 Y35.740 Z0.300 F1200
      G1 X-100.644 Y26.205 E0.751
      G1 X-102.694 Y16.430 E1.502
      G1 X-103.797 Y6.502 E2.252
      G1 X-103.942 Y-3.485 E3.003
      G1 X-103.128 Y-13.441 E3.754
      G1 X-101.363 Y-23.272 E4.505
      G1 X-98.663 Y-32.888 E5.255
      G1 X-95.053 Y-42.202 E6.006
      G1 X-90.566 Y-51.126 E6.757
      G1 X-85.244 Y-59.578 E7.508
      G1 X-79.135 Y-67.481 E8.259
      G1 X-72.296 Y-74.761 E9.009
      G1 X-64.791 Y-81.352 E9.760
      G1 X-56.688 Y-87.192 E10.511
      G1 X-48.062 Y-92.228 E11.262
      G1 X-38.993 Y-96.414 E12.013
      G1 X-29.564 Y-99.710 E12.763
      G1 X-19.862 Y-102.086 E13.514
      G1 X-9.977 Y-103.520 E14.265
      ; First F
      G1 X-9.000 Y-104.000 E14.347
      G1 X-9.000 Y-95.000 E15.023
      G1 X0.000 Y-95.000 E15.700
      G1 X-1.500 Y-96.500 E15.859
      G1 X-7.125 Y-96.500 E16.282
      G1 X-7.125 Y-98.000 E16.395
      G1 X-1.125 Y-98.000 E16.846
      G1 X-2.625 Y-99.500 E17.005
      G1 X-7.125 Y-99.500 E17.343
      G1 X-7.125 Y-102.875 E17.597
      ; Second F
      G1 X1.000 Y-104.000 E18.214
      G1 X1.000 Y-95.000 E18.890
      G1 X10.000 Y-95.000 E19.567
      G1 X8.500 Y-96.500 E19.726
      G1 X2.875 Y-96.500 E20.149
      G1 X2.875 Y-98.000 E20.262
      G1 X8.875 Y-98.000 E20.713
      G1 X7.375 Y-99.500 E20.872
      G1 X2.875 Y-99.500 E21.210
      G1 X2.875 Y-102.875 E21.464
      ;Second part of arc
      G1 X9.977 Y-103.520 E22.000
      G1 X19.862 Y-102.086 E22.751
      G1 X29.564 Y-99.710 E23.501
      G1 X38.993 Y-96.414 E24.252
      G1 X48.062 Y-92.228 E25.003
      G1 X56.688 Y-87.192 E25.754
      G1 X64.791 Y-81.352 E26.505
      G1 X72.296 Y-74.761 E27.255
      G1 X79.135 Y-67.481 E28.006
      G1 X85.244 Y-59.578 E28.757
      G1 X90.566 Y-51.126 E29.508
      G1 X95.053 Y-42.202 E30.259
      G1 X98.663 Y-32.888 E31.009
      G1 X101.363 Y-23.272 E31.760
      G1 X103.128 Y-13.441 E32.511
      G1 X103.942 Y-3.485 E33.262
      G1 X103.797 Y6.502 E34.012
      G1 X102.694 Y16.430 E34.763
      G1 X100.644 Y26.205 E35.514
      G1 X97.666 Y35.740 E36.265
      ; Retract and move nozzle up
      G92 E0
      G1 E-1.5 F1800
      G0 Z0.5
      G1 E0 F300
      ; Branding
      M117 Filament Frenzy
      

      Thank you

      Gabi

      jay_s_ukundefined fcwiltundefined Stephen6309undefined 3 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @gabi68
        last edited by

        @gabi68 can't see anything wrong with your script.
        If you home the printer using G28, calibrate using G32 and then move the nozzle down, does it just touch the bed at 0? or is showing a higher value than 0?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        gabi68undefined 1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @gabi68
          last edited by

          @gabi68

          What is in your bed.g file?

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          gabi68undefined 2 Replies Last reply Reply Quote 0
          • gabi68undefined
            gabi68 @jay_s_uk
            last edited by

            @jay_s_uk Is doing what is suppose to do (scan the bed with the nozzle, show the old and new value). When is starting the first part of arc I can see the head is going down incrementally, meaning the further is going the distance is smaller and smaller until start scratching the bed. The only way out of this is to stop the printer and rehome it. Strange...

            fcwiltundefined 1 Reply Last reply Reply Quote 0
            • gabi68undefined
              gabi68 @fcwilt
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • gabi68undefined
                gabi68 @fcwilt
                last edited by

                @fcwilt Here it is

                ; bed.g
                ; called to perform automatic delta calibration via G32
                ;
                ; generated by RepRapFirmware Configuration Tool on Thu Jul 12 2018 20:54:00 GMT-0500 (Central Daylight Time)
                M561 ; clear any bed transform
                ; bed.g file for RepRapFirmware, generated by Escher3D calculator
                ; 16 points, 6 factors, probing radius: 114, probe offset (0, 0)
                G30 P0 X0.00 Y114.00 Z-99999 H0
                G30 P1 X73.28 Y87.33 Z-99999 H0
                G30 P2 X112.27 Y19.80 Z-99999 H0
                G30 P3 X98.73 Y-57.00 Z-99999 H0
                G30 P4 X38.99 Y-107.12 Z-99999 H0
                G30 P5 X-38.99 Y-107.12 Z-99999 H0
                G30 P6 X-98.73 Y-57.00 Z-99999 H0
                G30 P7 X-112.27 Y19.80 Z-99999 H0
                G30 P8 X-73.28 Y87.33 Z-99999 H0
                G30 P9 X0.00 Y57.00 Z-99999 H0
                G30 P10 X49.36 Y28.50 Z-99999 H0
                G30 P11 X49.36 Y-28.50 Z-99999 H0
                G30 P12 X0.00 Y-57.00 Z-99999 H0
                G30 P13 X-49.36 Y-28.50 Z-99999 H0
                G30 P14 X-49.36 Y28.50 Z-99999 H0
                G30 P15 X0 Y0 Z-99999 S6
                ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
                ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
                
                
                1 Reply Last reply Reply Quote 0
                • gabi68undefined
                  gabi68
                  last edited by

                  Any other opinions, please?

                  1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @gabi68
                    last edited by

                    @gabi68 said in Filament Frenzy script used on prusa slicer scratch bed:

                    When is starting the first part of arc I can see the head is going down incrementally...

                    There is nothing in the code to make that happen so that would suggest that...

                    • the bed is not level
                    • Mesh Bed Compensation is active with a improper height map

                    Nothing else comes to mind right now.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    gabi68undefined 1 Reply Last reply Reply Quote 1
                    • gabi68undefined
                      gabi68 @fcwilt
                      last edited by

                      @fcwilt Strange. Same script run fine in S3D. Something is different in Prusa. Maybe PS doesn't read the G29 or G32 properly. I asked in their forum, but I did not get any answer. I will keep looking. If anyone has another ideea I am all ears...

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

                        please slice a simple object in S3D and in PrusaSlicer, and then provide the files. Since the slicer used ususally doesn't change the printer configuration, looking at the first couple dozen lines of the actual gcode produced should help us.

                        Also, consider @bot's PrusaSlicer fork which has some extra RRF features

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

                        gabi68undefined 1 Reply Last reply Reply Quote 0
                        • Stephen6309undefined
                          Stephen6309 @gabi68
                          last edited by

                          @gabi68 Do you have the correct Z offset in your G31?

                          1 Reply Last reply Reply Quote 0
                          • gabi68undefined
                            gabi68 @oliof
                            last edited by

                            @oliof Sorry for late reply (family problems). Here is a test file sliced with Prusa slicer. There is a G32 from that Frenzy script and I am thinking if that is read it properly by PS since there is no bed.g file. Thoughts ...
                            test.gcode

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

                              @gabi68 no worries, can you provide an S3D sliced file to compare as well please?

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

                              gabi68undefined 1 Reply Last reply Reply Quote 0
                              • gabi68undefined
                                gabi68 @oliof
                                last edited by

                                @oliof Here you go.
                                testS3D.gcode

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

                                  @gabi68 the one difference I see is that the S3D code calls G32 during startup while the PrusaSlicer code does not. G32 calls the bed.g macro so it's possible (and likely) that something adjusting the bed happens in there ... can you share your bed.g?

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

                                  gabi68undefined 1 Reply Last reply Reply Quote 0
                                  • gabi68undefined
                                    gabi68 @oliof
                                    last edited by

                                    @oliof Sure.bed.g

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

                                      @gabi68 alright, I missed that you have a delta. I am assuming you need to run G32 before every print unless you fix the delta values to be correct (consider autocalibration).

                                      <>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 1
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA