| | Proposed solution for mirrored parts and studs
|
|
It's obvious that there is a lot of interest in the problem of mirrored studs, based on the volume of traffic in the ongoing thread. I have a proposed solution to the problem. My proposal is the creation of a small tool that automatically fixes a (...) (21 years ago, 3-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution for mirrored parts and studs
|
|
(...) As you write below you can open ANY file. If no studs are mirrored, then no action takes place. (...) In stead of referencing studmirr.dat, why not simply use a mirrored reference to stud.dat? (...) No, same code. (...) Right. (...) If all (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution for mirrored parts and studs
|
|
(...) I'll look into that. I thought it would be easier to reference the other file, but thinking about it again, I guess I should be able to multiply the mirror matrix by the stud matrix to get the correct final matrix anyway. (Or would that be (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here*
|
|
OK, I have created a command line program to un-mirror studs. It is called UnMirrorStuds, and version 0.1 is available from the following location: (URL) download it and give it a try, and let me know what you think. I'd like to have people process (...) (21 years ago, 9-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here*
|
|
(...) I have tested your program against half a dozen files (including files with large mirrored sub-assemblies for wings and such) and the L3P generated renderings all showed the studs correctly. Well done. However, it doesn't work with -lgeo... (...) (21 years ago, 10-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here*
|
|
(...) That's good to hear. (...) Yeah. I was aware of that. The good news is that it should only be a problem in LGEO if you have mirrored sub-assemblies. Looking at the models I have downloaded over time, I discovered that most people don't do this (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here*
|
|
(...) Two reasons I can think of: 1) Inventories: If you build a submodel using a Left Wing, and then mirror it, the inventory is going to show 2 left wings, when in reality there is 1 left wing and 1 right wing. 2) Instructions: Official LEGO (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here*
|
|
(...) Thanks for the info. After further consideration, I realized that there is one other thing that will prevent the -lgeo option from working properly, even for models that don't have mirrored sub-assemblies. Any parts in the part library that (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
|
|
| | Re: Proposed solution *Test Here* [DAT]
|
|
(...) Yes. No. ;-) There's still a problem with mirrored sub-assemblies. Suppose you have an aeroplane, Plane.ldr: 1 2 0 0 0 0 0 1 0 1 0 -1 0 0 2445.DAT 1 16 0 -8 0 1 0 0 0 1 0 0 0 1 Wing.ldr 1 16 0 -8 0 -1 0 0 0 1 0 0 0 1 Wing.ldr Wing.ldr: 1 4 -80 (...) (21 years ago, 19-Jul-03, to lugnet.cad.dev)
|