I have been looking through the various META commands (such as LPub commands for PLI and Callouts) but I have yet to find a META command that informs an instructions renderer of how to properly orient parts for parts lists and BOMs.
A nice way of orienting parts is to position it with the center at (0,0,0) and placing the camera somewhere along the vector (10, -7, 10). It seems like MLCad does it this way, and I believe this gives a nice view of most parts.
This approach does not work with technic plates (where you can't see the holes), panels with stickers (where the stickers face away from the user), 1x1 bricks with 1 or two studs on sides, and many more, where this normal orientation makes it hard to determine the part.
I have made a crude hack and placed the camera along (10,-15,10) to help out with some of the situations, see this example BOM where 98087 and 47905 can be distinguished (The page currently loads slowly due to lack of optimizations for line type 5 - I am looking into that), but a better approach is needed.
Is there already a commonly used META command for this purpose? I have not been able to find it, but I might have looked the wrong places.
And is there already a library for this kind of positioning of parts? And how does LPub get around this issue. Does it handle this internally?
A nice way of orienting parts is to position it with the center at (0,0,0) and placing the camera somewhere along the vector (10, -7, 10). It seems like MLCad does it this way, and I believe this gives a nice view of most parts.
This approach does not work with technic plates (where you can't see the holes), panels with stickers (where the stickers face away from the user), 1x1 bricks with 1 or two studs on sides, and many more, where this normal orientation makes it hard to determine the part.
I have made a crude hack and placed the camera along (10,-15,10) to help out with some of the situations, see this example BOM where 98087 and 47905 can be distinguished (The page currently loads slowly due to lack of optimizations for line type 5 - I am looking into that), but a better approach is needed.
Is there already a commonly used META command for this purpose? I have not been able to find it, but I might have looked the wrong places.
And is there already a library for this kind of positioning of parts? And how does LPub get around this issue. Does it handle this internally?