discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

I don't understand why this takes so long to render

K
Ken
Mon, Feb 20, 2023 6:51 AM

On 2023-02-20 01:45, Adrian Mariano wrote:

So turn on all the csg things and also turn on lazy unions.

I tried this Adrian- I tested it on a complicated (for me..) box that I
have printed several times successfully. After a false start caused by
an error in my program- for which I thank you for pushing me into
finding- these are the results I got after going through the options-

I flushed the caches before each change.

In Preferences- Features-

    first untick everything, then F6.
Compile time 10:35.489

    tick fast-csg-trust-corefinement, then F6.
Compile time 10:25.429

    tick all fast-csg options then F6.
Compile time 00:54.968
    compiled with errors & all 14 threaded holes missing.

    tick only fast-csg and fast-csg-trust-corefinement then F6.
Compile time 00:54.896
    compiled with errors & all 14 threaded holes missing.

    tick fast-csg-trust-corefinement + fast-csg-exact then F6.
Compile time 11:09.945

    tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-    
remesh then F6.
Compile time 10:58.681

    tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-    
remesh + fast-csg-predictibility then F6.
Compile time 10:49.858

    tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-    
remesh + fast-csg-predictibility + lazy-union then F6.
Compile time 07:06.124

    finally, untick everything except lazy-union then F6.
Compile time 07:10.154

End result (on my system) is that only lazy-union seemed to make a
substantial difference, at least on this particular file.

All in all, an interesting afternoon sitting in front of the computer
ignoring everything else I should be doing......

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com/running.html
https://sstv.vk7krj.com/all_bands.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a retiree is to tell you how you are doing it all wrong!

On 2023-02-20 01:45, Adrian Mariano wrote: > So turn on all the csg things and also turn on lazy unions. I tried this Adrian- I tested it on a complicated (for me..) box that I have printed several times successfully. After a false start caused by an error in my program- for which I thank you for pushing me into finding- these are the results I got after going through the options- I flushed the caches before each change. In Preferences- Features-     first untick everything, then F6. Compile time 10:35.489     tick fast-csg-trust-corefinement, then F6. Compile time 10:25.429     tick all fast-csg options then F6. Compile time 00:54.968     compiled with errors & all 14 threaded holes missing.     tick only fast-csg and fast-csg-trust-corefinement then F6. Compile time 00:54.896     compiled with errors & all 14 threaded holes missing.     tick fast-csg-trust-corefinement + fast-csg-exact then F6. Compile time 11:09.945     tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-     remesh then F6. Compile time 10:58.681     tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-     remesh + fast-csg-predictibility then F6. Compile time 10:49.858     tick fast-csg-trust-corefinement + fast-csg-exact + fast-csg-     remesh + fast-csg-predictibility + lazy-union then F6. Compile time 07:06.124     finally, untick everything except lazy-union then F6. Compile time 07:10.154 End result (on my system) is that only lazy-union seemed to make a substantial difference, at least on this particular file. All in all, an interesting afternoon sitting in front of the computer ignoring everything else I should be doing...... -- Cheers, Ken bats059@gmail.com https://vk7krj.com/running.html https://sstv.vk7krj.com/all_bands.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a retiree is to tell you how you are doing it all wrong!
SL
Steve Lelievre
Mon, Feb 20, 2023 5:24 PM

I just tried the dev version with the new features turned on, except for
ones noted to cause slowing or noted to be for diagnostic use. A render
that previously took than 6 minutes was done in less than 1½ minutes.

I didn't investigate which feature helps most; I'm just really grateful
to the developers for putting in the time and effort.

Steve

On 2023-02-19 6:45 a.m., Adrian Mariano wrote:

So turn on all the csg things and also turn on lazy unions.

I just tried the dev version with the new features turned on, except for ones noted to cause slowing or noted to be for diagnostic use. A render that previously took than 6 minutes was done in less than 1½ minutes. I didn't investigate which feature helps most; I'm just really grateful to the developers for putting in the time and effort. Steve On 2023-02-19 6:45 a.m., Adrian Mariano wrote: > > So turn on all the csg things and also turn on lazy unions.