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

Cura multi threading - what is and what's next

Recommended Posts

Hello,

Now I know it was discussed before and many simply requested to multi thread cura for slicing without really knowing the involvements. I'm partially a tool programmer (not a software engineer) so I can understand involvements and like to optimize time and workflows in general.

From my understanding the nozzle path is the most difficult part to separate since you need to know start the from the previous layer and dont know where you will end. But I'm wondering if anything else is/could be threaded at the moment.

If this topic came up already please save everyone some time and redirect :D

Here are some things I have in mind:

- support generation

- brim/skirt/raft

- slicing (not defining the path)

- infill

- starting the path before all the above are complete

In many cases all the above seems to generate fast but with big and complex models even those can take a while.

 

Cheers

 

Share this post


Link to post
Share on other sites

Technically speaking, cura is already threaded because the GUI and the engine are separate processes (and therefore threads).

The actual toolpath generation is the most expensive step and this will be the hardest part to do so. I believe it should be possible to do the support structured in a separate thread. The main reason why this isn't done is because it adds a whole lot of complexity (and makes debugging way, way harder).

 

Share this post


Link to post
Share on other sites

Yes this is what I think too. In most cases the gain wont be huge time saver but just to give you an example I'm printing an item that require supports and the print time jump from 19 hours to about 40 when adding supports. The slicing time take about 10-15 minutes. The first slicing works the next one will never end (thats weird).

If the toolpath could work in reverse mode you could split this process in 2. One half of the model go upward like normal and one half go downward from the middle to the bottom. This way you can have a known starting point for both. Or there would be a need to be able to tell it where to end the layer. Or add retraction toolpath to bring 2 sections together.

I'm sure you guys already talked about these options in the past and threading can be a pain in the butt...

Share this post


Link to post
Share on other sites

But at some point it will probably become relevant to do it considering new pc add cores instead of boosting clock speed.

 

Oh, most certainly, but I rather delay this addition. Also because there is lots of work on compilers being done to make this easier (openmp) but this isn't fully supported by all my target platforms yet.

 

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

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 82 replies
    • 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...
        • Like
      • 30 replies
    • "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!