Cache often causes false or outdated errors and/or warnings, as well as sometimes prevents Preview from being updated, which can be very annoying & sometimes make it harder to debug. Is there any way to disable cache?
Nathan Sokalski
njsokalski@hotmail.commailto:njsokalski@hotmail.com
On 2/6/2024 8:35 PM, Nathan Sokalski via Discuss wrote:
Cache often causes false or outdated errors and/or warnings, as well
as sometimes prevents Preview from being updated, which can be very
annoying & sometimes make it harder to debug. Is there any way to
disable cache?
I don't believe so.
You could see what happens if you set the cache size to 0??
If you do it'd be interesting to know the performance penalty.
From: Jordan Brown via Discuss [mailto:discuss@lists.openscad.org]
Sent: Sat, 10 Feb 2024 13:05
To: OpenSCAD general discussion Mailing-list
Cc: Nathan Sokalski; Jordan Brown
Subject: [OpenSCAD] Re: Disabling Cache
On 2/6/2024 8:35 PM, Nathan Sokalski via Discuss wrote:
Cache often causes false or outdated errors and/or warnings, as well as sometimes prevents Preview from being updated, which can be very annoying & sometimes make it harder to debug. Is there any way to disable cache?
I don't believe so.
Where would I go to set the cache size? In the Preferences->Advanced->CGAL, there are values for CGAL Cache size & PolySet Cache size. Are these the values you are referring to?
Nathan Sokalski
njsokalski@hotmail.commailto:njsokalski@hotmail.com
From: Michael Marx (spintel) via Discuss discuss@lists.openscad.org
Sent: Friday, February 9, 2024 10:22 PM
To: 'OpenSCAD general discussion Mailing-list' discuss@lists.openscad.org
Cc: Michael Marx (spintel) michael.marx@spin.net.au
Subject: [OpenSCAD] Re: Disabling Cache
You could see what happens if you set the cache size to 0??
If you do it'd be interesting to know the performance penalty.
From: Jordan Brown via Discuss [mailto:discuss@lists.openscad.org]
Sent: Sat, 10 Feb 2024 13:05
To: OpenSCAD general discussion Mailing-list
Cc: Nathan Sokalski; Jordan Brown
Subject: [OpenSCAD] Re: Disabling Cache
On 2/6/2024 8:35 PM, Nathan Sokalski via Discuss wrote:
Cache often causes false or outdated errors and/or warnings, as well as sometimes prevents Preview from being updated, which can be very annoying & sometimes make it harder to debug. Is there any way to disable cache?
I don't believe so.
CGAL Cache is the one involved in F6 Rendering on the current Release. CGAL cache is the one
affecting errors/warnings.
I have no idea how the newer rendering tech such as Manifold uses cache.
You prob. don't want to zero the Poly cache, you may want to do Design/Flush-cache before a
final/important render.
sometimes prevents Preview from being updated, which can be very annoying & sometimes make it
harder to debug
That probably is not CGAL. But Polyset cache may relate to some funny behaviours using render(),
that a flush helps with.
I just did a quick test using example/advanced/GEB.scad.
A fresh F6 is ~10s, rerender ~0s, flush cache (does both caches) ~18s, CGAL cache set to 0 ~19s,
Poly cache also to 0 ~20s.
A complex model will be very different, particularly without Polyset cache.
From: Nathan Sokalski via Discuss [mailto:discuss@lists.openscad.org]
Sent: Sun, 11 Feb 2024 07:57
To: OpenSCAD general discussion Mailing-list
Cc: Nathan Sokalski
Subject: [OpenSCAD] Re: Disabling Cache
Where would I go to set the cache size? In the Preferences->Advanced->CGAL, there are values for
CGAL Cache size & PolySet Cache size. Are these the values you are referring to?
Nathan Sokalski
njsokalski@hotmail.com
From: Michael Marx (spintel) via Discuss discuss@lists.openscad.org
Sent: Friday, February 9, 2024 10:22 PM
To: 'OpenSCAD general discussion Mailing-list' discuss@lists.openscad.org
Cc: Michael Marx (spintel) michael.marx@spin.net.au
Subject: [OpenSCAD] Re: Disabling Cache
You could see what happens if you set the cache size to 0??
If you do it'd be interesting to know the performance penalty.
From: Jordan Brown via Discuss [mailto:discuss@lists.openscad.org]
Sent: Sat, 10 Feb 2024 13:05
To: OpenSCAD general discussion Mailing-list
Cc: Nathan Sokalski; Jordan Brown
Subject: [OpenSCAD] Re: Disabling Cache
On 2/6/2024 8:35 PM, Nathan Sokalski via Discuss wrote:
Cache often causes false or outdated errors and/or warnings, as well as sometimes prevents Preview
from being updated, which can be very annoying & sometimes make it harder to debug. Is there any
way to disable cache?
I don't believe so.