![]() |
[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 This should be fairly easy, I'll try to write a quick and dirty one later this week or in the weekend. RE: A request for a simple script of ldcad - HWQ - 2024-12-23 ![]() ![]() ![]() ![]() (2024-12-17, 22:43)Roland Melkert Wrote: This should be fairly easy, I'll try to write a quick and dirty one later this week or in the weekend. RE: A request for a simple script of ldcad - Roland Melkert - 2024-12-23 (2024-12-23, 3:45)HWQ Wrote: sorry, something has gotten in the way. I probably won't be able to work at anything ldraw related for at least a week ![]() RE: A request for a simple script of ldcad - HWQ - 2024-12-24 (2024-12-23, 21:03)Roland Melkert Wrote: sorry, something has gotten in the way. I probably won't be able to work at anything ldraw related for at least a weekOHHHHHHHHH NO. I hope you'll finish your work as soon as possible and help me handle this small request. ![]() RE: A request for a simple script of ldcad - HWQ - 2024-12-30 (2024-12-23, 21:03)Roland Melkert Wrote: sorry, something has gotten in the way. I probably won't be able to work at anything ldraw related for at least a week Hello, can you help me with this request? It's too troublesome for me to check the overlap one by one. ![]() RE: A request for a simple script of ldcad - Roland Melkert - 2025-01-03 Made a quick and dirty one: Code: function isUique(lst, needle) Save it to a .lua file and place it in LDCad/scripts/default/global to use it. It will find identical parts at (nearly,<0.1 ldu) the same place ignoring color and rotation. |