On Tue, Sep 9, 2014 at 7:45 AM, Johannes Schauer <[email protected]> wrote:

> Hi,
>
> only year later :)
>

  Hello again!


> Can leocad yet make use of the raw ldraw format or must there be some
> conversion into its own format beforehand?
>

  It can use LDraw's library directly, see
http://leocad.org/trac/wiki/PartsLibrary

If it can make use of the raw ldraw format, then maybe the leocad Debian
> package can "Suggest" the ldraw-parts package? (it cannot "Recommend" it
> because then leocad cannot be in "main" anymore).
>

  Sounds good to me.

Unfortunately I don't seem to be able to do this conversion as I'm getting:
>
>         Unknown parameter: --convert
>
> What is the problem?
>

  That option has been removed since the library format is now the same.


> If you do not think that either the script or the generated parts should go
> into leocad itself, then I can package the software for Debian main and the
> leocad package can then depend on it.
>
> What do you think?
>

  I like being able to run without any external files so having the
generated library in C++ is great for that but I don't plan to add new
bricks to it anymore. Since you have the python script I think I could make
a custom build step to generate the library, zip it and convert the zip
file to a data array like I do with the color and minifig configs.

  Another option would be to convert your script to C++, I can look into
that as well but then I won't get any updates to your script in the future.

  Which one do you prefer?
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to