Problem with transformation matrices on some parts


RE: Problem with transformation matrices on some parts
#10
(2023-04-12, 18:43)Florentin Wrote: So I have to resolve all of the parts and subparts manually to get a full mesh to display it ok.
Is there a way to differentiate if a reference (a Line Type 1) is leading to a part, a subpart or a primitive for easier fetching of the part? Is there a list or something where a program could look up each filename and find out what kind is being meant?

Subparts always have the subparts directory in the filename, example:
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\subpart.dat

For primitives and parts, there is no way to differentiate. You should look up part in one directory, then, if failed, in other. You can cache paths to each part/primitive tho, and look up paths in it after — Studio does that for example, and since you work with it's file format you can grab it's cache from it's LDraw directory
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Problem with transformation matrices on some parts - by Max Murtazin - 2023-04-12, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)