Join GitHub today
Add LSynth parts to LPub3D archive #165
Automatically load LPub3D LSynth parts.
Version of LPub3D - 2.3.3
Add LSynth parts to LPub3D archive with one click.
Current behaviour requires the user to manually add the parts to a subfolder under unofficial
This enhancement adds LSynth parts to the LPub3D application resource bundle.
If the user has already installed the LSynth parts under his/her LDraw disk library ‘parts’ location, the Preferences checkbox 'Archive LSynth Parts' adds the flag to allow the user to automatically add LSynth parts to the LPub3D archive file. This allows LPub3D to validate LSynth parts in the model file without having to create and add an external LSynth path to the LPub3D search directories. Because LDraw ‘parts’ and ‘p’ subfolders are excluded from the list of LPub3D search directories as they are already archived, ‘user added’ parts at these locations are not added to the archive.
In the event LSynth parts are not currently installed, a second Preferences checkbox 'Add LSynth Search Directory' adds the flag to allow the user to create and add the LSynth path to the search directories. In addition to being added to the LPub3D archive, the resource bundled LSynth parts are also extracted to the created path, enabling parts access to the LPub3D renderers.