[OpenSCAD] Caching files?
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.
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenSCAD