Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Formula for E

    Scheduled Pinned Locked Moved
    General Discussion
    4
    6
    662
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alexander Mundyundefined
      Alexander Mundy
      last edited by

      I'm sure this is common knowledge and I feel dumb asking this question but my googlefu is only bringing up how to calibrate extrusion. I am wanting to write my own G code for simple objects for testing various changes such as pressure advance and non linear extrusion. What is the proper formula based on filament diameter, nozzle diameter, layer height, and segment length to calculate the G1 E value?

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @Alexander Mundy
        last edited by

        @alexander-mundy The quick and easy way is to create something like a 100mm cube and slice it. Then look at one 100mm long X or Y move and note the E value.

        Of course you are relying on the slicer doing it right, but hey are generally pretty close.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • Alexander Mundyundefined
          Alexander Mundy
          last edited by

          I did that already but wanted the actual basic calculation given no pressure advance etc.

          1 Reply Last reply Reply Quote 0
          • garyd9undefined
            garyd9
            last edited by

            E=mc^2?

            (Sorry, I couldn't resist.)

            "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

            1 Reply Last reply Reply Quote 0
            • sigxcpuundefined
              sigxcpu
              last edited by

              You think in volumes. In theory, what goes in should go out. I assume that there are some differences from plastic left in the extruder from teeth biting in the filament or temperature expansion in the nozzle (both plastic and the water steaming in it).

              1 Reply Last reply Reply Quote 0
              • Alexander Mundyundefined
                Alexander Mundy
                last edited by

                Best I can tell from this page on how Slic3r calculates it:

                Given in mm:
                Fd = filament diameter
                Ew = extrusion width
                Eh = extrusion height
                Sl = segment length

                E = (Sl * (Ew-Eh) * Eh + π * (Eh/2)^2) / (π * (Fd/2)^2)

                Which is independent of nozzle size, which makes sense because (ignoring pressure changes, viscosity, etc) it would be based on the amount of filament going into the extruder. I'm sure there is some additional math for the items ignored since the formula above gives a slightly lower value than my slicer did.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA