Renderbricks Posted May 14, 2014 Posted May 14, 2014 (edited) Can someone explain me why I get different and wrong results? Thanks a lot! - I used the latest LDD and load the .lxf +++ result in picture 1 - I export to .ldr and load into LEOCad +++ result in picture 2: parts are missing, wrong placed and rotated - I export to .ldr with the latest beta ldraw.xml and load into LEOCad +++ different result in picture 3 but looks more correct - I set the custom parts library to the original LDRAW to get my modified studs with LEGO +++ result in picture 4: parts of the car wings and the rear mirrors will be replaced by small cubes - I load the .ldr with LDRView or MLCad +++ result in picture 5: car wings parts complete but rear mirrors missing Edited May 14, 2014 by virtualrepublic Quote
Renderbricks Posted May 14, 2014 Author Posted May 14, 2014 (edited) I just use a few unofficial parts for other models but I did not replace any official ones with them. Edited May 14, 2014 by virtualrepublic Quote
Renderbricks Posted May 14, 2014 Author Posted May 14, 2014 (edited) It might be a problem with the latest LDD release (ldraw.xml)? Here's another export of an AT-AT. The Technic parts at the legs are wrong placed and rotated. Edited May 14, 2014 by virtualrepublic Quote
Renderbricks Posted May 14, 2014 Author Posted May 14, 2014 (edited) I isolated the wrong parts and edited the ldraw.xml file. I need to find the right values. +++ UPDATE +++ I can't work out the correct values. Here's the original data: <!-- Technic Liftarm 1 x 3 with Rotation Socket 44224 21 --> <Transformation ldraw="44224.dat" tx="0" ty="0" tz="0" ax="1" ay="0" az="0" angle="4.712389"/> <!-- Technic Beam 3 with Rotation Pin 44225 21 --> <Transformation ldraw="44225.dat" tx="0" ty="0" tz="0" ax="0" ay="0" az="1" angle="3.141593"/> I tried to find a description what those angle values mean but failed. Moving the piece around is not a problem but rotating gives me a headache. Edited May 15, 2014 by virtualrepublic Quote
Alcom1 Posted May 15, 2014 Posted May 15, 2014 (edited) I isolated the wrong parts and edited the ldraw.xml file. I need to find the right values. +++ UPDATE +++ I can't work out the correct values. Here's the original data: <!-- Technic Liftarm 1 x 3 with Rotation Socket 44224 21 --> <Transformation ldraw="44224.dat" tx="0" ty="0" tz="0" ax="1" ay="0" az="0" angle="4.712389"/> <!-- Technic Beam 3 with Rotation Pin 44225 21 --> <Transformation ldraw="44225.dat" tx="0" ty="0" tz="0" ax="0" ay="0" az="1" angle="3.141593"/> I tried to find a description what those angle values mean but failed. Moving the piece around is not a problem but rotating gives me a headache. I can't remember between tx or ax which is the translation and which is the normal for the rotation, but I can figure it out with a bit of experimentation. Angle appears to be in radians. I see you, Pi! tx and the like are the translation directions, ax is the axis of rotation direction which doesn't have be a normal even though the .xml lists it as such. Anyways I hacked out the rotation of both bricks thanks to my brilliant education in linear algebra and the internet. Ima go sleep. You can figure out the translations. <!-- Technic Liftarm 1 x 3 with Rotation Socket 44224 21 --> <Transformation ldraw="44224.dat" tx="0" ty="0" tz="0" ax="1" ay="-1" az="1" angle="2.094395"/> <!-- Technic Beam 3 with Rotation Pin 44225 21 --> <Transformation ldraw="44225.dat" tx="0" ty="0" tz="0" ax="-1" ay="-1" az="-1" angle="2.094395"/> Edited May 15, 2014 by Alcom1 Quote
___ Posted May 25, 2014 Posted May 25, 2014 (edited) ax, ay, az...those should be angles on x, y and z axis, like if "ax=0 ay=-1 az=0.5 angle=2.500" it may simply mean that it rotates only on y axis CCW by whole value of "angle" (in radians as someone else before me correctly said) and 1/2 of that value on z axis in CW ;) +tx, ty, tz are translation (location) values as you may know... That is my opinion, it is very easy to try change those values an see what it does in MLCAD/LeoCAD etc. ;) BTW I also corrected some bricks wrongly rotated by LDD export in ldraw.xml, absolutely no problem whatsoever Edited May 25, 2014 by bublible Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.