Welcome! Log In Create A New Profile

Advanced

How do you get rid of M82?

Posted by stephenwinter 
How do you get rid of M82?
May 03, 2012 11:30AM
I could not get my ShaperCube to work in Slic3r. It turns out (I think) that the M-code M82 screws up extruder I have. I started comparing G code with prints made in Skeinforge that work and those that don't made in Slic3r and found some contradictions. I have added G code in Slic3r to go in the front and I have two good prints sliced by Slic3r. I now have only one problem, depending upon me getting a few more good prints, and that is getting rid of Slic3r putting "M82 ; use absolute distances for extrusion" in the code going to Pronterface. As it stands now I just use some code I figured out in the Slic3r Custom G-Code/Start Code and then open it up in a text file and delete the M82. The Start Code won't eliminate the M82, it just puts it in front of the M82 code.
Can anyone think of some way to get Slic3r not to put that code in every time?

Here is the good code that works for me and ShaperCube

M80
G21
G90
T0
M106 S255
G92 E0
G1 X-250.0 F1500
G92 X0
G1 Y-250.0 F1500
G92 Y0
G1 X120.0 Y0.0 F1500.0
M140 S120
M116
G1 Z-200.0 F70
G92 Z0
G92 E0
G1 F1500.0
G1 Z1.0 F70
M109 S255.0
G1 F4500.0
G92 E0
G21
M106
M113 S1.0
M108 S30.0
G90 ; use absolute coordinates
G21 ; set units to millimeters
G92 E0 ; reset extrusion distance
G1 Z0.400 F7800.000


Thanks
Steve
Re: How do you get rid of M82?
May 03, 2012 05:20PM
Printer and Filament tab, put a check mark next to "Use relative E distances:" will replace it with M83. Does your firmware use absolute or relative distances for the extruder?

Edited 1 time(s). Last edit at 05/03/2012 05:29PM by stephenrc.
Re: How do you get rid of M82?
May 03, 2012 08:05PM
Well darn! That seems to work fine!
Thank You
You should think of it this way. I could have been doing it by opening each file and hand deleting the file for years. You saved a portion of my life.
Thank You
Steve
Re: How do you get rid of M82?
May 05, 2012 12:15PM
What firmware are you using? The stock Shapercube firmware really doesn't need relative E distances, afaik. It's obsolete behavior...
Sorry, only registered users may post in this forum.

Click here to login