Inline part ???


RE: Inline part ???
#3
(2019-01-23, 20:39)Johann Eisner Wrote: Hi
Maybe a silly question, but I often read "inline a part".
What does this mean exactly?
And always remember, I'm a bloody beginner.

Inlining a part in a model means that you don't reference the file containing the geometry but you add the geometry directly to the model. In OMR models it is a requirement for unofficial part since you cannot be certain that the origin, orientation, geometry of lines, triangles, quads remain as they do in the very moment when you add them to your model. There are sometimes heavy changes (think of subfiling) to unofficial parts and it would totaly mess up your model if the geometry isn't inlined into the model itself.

This would be the code with no inline:


Code:
1 1 -90 -16 0 0 0 1 0 1 0 -1 0 0 3710.DAT
1 15 -70 -16 0 0 0 1 0 1 0 -1 0 0 2412B.DAT
0 STEP
1 71 0 -32 0 1 0 0 0 1 0 0 0 1 2456.DAT


This is the same code with 2412B.dat inlined.


Code:
1 1 -90 -16 0 0 0 1 0 1 0 -1 0 0 3710.DAT
0 // Inlined: 1 15 -70 -16 0 0 0 1 0 1 0 -1 0 0 2412B.DAT
0 Tile 1 x 2 Grille with Groove
0 Name: 2412b.dat
0 Author: Guy Vivan [guyvivan]
0 !LDRAW_ORG Part UPDATE 2009-01
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 // 0 BFC CERTIFY CCW

0 !HISTORY 2009-05-02 [PTadmin] Official Update 2009-01

2 24 -68 -12 16 -68 -12 -16
2 24 -72 -12 16 -72 -12 -16
2 24 -64 -12 16 -76 -12 16
2 24 -76 -12 -16 -64 -12 -16
2 24 -64 -8 -16 -64 -8 16
2 24 -64 -8 16 -76 -8 16
2 24 -76 -8 16 -76 -8 -16
2 24 -76 -8 -16 -64 -8 -16
2 24 -64 -8 -16 -64 -12 -16
2 24 -64 -8 16 -64 -12 16
2 24 -76 -8 -16 -76 -12 -16
2 24 -76 -8 16 -76 -12 16
4 15 -64 -8 -16 -64 -12 -16 -64 -12 16 -64 -8 16
4 15 -64 -8 16 -64 -12 16 -76 -12 16 -76 -8 16
4 15 -76 -8 16 -76 -12 16 -76 -12 -16 -76 -8 -16
...


w.
LEGO ergo sum
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Inline part ??? - by Johann Eisner - 2019-01-23, 20:39
RE: Inline part ??? - by Orion Pobursky - 2019-01-23, 21:03
RE: Inline part ??? - by Willy Tschager - 2019-01-23, 21:05
RE: Inline part ??? - by Johann Eisner - 2019-01-23, 22:24
RE: Inline part ??? - by Travis Cobbs - 2019-01-24, 2:29
RE: Inline part ??? - by Philippe Hurbain - 2019-01-24, 7:02
RE: Inline part ??? - by Johann Eisner - 2019-01-24, 19:34
RE: Inline part ??? - by Steffen - 2019-01-31, 22:31

Forum Jump:


Users browsing this thread: 1 Guest(s)