Skip to content

Models with M82 or M83 #11

@nexocomun

Description

@nexocomun

Hello,

First of all, great plugin, thanks for doing it !!

Note: I don't know whether to put this comment as a bug or a suggestion, sorry in advance.

I have Artillery Genius with firmware without M600 support, and I'm using your plugin.

I use Cura, and the problem I have seen is that Cura puts an M82 (extruder in absolute mode) in the gcodes generates from my models.

However, in "init.py", line 26, when resume the code do

cmd =["M83","G1 E-0.8 F4500", "G1 E0.8 F4500", "G1 E0.8 F4500", "M82", "G90", "G92 E"+str(comm_instance.pause_position.e), "M83", "G1 X"+str(comm_instance.pause_position.x)+" Y"+str(comm_instance.pause_position.y)+" Z"+str(comm_instance.pause_position.z)+" F4500"]

Which leaves an M83 (extruder in relative mode) for the rest of the printing, and it doesn't quite work well if the gcode model is ready to use M82. I have retouched this file "by hand" in my octoprint, but new updates to your software may rewrite it.

Suggestion: I think a possible general solution would be to put in the plugin configuration a drop-down that indicates if the continuation of the extruder mode after a resume was M82 (absolute) or M83 (relative mode), consider that option in line 26 or similar , and let the user decide the option depending on whether his filleter uses M82 or M83 in the previous configuration.

Greetings and thank you,
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions