Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
olafweller

Mixing Gcodes/relative extrusion

Recommended Posts

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?

 

Share this post


Link to post
Share on other sites

 

 

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.

 

Share this post


Link to post
Share on other sites

@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?

 

Share this post


Link to post
Share on other sites
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).

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
Sign in to follow this  

  • Our picks

    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
      • 1 reply
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

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!