jcoehoorn / BrickMaker

Generate STL 3D model files for Lego-like bricks that can be 3D printed
1 stars 0 forks source link

Improve OpenScad build performance #5

Open jcoehoorn opened 4 years ago

jcoehoorn commented 4 years ago

Trying an 8x8 plate, the preview (F5) is fine, but the full F6 render can take a very long time, and eventually seem to get stuck at 984 out of 1000. It did finish after over 3 minutes. A 10x10 plate took over 6 minutes. Smaller pieces are fine, but I want to reduce build times for these larger bricks.

jcoehoorn commented 4 years ago

Testing this again after the refactor to use modules. It still stalled at 5/1000 and 979/1000. I suspect it will finish if I let it go long enough, but I waited over a minute, which is long enough to know I still have the problem.

jcoehoorn commented 4 years ago

Further note: the full render did finish just I submitted the previous comment. But I don't know you could go much larger.