stud.io special line types


stud.io special line types
#1
Hi there,

there are some lines in a stud.io file that I don't understand.

Example for line-3-triangle:
Code:
3 -1 12 0 10 14.345 2 10 -14.345 2 10 0.345 0.954 0.329 0.897 0.524 0.897
3 -1 16 32 -6 19 32 -10 -19 32 -10
The second line is fine, but the first line has six additional floats - most probably two additional points. Is this a shortcut for some kind of triangle-stripe? As not all lines have the same number of arguments, this seems to be some kind of option? The corresponding part is not existing in LDraw-world, so I can't replace it.

Example for line-5-auxline:
Code:
5 -2 7.654 4.000 -18.478 7.654 8.000 -18.478
This line is missing the control points as far as I can see. The auxline here is inside the inlined part 4032.dat, which is moved to 4032a.dat in LDraw. The corresponding auxline there is:
Code:
5 24 7.6537 4 -18.4776 7.6537 8 -18.4776 14.14 4 -14.14 0 4 -20
The color is ok (Bricklink -2 matches to LDraw 24), and the coordinates just have one digit less precision. But it seems the stud.io-file skipped the control-points. Is there some default for the control-points? As this part is just an inlined version of an official part, I could easily replace it, but I would like to know how this works.

Thanks in advance for any hint.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
stud.io special line types - by Stefan Frenz - 2022-03-26, 8:59

Forum Jump:


Users browsing this thread: 1 Guest(s)