LDraw.org Discussion Forums
[Windows] A request for a simple script of ldcad - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: [Windows] A request for a simple script of ldcad (/thread-28544.html)



A request for a simple script of ldcad - HWQ - 2024-12-14

I hope to add a Lua script to detect and delete parts of duplicate coordinate axes
Sometimes I accidentally put in overlapping parts and it’s hard to find them. 
I think this should be easy to implement, such as detecting the same XYZ coordinates in the file and deleting them, but I don't know much about Lua.
hope someone can help me solve it.thk


RE: A request for a simple script of ldcad - Roland Melkert - 2024-12-17

(2024-12-14, 9:18)HWQ Wrote: I hope to add a Lua script to detect and delete parts of duplicate coordinate axes
Sometimes I accidentally put in overlapping parts and it’s hard to find them. 
I think this should be easy to implement, such as detecting the same XYZ coordinates in the file and deleting them, but I don't know much about Lua.
hope someone can help me solve it.thk

This should be fairly easy, I'll try to write a quick and dirty one later this week or in the weekend.