Using OpenSCAD rendering semi parallel?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using OpenSCAD rendering semi parallel?

Peter O.

OpenSCAD rendering is not multi-threaded.

 

However I noticed that, while rendering one design for STL, I could open another instance of OpenSCAD and render a second design for STL simultaneously (and processor load doubled).

 

Since some of my STL rendering tasks take up to 3 hours, I could run 16 renderings simultaneously from a batch file. They will still take three hours, but after a little more than 3 hours, 16 will be ready (assuming a 16 core processor).

 

It might not be the primary design of OpenSCAD to use it in this way, but can this be done safely? (I guess so)


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Using OpenSCAD rendering semi parallel?

RevarBat
I used a makefile with make -j to do just this with OpenSCAD to generate images and STLs for my OpenSCAD designed Snappy 3D printer. 

-Revar


On Aug 7, 2020, at 7:35 AM, [hidden email] wrote:



OpenSCAD rendering is not multi-threaded.

 

However I noticed that, while rendering one design for STL, I could open another instance of OpenSCAD and render a second design for STL simultaneously (and processor load doubled).

 

Since some of my STL rendering tasks take up to 3 hours, I could run 16 renderings simultaneously from a batch file. They will still take three hours, but after a little more than 3 hours, 16 will be ready (assuming a 16 core processor).

 

It might not be the primary design of OpenSCAD to use it in this way, but can this be done safely? (I guess so)

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org