[OpenSCAD] When modules are cached?
rcmpersiano at gmail.com
Mon Oct 28 11:58:28 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?
There is no $ variables and not even parameters in the operator module. It
returns just a simple 2D rectangle so the remaining code should be fast.
> 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.
It is not my case. It involves linear_extrude and projection though.
> Is this F5 or F6?
> What happens if you wrap it with a render?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss