Thanks. Its a good summary. Knowing how it's currently splitted it would require quite some work to thread it
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).
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...
The main reason why I'm not using multi-threading is to save in code complexity. Not because it cannot be done. There are a few loops in the engine that could be multi-threaded with ease. Which would run about 60% of the code threaded instead of single threaded.
Between that and new features I prefer you guys work on those awesome new features
But at some point it will probably become relevant to do it considering new pc add cores instead of boosting clock speed.
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.
Recommended Posts
dirkels 0
http://umforum.ultimaker.com/index.php?/topic/6183-why-cura-so-slow/
Don't know if it covers everything you mention but have a look.
Link to post
Share on other sites