Jump to content
lars-busack

Custom Gcode with relative coordinates: extrusion?

Recommended Posts

Posted · Custom Gcode with relative coordinates: extrusion?

Hello,

I am planning to print some tests in mid-air with a custom gcode.

When i use relative coordinates (G91) in the gcode, will this also affect the extrusion length?

So, is it possible to just use constant values for E like this?

G1 X 5.00 Y 0.00 Z 2.00 E 0.0024

G1 X 5.00 Y 0.00 Z -2.00 E 0.0024

G1 X 0.00 Y 5.00 Z 2.00 E 0.0024

G1 X 0.00 Y 5.00 Z -2.00 E 0.0024...

Or would i have to do it this way?

G1 X 5.00 Y 0.00 Z 2.00 E 0.0024

G1 X 5.00 Y 0.00 Z -2.00 E 0.0048

G1 X 0.00 Y 5.00 Z 2.00 E 0.0072

G1 X 0.00 Y 5.00 Z -2.00 E 0.0096...

Thank you very much!

Lars

Share this post


Link to post
Share on other sites
Posted · Custom Gcode with relative coordinates: extrusion?

By default it's the same as the mode as the first three axes. But you can change it for the E-axis only by using M82 (absolute) and M83 (relative).

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!