furti / FreeCAD-Lithophane

FreeCAD Workbench to convert an image to a Lithophane for 3D Printing
MIT License
32 stars 8 forks source link

Multithreading when parsing image #10

Open furti opened 6 years ago

furti commented 6 years ago

We should use multiple threads when parsing the image and creating the point data.

furti commented 6 years ago

Dang. Python and threading are not the best Friends :( Maybe we can use the multiprocessing module some time.

furti commented 6 years ago

Maybe os.fork can help? https://stackoverflow.com/questions/33560802/pythonhow-os-fork-works

furti commented 6 years ago

Also see: https://stackoverflow.com/questions/15636266/embedded-python-multiprocessing-not-working

furti commented 5 years ago

https://docs.python.org/3/library/concurrent.futures.html