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


Re: New Parts for LGEO Library - Damien Roux - 2015-06-05

Update: 2015/06/05

[Image: v12-1.jpg]

4476: Support 2 x 4 x 5 Stanchion Inclined
4479: Minifig Metal Detector
4485: Minifig Cap with Long Flat Peak
4522: Minifig Tool Mallet
4589: Cone 1 x 1
4592: Hinge Control Stick Base
4593: Hinge Control Stick
4596: Plate 1 x 2 with 3L Extension and Stud Hole
4624: Wheel Rim 6.4 x 8
4735: Brick 1 x 1 x 2/3 Round with Bar and Clip Vertical
4736: Minifig Jet-Pack with Stud on Front
4737: Panel 4 x 4 x 6 Outward Sloping Corner
4740: Dish 2 x 2 Inverted
4741: Window 4 x 4 x 6 Outward Sloping
4746: Tail 4 x 2 x 2 with Rocket
4755: Electric Plate 1 x 2 with Contacts
4757: Electric Plate 2 x 4 with Contacts
4758: Electric Plate 2 x 8 with Contacts


Colors 494 vs 383 (was: New Parts for LGEO Library) - Steffen - 2015-06-06

Hello Damien and Christophe,

both colors 494 and 383 are valid LDRAW colors.

You should not replace one of these by the other.

Instead, both must be supported the same way like the other, simple ones like "black" (0) and so on.

- this just as a quick reply to the suggestion above to remove one of them - that's a Bad Idea ™ Smile
Steffen


Re: Colors 494 vs 383 (was: New Parts for LGEO Library) - Damien Roux - 2015-06-06

Yeah, I change it back on my parts, and it is now in line with ldraw parts


Re: New Parts for LGEO Library - Christophe Mitillo - 2015-06-06

A quick feedback on the last bunch of parts:

Part #4740: lacks the addition of LGEO primitives "lg_tech_knob" and "lg_tech_knob_clear" in the 4740.inc file.
Part #4479: 4479.inc is 90° misoriented in the "y" plane (ldraw coodinates) regarding the ldraw library.

Everything else is OK.

Chris


Re: New Parts for LGEO Library - Damien Roux - 2015-06-06

4740 should have no probleme, I didn't use the primitives there and everything is included in the STL .inc file

4479, I will have a look.


Re: New Parts for LGEO Library - Damien Roux - 2015-06-06

Christophe Mitillo Wrote:Hi Damien,

I'm still amazed on how detailed your parts are. If you don't mind, I have a couple of question regarding your library.

I see that you convert your parts from CATIA to Povray using STL2pov. I tried myself using the converter a few years ago after designing my own hires parts with Solidworks. Although I had no issues when converting to simple triangles, the conversion to smooth triangles always messed up the result giving misoriented polygons. Curiously the result was part triangles and part smooth triangles.
How do you process your parts prior to conversion to have only smooth triangles ?
Regarding your printed parts, I'm curious about the way you convert flat 2D patterns to 3D objects. Is it automated or do you process each pattern manually ?


Chris

I never had any problem exporting to smooth triangles, I can't really give you any hint on that, maybe Solidwork STL export is different from CATIA's one. I simply export to STL with CATIA default settings and run stl2pov with -s option on.

For the patterned parts, I export ldraw triangles to povray using the old L3PAdd-on program, then convert it to prism using a homemade VBA program, and then manually add them to the inc files. Then I manually add boxes, cylinders or what ever to improve the pattern and replace ldraw primitivé so let's say it is semi-automated.


Re: New Parts for LGEO Library - Christophe Mitillo - 2015-06-07

Ok, the mistake was mine for the two parts. I forgot to update the STL folder for the last release and I see the folder have been updated for these very parts. All is fine with the new STL files.
Sorry for inconvenience.

Chris


Re: New Parts for LGEO Library - Christophe Mitillo - 2015-06-07

Thanks for anwsering my questions.

For STL conversion, after deep investigation and a few tests, I think that maybe the problem is in STL2pov. I use version 2.5 of the software.

For testing purpose, I used it on the STL file for part 2998 you shared with Gerhart afew days ago. The converted .inc file is messed up like mines.
Looking at the files precisely, that's what I found. The flat triangles seem to be converted like yours, but the smoothed ones are different.

in your .inc part (converted with STL2pov 2.4.4):

triangle { // #670
<16, -48.2614, -1.51945>,
<16, -48.0893, -2.26346>,
<16, -54.537, -2.62187>
}
smooth_triangle { // #671
<16, -54.4251, -4.3668>, <-0.998433, 0.00455732, 0.0557737>,
<16, -54.537, -2.62187>, <-1, 0, 0>,
<16, -48.0893, -2.26346>, <-1, 0, 0>
}

in my conversion with STL2pov 2.5:

triangle { // #670
<16, -48.2614, -1.51945>,
<16, -48.0893, -2.26346>,
<16, -54.537, -2.62187>
}
smooth_triangle { // #671
<-54.4251, 16, -4.3668>, <0.00455732, -0.998433, 0.0557737>,
<-54.537, 16, -2.62187>, <0, -1, 0>,
<-48.0893, 16, -2.26346>, <0, -1, 0>
}
as you can see, in the smoothed triangle, plans X an Y are switched, causing a 90° rotation. All others are rotated also.

Unfortunately, I'm in a dead end as STL2pov 2.4.4 it's not available now.
Do you mind in sharing with me your version of STL2pov so I can fulfill my tests ?


Chris


Re: New Parts for LGEO Library - Damien Roux - 2015-06-08

STL2Pov 2.4.4


Re: New Parts for LGEO Library - Christophe Mitillo - 2015-06-09

Thank you.

It works fine now.