[OpenSCAD] When modules are cached?

nop head nop.head at gmail.com
Mon Oct 28 10:52:23 EDT 2019

I think it is geometry that is cached with key from the module parameters
of the primitive that creates it. Are you sure they are all the same? and
the $ variables?

If the module has a lot of code that takes time to calculate, like a sweep,
then that will be executed each time I think. It is only the geometry that
isn't repeated.

Is this F5 or F6?

What happens if you wrap it with a render?

On Mon, 28 Oct 2019 at 14:16, Ronaldo Persiano <rcmpersiano at gmail.com>

> I have a demanding operator that is called many many times, each time with
> a different non demanding purpose. I would expect that its operation was
> done only for the first time and cached since there is no children or
> parameter changes. However, the run time seems to indicate that the
> operation is executed at each call.
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20191028/27699611/attachment.html>

More information about the Discuss mailing list