Hi all, I sometimes want to apply an operation on several pieces (change color, move, realign¹, add symmetrical pieces, and so on). To do this, I save my MOC in the LDR format, which is a quite simple text format, apply a script² and then load it back in Leocad. But for the extra manipulations, it works well, somewhat⁴.
But, as there is work being done about groups and selections, I was wondering if there were also plans to (either or both): * allow operations on whole groups, * change the file format from binary to (compressed) text (but not XML please). ––—— ¹ Aside any obsessive-compulsive disorder, overlapping pieces can cause glitches in POVRay renderings, especially with transparence. ² I had also been entertaining the idea of separating Leocad’s model (data classes) and file operations in a library to be able to rewrite those scripts in C++, but then ... I read the code! Just kidding :oD³ My LDR-scripts are enough. ³ Well, to be honest, the handling of all the versions makes it some kind of a mess. ⁴ Except that Leocad doesn’t/cannot save its groups in LDR (I think it could be possible with comments but quite cumbersome and okerkill) so I lose that information and must reform the groups afterward (which can be a tedious operation with big MOCs). -- Sylvain Sauvage _______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
