[OpenSCAD] Caching files?

nop head nop.head at gmail.com
Tue Aug 23 16:35:32 CEST 2011

On 23 August 2011 15:25, Giles Bathgate <giles.bathgate at gmail.com> wrote:

> On 23 August 2011 15:18, nop head <nop.head at gmail.com> wrote:
> > I am surprised nobody has noticed this before. Isn't this the normal use
> > case if you are trying to design an assembly of components?
> Yeah, I think its the mixing of 'use' and 'include' this way.

> A work around would be to make conf.scad implement a function and have
> it return a value for K, then I think it could be 'use'd by
> module.scad rather than 'include'd.

There would be no point to include in that case, and no global constants
like M3_nut_diameter, etc.

So does it store a file name and date for every function and every module
then and have a tree of dependencies between functions and modules? In which
case it could just treat constants the same way.

> Regards
> Giles
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20110823/bc4e3d0c/attachment.html

More information about the OpenSCAD mailing list