discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Disabling Cache and/or Automatically Flushing Cache

NS
Nathan Sokalski
Tue, Jan 23, 2024 5:44 PM

When debugging my code, especially module(s) that I have created in other files, there are often errors that do not show up until I flush the cache & rerun the preview. This can often be confusing or make it easy to not realize that there are errors. And although I have not personally had this scenario yet, I wouldn't be surprised if OpenSCAD rendered & allowed you to export to STL, and then ended up with an STL model that was not valid or differed from what you expected. I also somehow ended up changing one of the Preferences (maybe Stop On First Warning?), but I can't seem to change it back even after unchecking the option in Preferences, but it's hard to know for sure when I don't always know whether there are any errors as mentioned above due to cache. Any ideas?

Nathan Sokalski
njsokalski@hotmail.commailto:njsokalski@hotmail.com

When debugging my code, especially module(s) that I have created in other files, there are often errors that do not show up until I flush the cache & rerun the preview. This can often be confusing or make it easy to not realize that there are errors. And although I have not personally had this scenario yet, I wouldn't be surprised if OpenSCAD rendered & allowed you to export to STL, and then ended up with an STL model that was not valid or differed from what you expected. I also somehow ended up changing one of the Preferences (maybe Stop On First Warning?), but I can't seem to change it back even after unchecking the option in Preferences, but it's hard to know for sure when I don't always know whether there are any errors as mentioned above due to cache. Any ideas? Nathan Sokalski njsokalski@hotmail.com<mailto:njsokalski@hotmail.com>
NH
nop head
Tue, Jan 23, 2024 6:44 PM

Bad results should simply not be cached. I don't know how easy that would
be to implement but conceptually it is simple.

On Tue, 23 Jan 2024 at 17:44, Nathan Sokalski via Discuss <
discuss@lists.openscad.org> wrote:

When debugging my code, especially module(s) that I have created in other
files, there are often errors that do not show up until I flush the cache &
rerun the preview. This can often be confusing or make it easy to not
realize that there are errors. And although I have not personally had this
scenario yet, I wouldn't be surprised if OpenSCAD rendered & allowed you to
export to STL, and then ended up with an STL model that was not valid or
differed from what you expected. I also somehow ended up changing one of
the Preferences (maybe Stop On First Warning?), but I can't seem to change
it back even after unchecking the option in Preferences, but it's hard to
know for sure when I don't always know whether there are any errors as
mentioned above due to cache. Any ideas?

Nathan Sokalski
njsokalski@hotmail.com


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Bad results should simply not be cached. I don't know how easy that would be to implement but conceptually it is simple. On Tue, 23 Jan 2024 at 17:44, Nathan Sokalski via Discuss < discuss@lists.openscad.org> wrote: > When debugging my code, especially module(s) that I have created in other > files, there are often errors that do not show up until I flush the cache & > rerun the preview. This can often be confusing or make it easy to not > realize that there are errors. And although I have not personally had this > scenario yet, I wouldn't be surprised if OpenSCAD rendered & allowed you to > export to STL, and then ended up with an STL model that was not valid or > differed from what you expected. I also somehow ended up changing one of > the Preferences (maybe Stop On First Warning?), but I can't seem to change > it back even after unchecking the option in Preferences, but it's hard to > know for sure when I don't always know whether there are any errors as > mentioned above due to cache. Any ideas? > > Nathan Sokalski > njsokalski@hotmail.com > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >