Jump to content
UltiMaker Community of 3D Printing Experts

Mixing Gcodes/relative extrusion


olafweller
 Share

Recommended Posts

Posted · Mixing Gcodes/relative extrusion

Hey guys,

I want to be able to combine Gcodes so that I can play around with wall thicknesses/filling and top/bottom fills. The lower part of a print could have a wall with 3 perimeters for instance and the top part with 1. So I just want to cut the Gcode in Notepad++ at certain layer heights)

The difficulty is that Cura creates absolute extrusion values. I succeeded in combining 2 Gcodes but it took me hours to fit the E values of the second part to the first part using excel... (part 1 stopped at E456.4567 and part 2 started at E51.1236 for instance so I had to add 405.3331 to all E values of part 2)

I also used slic3r because it creates absolute values. However, the quality of the slic3r print is less nice than the cura version so I would like to keep using Cura.

So my question is:

Does anyone know how to make Cura create relative E values?

or

Does anyone know how to easily match up the absolute E values from two different Gcodes?

 

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion

    Unless I'm mistaken you could do G92 E1234 to tell the printer that this is what the extruder value should be without actually moving it. Do that at the start of each new pasted section. Should work I think.

     

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion

     

     

    Unless I'm mistaken you could do G92 E1234 to tell the printer that this is what the extruder value should be without actually moving it. Do that at the start of each new pasted section. Should work I think.

     

    Wau, this would indeed solve the problem I guess. Would save me lots of work! I will do a test with this, thank you very much.

    "G92: Set Position

    Example: G92 X10 E90

    Allows programming of absolute zero point, by reseting the current position to the values specified. This would set the machine's X coordinate to 10, and the extrude coordinate to 90. No physical motion will occur.

    A G92 without coordinates will reset all axes to zero."

    Example: G92 X10 E90

    Allows programming of absolute zero point, by reseting the current position to the values specified. This would set the machine's X coordinate to 10, and the extrude coordinate to 90. No physical motion will occur.

    A G92 without coordinates will reset all axes to zero.

     

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion

    @olafweller please use the SwapAtHeight plugin with caution on your UM original. I have tested it only using UltiGCode flavor for the UM2 so I don't know if it will properly work on your end. Also dual extrusion wasn't tested at all.

     

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion

    @olafweller please use the SwapAtHeight plugin with caution on your UM original. I have tested it only using UltiGCode flavor for the UM2 so I don't know if it will properly work on your end. Also dual extrusion wasn't tested at all.

     

    Hey pm_dude, can you explain how to write the Gcode path? Is that just something like C:\ etc?

     

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion

    yes its just the path to the file like this: D: est.gcode

     

  • Link to post
    Share on other sites

    Posted · Mixing Gcodes/relative extrusion
    I also used slic3r because it creates absolute values. However, the quality of the slic3r print is less nice than the cura version so I would like to keep using Cura.

     

    One trick with Slic3r is to specify the perimeter extrusion widths manually to the same width as the nozzle hole diameter. When set to automatic, it makes it too big and the outer quality will drop (although it would be stronger and faster to print).
  • 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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...