Jump to content

Recommended Posts

Posted · Strange "M82; absolute extruder mode" being added to start gcode

Hi, All. 

 

I've started experiencing strange filament volumes on Octoprint. I've figured out that since I upgraded to Cura 4.8.0, Cura is adding a "M82; absolute extruder mode" to my start gcode. I checked my printer settings and its not inserted by me to add to start gcode. I do have stuff added to my start gcode for Octolapse and ABL. The start Gcode I added myself starts with "; Script based on an original..." and ends with "G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish". I also tried using one of the default profiles in case this was a setting I adjusted but I get the same inclusion of the strange M82 regardless of which profile settings I use.

 

If I comment out the strange M82 then Octoprint correctly see the right filament volume. 

 

See extract below with issue line bolded and entire gcode file attached. 

 

;FLAVOR:Marlin
;TIME:4839
;Filament used: 3.4782m
;Layer height: 0.2
;MINX:94.324
;MINY:79.039
;MINZ:0.2
;MAXX:142.625
;MAXY:147.5
;MAXZ:24
;Generated with Cura_SteamEngine 4.8.0
M82 ;absolute extrusion mode
; Script based on an original created by tjjfvi (https://github.com/tjjfvi)
; An up-to-date version of the tjjfvi's original script can be found
; here: https://csi.t6.fyi/
; Note - This script will only work in Cura V4.2 and above!
; --- Global Settings
; layer_height = 0.2
; smooth_spiralized_contours = True
; magic_mesh_surface_mode = normal
; machine_extruder_count = 1
; --- Single Extruder Settings
; speed_z_hop = 5
; retraction_amount = 5
; retraction_hop = 0.2
; retraction_hop_enabled = False
; retraction_enable = True
; retraction_speed = 30
; retraction_retract_speed = 30
; retraction_prime_speed = 30
; speed_travel = 175.0

; Ender 3 Custom Start G-code
 

CAPRICORN_Cutting_2(1).gcode

  • Link to post
    Share on other sites

    Posted · Strange "M82; absolute extruder mode" being added to start gcode

    There are 3 ways for Cura to calculate the extrusion E numbers.  Absolute, Relative, and Volumetric.  There needs to be synchronicity between the various components so they understand each other.

     

    That file is sliced in "Absolute" mode and so there is an M82 line to inform the printer of that.  Since you have Octoprint between the printer and the slicer, you may need to change a setting in Octoprint.

     

    Under "Special Modes" you will find "Relative Extrusion".  When selected it will add an "M83" after your start up gcode.  That will negate the M82, but as I say, that file is sliced in Absolute Mode so telling the printer to reset to 0 after every line of Gcode (that's what Relative does) will make a mess.

     

    In addition you have the standard lines that are included with the Ender 3 definition file:

    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
    G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
    G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
    G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
    G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
    G92 E0 ; Reset Extruder
    G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
    G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish
    G92 E0
    G92 E0
    G1 F1800 E-5

     

    Those extrusions are in Absolute mode and so there is an M82 before them.

  • Link to post
    Share on other sites

    • 3 months later...

    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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...