LDraw.org Discussion Forums
New Parts for LGEO Library - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Rendering Techniques (https://forums.ldraw.org/forum-20.html)
+--- Thread: New Parts for LGEO Library (/thread-16260.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


New Repository for LGEO Library - Michael Horvath - 2019-07-01

I am working on the LGEO library. Here are the notes I've compiled while doing research. I have all the parts organized using a spreadsheet, and am currently updating "LGEO.xml", "lg_colors.lst" and "lg_elements.lst". When I'm done I will probably create a GitHub repository. If you would like to be made a contributor/collaborator let me know and I will add you to the project.

[ed]

The repo is now live, but does not include (most of) the actual parts due to file size restrictions on GitHub.

Link

https://github.com/mjhorvath/lgeo-tools

[ed. updated notes below 2019-07-04]

#LIBRARIES
* lg_lutz - Lutz Uhlmann, included with AIOI, http://www.digitalbricks.org/lgeo.html (dead link), https://github.com/jncraton/lgeo (working link)
* lg_lgeofix - Lars C. Hassing, http://www.hassings.dk/l3/lgeofix.html
* lg_owen - Owen Burgoyne, included with AIOI, https://forums.ldraw.org/thread-6127.html, https://bricksafe.com/pages/C3POwen/lgeo
* lg_owen_fixed - Michael Horvath, contains some minor fixes, unpublished
* lg_darats - Damien Roux, http://www.eurobricks.com/forum/index.php?showtopic=108739
* stl_darats - Damien Roux, http://www.eurobricks.com/forum/index.php?showtopic=108739
* lp_orion - Orion Pobursky, non-LGEO format but is supported by LDView, https://github.com/billthefish/LDrawPOV, https://sourceforge.net/projects/ldrawpov/
* ar_old - Anton Raves, old library, non-LGEO format but is supported by L3P and included with AIOI
* ar_new - Anton Raves, new library, non-LGEO format and is not supported by other tools AFAIK, https://www.virtualbricks.nl/downloads.php

#NOTES
* Order of installation AFAIK: lutz < owen_fixed < darats
* Do not use Lars' parts!! They are older than Lutz's latest update I think.
* Don't know what to do with Anton's new parts or Orion's parts. They use different formats that may not be immediately compatible with LGEO (or with each other). It would be good to get them working along side of LGEO though.
* As of 2019/07/01, the official AIOI seems to include Owen's parts but not Damien's parts.
* In the LGEO library, ABS and PC plastic parts do not have any normals. Parts made of other materials (e.g. rubber, pearl, chrome, transparent) do have normals, however.
* By default, sloped parts don't have alternative normals, despite that the sloped parts themselves have always supported this feature. Some programs add normals to these parts, however.
* LGEO materials do not support SSLT or blurred reflections.
* As of 2019/07/01, the latest LGEO parts by Damien are missing "lg_2345p44.inc" and "lg_3794a.inc", even though they are listed in his "LGEO.xml".
* As of 2019/07/01, in Damien's version of "LGEO.xml" color 406 "lg_rubber_dark_purple" should be renamed to "lg_rubber_dark_blue" (or vice versa, I'm not entirely sure).
* As of 2019/07/01, the latest version of LGEO's "lg_color.inc" file is missing many colors, such as "color 495 - Electric_Contact_Copper" and "color 339 - Glitter_Trans_Neon_Green". This file needs to be updated to reflect the most current "LDConfig.ldr" file.
* The LGEO files "lg_10197.inc", "lg_10288.inc" and "lg_85940.inc" reference an object named "lg_tech_tube", but this object is not missing from Damien's "lg_defs.inc".
* The file is present in Owen's library and the AIOI, however. In fact, these other versions appear to be more recent than Damien's. Is there anything in Damien's version of "lg_defs.inc" that is important enough to keep?
* The files "lg_colors.lst" and "lg_elements.lst" also need to be updated after every change made to the LGEO library.
* Need to replace all instances of "lg_2582_slope" with "lg_2582" within all legacy POV-Ray files. See: https://forums.ldraw.org/showthread.php?tid=16260&pid=27652&mode=linear
* It would be a good idea to create LGEO versions of LDBoxer parts too, as currently they are all very boxy with sharp edges, etc. Will the LDBoxer sub-folder structure cause issues?
* Several of Owen's LGEO part names have fewer than four number characters at the beginning, and should be padded with zeros to maintain the naming conventions set by Lutz and followed by everyone else.
* In Owen's LGEO library the part "lg_756" is listed twice in "LGEO.xml".
* In the spreadsheet I need to mark all remaining slope parts as sloped.
* "LDConfig.ldr" treats Glow_In_Dark_Opaque, Milky_White, Glow_In_Dark_Trans and Glow_In_Dark_White as partially transparent. LGEO treats some of these as fully solid.
* The file "lg_colors.lst" does not list MILKY or SPECKLE in it yet. What do I do?
* Also, some parts in "lg_colors.lst" have multiple material codes, but in "LDConfig.ldr" each color only has one.
* In the spreadsheets and JSON files I have ommitted the extra material information that appears in "LDConfig.ldr" for the SPECKLE material. This can easily be added back in if needed, however.
* It might be better to remove the zero padding from all LGEO part names so that they match the original LDraw part names. The padding serves no real purpose as far as I can tell, and just makes things a little bit more confusing for everyone.
* Should LGEO part names all be lower case? Should LGEO part names match the case of the original LDraw part names? Does it matter?
* The colors in "lg_color.inc" come from a variety of different places such as LDraw, LDD and LUGNET. But mainly they come from Peeron.


RE: New Repository for LGEO Library - Damien Roux - 2019-07-02

Thanks for the hard work.

I'm done with the cleaning I wanted to do on my library, I will update my package this week. For sure!


RE: New Repository for LGEO Library - Michael Horvath - 2019-07-02

(2019-07-02, 18:18)Damien Roux Wrote: Thanks for the hard work.

I'm done with the cleaning I wanted to do on my library, I will update my package this week. For sure!

I remembered some time last night that GitHub has a size limit on repositories. I will have to think of an alternative solution if I go over that limit.

Sad


RE: New Repository for LGEO Library - Michael Horvath - 2019-07-03

(2019-07-02, 18:18)Damien Roux Wrote: Thanks for the hard work.

I'm done with the cleaning I wanted to do on my library, I will update my package this week. For sure!

One question I have for you personally is regarding "lg_defs.inc".

Judging by the log in the file header, you are using a much older version than Owen's or the one provided by the AIOI.

Is there anything important in your version that is missing from Owen's or the AIOI's? How can I merge your changes into them?


RE: New Repository for LGEO Library - Damien Roux - 2019-07-03

(2019-07-03, 0:02)Michael Horvath Wrote: One question I have for you personally is regarding "lg_defs.inc".

Judging by the log in the file header, you are using a much older version than Owen's or the one provided by the AIOI.

Is there anything important in your version that is missing from Owen's or the AIOI's? How can I merge your changes into them?

My lg_defs.inc is completely different, that's why I'm not providing it in my package.

The differences are :
 - Declaring L3LDrawToLgeo and L3LgeoToLDraw (which look like old statements but as my parts are using the same scale as Ldraw, I still need them to have compatibility with legacy LGEO parts. These need to be added if one want to use my parts)
 - Remove almost every primitves (knob, column, etc..) definiton from the lg_defs.inc file and treat them as if they where part (lg_knob.inc, etc... in my STL folder that I still need to release).


Remark : I've never updated the log of my lg_defs.inc header... as it was not supposed to be released. Here is my last one (attached to this post).

Edit : I've realized the lg_defs.inc was indeed in my package, which was not intended...


RE: New Parts for LGEO Library - Damien Roux - 2019-07-03

Update: 2019/07/03 - 1

[Image: v29-1.jpg]

572a: String End Stud
572c: String Minifig Grip
2431pzb: Tile 1 x 4 with Black Stormtrooper Utility Belt Pattern
2431pz6: Tile 1 x 4 with Dark Red Lines and White and Yellow Circle Pattern
2431pz7: Tile 1 x 4 with Black Moustache and Black Beard Pattern
2431pz8: Tile 1 x 4 with Black Outlined White Teeth Pattern
2431pza: Tile 1 x 4 with Dark Red Rectangle and 2 Dark Red Trapezoids Pattern
2431pzc: Tile 1 x 4 with Metallic Silver Stormtrooper Utility Belt Pattern
2453a: Plate 1 x 1 x 5 with Hollw Stud
2453b: Plate 1 x 1 x 5 with Solid Stud
2959: Magnet Cylindrical Casing
3004pz2: Brick 1 x 2 with Green Bow Tie Pattern
3004pz5: Brick 1 x 2 with Black Spider Web Pattern
3004pz4: Brick 1 x 2 with White Trapezoidal Shape Pattern
3005: Brick 1 x 1
3010pzd: Brick 1 x 4 with Black Outlined White Star Pattern
3010pzc: Brick 1 x 4 with 3 Red Vertical Stripes Pattern
3010pza: Brick 1 x 4 with Wonder Woman Logo Pattern
3010pz9: Brick 1 x 4 with Superman Logo with Black Border Pattern
3010pz8: Brick 1 x 4 with Black Abdominal SPAM CONTENT Pattern
3010pzh: Brick 1 x 4 with Black Spider Web Pattern
3010pzq: Brick 1 x 4 4 with Black Squares and Black Stripe Pattern
3010pzk: Brick 1 x 4 with Supergirl Logo Pattern
3010pzj: Brick 1 x 4 with Red Stripes and Metallic Gold Circles Pattern
3010pzi: Brick 1 x 4 with Red Spider Pattern
3010pzb: Brick 1 x 4 with Black Batman Logo in Black Outlined Yellow Oval Pattern
3010pzg: Brick 1 x 4 with White Insect Pattern
3010pzf: Brick 1 x 4 with Metallic Gold Eye-Shaped Medallion Pattern
3010pze: Brick 1 x 4 with Metallic Silver Claw Necklace Pattern
3068bpz0: Tile 2 x 2 with Black Spider Web Pattern
3069bpz3: Tile 1 x 2 with Red Star with Black Border on Metallic Silver Background Pattern
3069bpz6: Tile 1 x 2 with Dark Red Lines Pattern
3069bpz7: Tile 1 x 2 with Black Brickheadz Joker Playing Card Pattern
3069bpz8: Tile 1 x 2 with Metallic Silver Claw Bracelet Pattern
3069bpz9: Tile 1 x 2 with Black Web Spider Pattern
3069bpza: Tile 1 x 2 with Green, Red and Light Bluish Grey Buttons on Metallic Silver Background Pattern
3069bpzb: Tile 1 x 2 with Light Bluish Grey Buttons on Metallic Silver Background Pattern
3245cpz1: Brick 1 x 2 x 2 without Understud with Black Undershirt, Metallic Dark Grey Clasps and Dark Bluish Grey Decorations Pattern
3245cpz2: Brick 1 x 2 x 2 without Understud with White Tie Pattern
3278: Tap 1 x 2 Spout
3496: Tap 1 x 2 Base
3496c01: Tap 1 x 2 with Light Grey Spout
3496c02: Tap 1 x 2 with Chrome Spout
3564: Animal Cow Horn 2.25L
4728: Plant Flower 2 x 2 with Hollow Stud
4869: Plane Jet Engine Centre
11477pz2: Slope Brick 31 1 x 2 x 0.667 with Dark Red Mythosaur Skull and White Background Pattern
15068pz1: Slope Brick Curved 2 x 2 x 0.667 with Metallic Silver and White Hole Pattern
15429: Animal Cat Tail
16770: Claw Wide with Clip


RE: New Parts for LGEO Library - Damien Roux - 2019-07-03

Update: 2019/07/03 - 2

[Image: v29-2.jpg]

18041: Minifig Harpoon with Smooth Bar
20482: Tile 1 x 1 Round with Pin and Pin Hole
24201: Slope Brick Curved 2 x 1 Inverted
24855: Plant Flower Stem with Bar
24866: Plate 1 x 1 with 5 Petals
25893: Plate 1 x 1 Round with Horizontal Handle Below
27263: Tile 2 x 2 Corner without Corner
28192: Slope Brick 45 2 x  1 with Cutout and without Stud
29119: Slope Brick Curved 2 x 1 with Cutout Righ
29120: Slope Brick Curved 2 x 1 with Cutout Left
30249: Slope Brick 55 1 x 6 x 5
30359a: Bar 1 x 8 with Brick 1 x 2 Curved Top End
30359b: Bar 1 x 8 with Brick 1 x 2 Curved Top End with Axlehole
30361a: Cylinder 2 x 2 x 2 Robot Body without Bottom Axle Holder
30370: Minifig Helmet Star Wars Rebel Pilot
30552: Hinge Arm Locking with Single Finger and Axlehole
30553: Hinge Arm Locking with Dual Finger and Axlehole
32059: Plate 4 x 6 without Corners
32828: Plate 1 x 1 Round with Bar
32952: Brick 1 x 1 x 1.667 with Studs on 1 Side
33291: Plate 1 x 1 Round with Tabs
34103: Plate 1 x 3 with 2 Studs Offset
41769: Wing 2 x 4 Right
41770: Wing 2 x 4 Left
43710: Wedge 4 x 2 Double Left
43711: Wedge 4 x 2 Double Right
43722: Wing 2 x 3 Right
43723: Wing 2 x 3 Left
43892: Animal Tail
47905: Brick 1 x 1 with Studs on Two Opposite Sides
52031: Wedge 4 x 6 x 0.667 Curved
53451: Minifig Helmet Viking Horn
58367: Minifig Hose Nozzle with Side String Hole
61184: Technic Pin 1/2 with Bar 2L
63868: Plate 1 x 2 with Clip Horizontal on End (Thick C-Clip)
71075a: Brick 1 x 1 x 1.667 Round
85984pz0: Slope Brick 31 1 x 2 x 0.667 with Dark Red Mythosaur Skull and White Background Pattern
87079pz2: Tile 2 x 4 with Black Cracks Pattern
87079pz4: Tile 2 x 4 with Brickheadz Seasonal Calendar Pattern
87079pz5: Tile 2 x 4 with Lego Logo and White "#LEGOSDCC" Pattern
87079pz6: Tile 2 x 4 with Black Outlined White "A" Pattern
87079pz7: Tile 2 x 4 with Metallic Silver Lines Pattern
87079pz9: Tile 2 x 4 with Brickheadz "#LEGOSDCC" "2017" Pattern
87079pza: Tile 2 x 4 with 10 Yellow Rectangles Pattern
87079pzb: Tile 2 x 4 with Lego Logo, White Star Wars Logo and Metallic Silver "NEW YORK COMIC CON 2017" Pattern
87079pzd: Tile 2 x 4 with Brickheadz Series Number "1" Pattern
87079pz8: Tile 2 x 4 with Black Spider Web Pattern
87087: Brick 1 x 1 with Studs on 1 Side
88930pz1: Slope Brick Curved 2 x 4 with Underside Studs with Yellow Arches and Circles Pattern
88930pz2: Slope Brick Curved 2 x 4 with Underside Studs with Red Trapeze and 2 Orange Ovals Pattern
91049: Plate 1.5 x 1.5 x 0.667 Round
93273: Slope Brick Curved 4 x 1 Double
93273pz0: Slope Brick Curved 4 x 1 Double with Red Star with Black Border Pattern
93273pz1: Slope Brick Curved 4 x 1 Double with Black Belt with Black Pockets Pattern
98138p0e: Tile 1 x 1 Round with Silver Dot in Thin Black Circle Pattern
98138ps5: Tile 1 x 1 Round with Dark Bluish Grey Lines in Y-Shape Pattern
99253: Minifig Lasso


RE: New Repository for LGEO Library - Leonardo Gonzalez - 2019-07-03

(2019-07-01, 23:57)Michael Horvath Wrote: ...
* As of 2019/07/01, the LGEO files "lg_10197.inc", "lg_10288.inc" and "lg_85940.inc" reference an object named "lg_tech_tube", but this object is not defined anywhere in the library...
The lg_defs.inc accidentally included by Damien in the updated LGEO pack removes a lot of pre-defined objects required by other parts.

lg_tech_tube along with lg_tech_hole are defined in the lg_defs.inc file that comes with the AIOI.


RE: New Repository for LGEO Library - Damien Roux - 2019-07-03

(2019-07-03, 22:00)Leonardo Gonzalez Wrote: The lg_defs.inc accidentally included by Damien in the updated LGEO pack removes a lot of pre-defined objects required by other parts.

lg_tech_tube along with lg_tech_hole are defined in the lg_defs.inc file that comes with the AIOI.

I have removed the lg_defs.inc from my package.


RE: New Repository for LGEO Library - Michael Horvath - 2019-07-04

(2019-07-03, 22:23)Damien Roux Wrote: I have removed the lg_defs.inc from my package.

If there are important things in your lg_defs.inc, then how do we use your parts if you remove this file?