On Tue, Jul 16, 2013 at 7:01 AM, Johannes Schauer <[email protected]>wrote:

> > Take a look and see if that works for you and I'll add license and readme
> > files. I didn't test to see if they look correct.
>
> The only issue with the LDraw dat files in that zip archive as well as
> with the
> built-in leocad parts library is, that the orientation of the bricks is
> wrong.
>

  Oops, I swapped the axis, it's fixed now. I can regenerate the library if
you don't want to get the source.

Thanks! How did you create the initial version of the built-in leocad parts
> library? Writing the dimensions out by hand?


  Yes, I just wrote a small function to do that for me. The early LeoCAD
versions used a generated library (with more parts than this mini library)
so I had done this before, only later I asked James Jessiman permission to
use his library.

  I was asked if I could create a free library for Debian so instead of
creating a separate library I thought it would be better to instead
generate it internally to avoid the confusion of having 2 different
libraries and removing the dependency on any external files.


> Maybe the leocad Debian package can create a binary package which ships
> this
> minimal LDraw library generated from the built-in leocad parts library?


  I moved the library function outside of LeoCAD into a standalone C++
file, anyone can create a package with it:

wget http://svn.leocad.org/branches/qtest/tools/utils/partsgen.cpp
g++ partsgen.cpp -o partsgen
./partsgen
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to