I seem to have a catch22:
PLEASE fix the “use <file>” variable redeclaration bug. - Revar _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org |
Yes this has become a huge problem for me as well. Currently my 3D printer design takes 1 minute to evaluate the scad (before it starts GSG product generation), up from about 20 seconds not long ago. As a project grows in complexity the time to process it seems to go up as the square, or perhaps higher power due to it evaluating constants over and over again. The last time I measured it it was hundreds of thousands of times. Perhaps it is millions now. On Tue, 24 Nov 2020 at 03:43, Revar Desmera <[hidden email]> wrote:
_______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org |
Indeed, that would be a very useful fix. I just heard about
http://commandermodel.com/393/Volkswagen_Beetle modeled in OpenSCAD (http://commandermodel.com/beetle.000.jpg). It seems there are more big (and awesome) projects out there than widely known which could benefit from that. ciao, Torsten. _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
|
It is often said that OpenSCAD's variables are actually named constants but the reality is they are actually only named expressions unless they are in the top level file. When they refer to other expressions and functions it becomes a huge tree that gets evaluated whenever a module or function is called, regardless of whether it is actually used or not. On Tue, 24 Nov 2020 at 17:32, Torsten Paul <[hidden email]> wrote: Indeed, that would be a very useful fix. I just heard about _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org |
Free forum by Nabble | Edit this page |