Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
LeoCAD not recognize "ldconfig.ldr" stored in same folder with "complete.zip" #359
I just tried
If set "Custom parts library" as folder (e.i.,
If set "Custom parts library" as ZIP and (e.i.,
LeoCAD should recognize
This issue about importing custom
Main idea of this LeoCAD feature is set custom LDConfig from external file without need to merge it to ZIP.
Understood. Indeed, this is a nice enhancement - particularly for building instructions. I did not well understand your main idea from the title of the ticket. My understanding was LeoCAD should recognize a custom LDConfig.ldr file if placed in the same directory as the complete.zip.
I have already implemented this feature in the LeoCAD library bundled with LPub3D but instead of automatically, detecting the colour file in a specific location, the user must define the alternate colour file in the Preference settings, which also actively indicates that LeoCAD should use an alternate colour file.
Here is mockup of "Custom LDConfig.ldr" and "Custom MLCad.ini" fields for "Preferences" window
Those fields should recognize any plain text files with extensions:
LeoCAD should just check that "Custom LDConfig.ldr" file started with next two strings:
And check that "Custom MLCad.ini" file started with next string:
LeoCAD should run checks after click