New Parts for LGEO Library


New Parts for LGEO Library
#1
Hi all,

As suggested in the Eurobricks forum thread I decided to share my personnal LGEO library.

Last Version:

   - LGEO Library - Darats  - 2019/07/03
   - LGEO.xml - Darats  - 2019/07/03


My library is a bit different from the original LGEO one:
I have usually 2 files per part :

   - lg_xxxx.inc (LGEO file containing Patterns and Studs)
   - xxxx.inc (High quality STL file converted into PovRay format)

While waiting for a better solution, you will need to add :
#declare L3LDrawToLgeo = transform { matrix <0,-LG_BRICK_WIDTH/20,0, 0,0,-LG_BRICK_HEIGHT/24, -LG_BRICK_WIDTH/20,0,0, 0,0,4*LG_BRICK_HEIGHT/24> }
#declare L3LgeoToLDraw = transform { matrix <0,0,-20/LG_BRICK_WIDTH, -20/LG_BRICK_WIDTH,0,0, 0,-24/LG_BRICK_HEIGHT,0, 0,0,0> }

at the end of your lg_defs.inc file (just above the very last "}") or use my own lg_defs.inc provided in the package (but it might conflict with Owen's one on some parts).


You may want to put the lg_xxxx.inc files in your usual LGEO directory and the xxxx.inc files in another folder (don't forget to declare it in PovRay or it will not find the requested files)
There is a high probability that some Parts already exist in the Official LGEO library or other users-made ones. Be aware of it if you overwrite some file.

You need to put LGEO.xml in your Ldview install directory (be aware that you will overwrite your own file that might have parts that mine doesn't have).
Be carful: this xml file might give errors until I fully release all the parts that are in it (should be a matter of a few weeks).

When colors are needed (for Patterns for instance) it uses Ldview exported material format (LDXColorx).
My package doesn't contains lg_color.inc, but it must be accessible by PovRay.


I'm sharing all my xxxx.inc files, but as I'm currently cleaning the lg_xxxx.inc files, I will make regular release of them (so during that time, there will be xxxx.inc files without lg_xxxx.inc files (so not usable) but I will do my best to release everything fast).

The unpacked archive will be more than 1.5 Gb because of the high quality STL files, don't be feared of that, but make sure that you have enough hard drive space for it.


Do not hesitate to test it, ask questions and give me feedback here, it works on my system but I don't know if it will in others.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
New Parts for LGEO Library - by Damien Roux - 2015-04-28, 0:14
Re: New Parts for LGEO Library - by Gerhard - 2015-05-27, 20:43
Re: New Parts for LGEO Library - by Gerhard - 2015-05-28, 16:04
Re: New Parts for LGEO Library - by Gerhard - 2015-05-29, 17:05

Forum Jump:


Users browsing this thread: 2 Guest(s)