# Generating G-Code - Need help to calculate E extrusion value

Hi, I feel so stressed and stuck with my design. Can you help me fixed me Extrusion rate for 3D printing? I want it to be 0.2 mm but it seems wrong when every single point has the same E value in the Gcode. I think the E value always increases move after move, but I don’t know how to do it. I want to make the relative extrusion rate not the absolute extrusion rate for Gcode. It means it is depositing a certain amount of material between each point. I’m sorry if I said something wrong. Because I work with Ender 3 S1 so I think Ender 3 S1 works under relative positioning. I just destroyed a plate of my 3D print.

waves.gh (36.9 KB)

I found this link and I don’t know if it helps or not.

Thank you so much.

Dupe?

Can you help me solve it? the last one is the wrong one and I’m struggling right now. I understand wrong about extrusion in that post. I work with Ender 3 S1 so I think Ender 3 S1 works under relative positioning. I want to make the relative extrusion rate not the absolute extrusion rate for Gcode.

I can’t delete my old post.

But why not continue it? @magicteddy was already in the process of helping you there and the problem still seems to be the same.

He said he doesn’t have much experience with 3D printing. So I don’t want to force him. But I really need help with my deadline.

the problem is quite different because the last post is about the absolute extrusion rate for Gcode, but I need the relative extrusion rate because I’m working with Ender 3 S1, and I think Ender 3 S1 works under relative positioning.

A trip’, even.

I understand you need help but that doesn’t change the fact that I don’t know what to do here.
From the formula I’d suggest using the lengths between two consecutive points, but this is a guess. And I don’t know what to plug for the first point - maybe 0 since it´s the first move, again : a guess.

I changed the title of the thread so maybe G-Code gurus can come to the rescue.

waves.gh (39.2 KB)

2 Likes

Thank you so much. You helped me a lot. Thank you so much

I am working on something similar. I am curious as to why d has a value of .05 when the equation of the attached link claims d should be the fillament diameter filament. I assume you are printing with 1.75mm diameter?

I used random values.
And missed the square